Compare AI models
| Specifications | ||
ParametersThe learned values that shape how a model responds. B means billion and T means trillion. For mixture-of-experts models, the total count is larger than the number active for each token. Parameter count alone does not measure quality. | — | 355B |
Context windowHow much information the model can work with in one request, measured in tokens — pieces of words or other data. This includes your question, attachments, conversation and reply. Limits can vary by model variant and provider. | — | 200k |
| API pricingUSD per 1M tokens · lower wins | ||
Input priceWhat you pay for everything you send the model — your question, plus any documents or earlier conversation you include with it. | — | $0.60 |
Output priceWhat you pay for the text the model writes back. It is normally the dearer half: producing an answer costs more than reading one. | — | $2.20 |
Cached input priceA reduced rate for text you send over and over. If every request starts with the same instructions or the same document, the provider keeps a copy ready and charges less to read it again. | — | $0.11 |
Cheapest inputLowest input rate across every provider on OpenRouter, the lab included. The cheapest endpoint may run a quantised build or a shorter context — see "Available from" on the model page. | — | $0.32DeepInfra |
Cheapest outputLowest output rate across every provider on OpenRouter, the lab included. May come from a different provider than the cheapest input. | — | $1.40DeepInfra |
| — | $168DeepInfra · fp4 | |
| Benchmarks | ||
MMLU-ProKnowledge — accuracy on the ten-option MMLU-Pro benchmark | 72% | 84.3% |
SWE-Bench VerifiedCoding — Real coding tasks pulled from open-source projects — the AI has to find and fix actual bugs. A human-checked version of the original SWE-Bench. Higher is better. | — | 73.8% |
SWE-Bench MultilingualMultilingual coding — Like SWE-Bench, but the coding problems span many programming languages, not just one. Tests how broadly the AI can code. Higher is better. | — | 66.7% |
LiveCodeBenchCompetitive coding — Coding problems published so recently the AI can't have seen them in training — a contamination-free test of raw programming skill. Higher is better. | — | 84.9% |
HumanEvalFunction synthesis — 164 small Python problems: the AI is given a function's description and has to write the working function. This was the coding benchmark of the GPT-3.5 and GPT-4 era, before the field moved to fixing real bugs in real repositories. Higher is better. | 85.7% | — |
Terminal-Bench 2.0Agentic terminal coding — Can the AI work in a command-line terminal — running commands and finishing technical setup tasks the way a developer would? (Version 2.0 of the test.) Higher is better. | — | 41% |
BrowseCompWeb browsing — Can the AI browse the web and track down hard-to-find answers? Higher is better. | — | 52% |
Humanity's Last Exam · text only, no toolsMultidisciplinary reasoning — accuracy on the 2,158 text-only questions without tools | — | 24.8% |
Humanity's Last Exam · with toolsMultidisciplinary reasoning — Humanity's Last Exam — extremely hard expert questions across many subjects. “With tools” means the AI is allowed to search the web or run code while answering. Higher is better. | — | 42.8% |
MATHReasoning — accuracy on the original competition mathematics test set | 73% | — |
AIME 2025Reasoning — single-answer accuracy on the 2025 invitational mathematics exam without tools | — | 95.7% |
GPQA DiamondScience — Graduate-level science questions in biology, physics, and chemistry — hard enough that subject-matter PhDs score around 65%. Higher is better. | — | 85.7% |
MMLUGeneral knowledge — A 57-subject multiple-choice exam — history, law, medicine, maths — that was the standard measure of how much a model knows from 2020 until roughly 2024, when frontier scores crowded into the high 80s and labs moved on to harder tests. The scores here were published years apart under different testing setups, so read them as a historical record rather than a like-for-like ranking. Higher is better. | 86.2% | — |
MathVistaMultimodal reasoning — mathematical reasoning about visual information | 68.1% | — |
MMMUMultimodal — Tests the AI on understanding images and text together across many college subjects. Higher is better. | 63.2% | — |
| Overview | ||
| Company | SpaceXSI | Z.ai |
| Release date | Aug 13 2024 | Dec 22 2025 |
| Access | Closed | Open Weight |
| Model details | View model | View model |
Other comparisons
Grok‑2 minivsClaude Fable 5.2GLM-4.7vsClaude Fable 5.2Grok‑2 minivsGPT-6.2 AstraGLM-4.7vsGPT-6.2 AstraGrok‑2 minivsGemini 4 HydrogenGLM-4.7vsGemini 4 HydrogenGrok‑2 minivsMuse EmberGLM-4.7vsMuse EmberGrok‑2 minivsDeepSeek-V4.1-Flash-1017GLM-4.7vsDeepSeek-V4.1-Flash-1017Grok‑2 minivsMistral Large 4GLM-4.7vsMistral Large 4Frequently asked questions
GLM-4.7 leads Grok‑2 mini on 1 of the 1 benchmark they both report (MMLU-Pro). Only GLM-4.7 has a verified first-party price for an available API: $0.60 per million input tokens and $2.20 per million output tokens. No currently available pay-as-you-go API rate is tracked for Grok‑2 mini. Grok‑2 mini shipped 496 days before GLM-4.7, so benchmark comparisons should account for the intervening progress.
Grok‑2 mini is closed, while GLM-4.7 is open weight.
On MMLU-Pro, GLM-4.7 leads at 84.3% vs Grok‑2 mini at 72%.