Compare AI models
| Specifications | ||
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. | 1M | — |
| API pricingUSD per 1M tokens · lower wins | ||
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.10Azure | — |
Cheapest outputLowest output rate across every provider on OpenRouter, the lab included. May come from a different provider than the cheapest input. | $0.40Azure | — |
| $40.00Azure | — | |
| Benchmarks | ||
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. | 87% | 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. | 80.1% | 86.2% |
MathVistaMultimodal reasoning — mathematical reasoning about visual information | 56.2% | 68.1% |
MMMUMultimodal — Tests the AI on understanding images and text together across many college subjects. Higher is better. | 55.4% | 63.2% |
Aider Polyglot (diff)Coding — editing code in six languages using the diff edit format | 6.2% | — |
IFEvalAgentic tasks — following verifiable instructions in generated responses | 74.5% | — |
MATHReasoning — accuracy on the original competition mathematics test set | — | 73% |
MATH-500Reasoning — accuracy on the 500-problem MATH subset | 62.3% | — |
DROPReasoning — three-shot token F1 on questions requiring reasoning over paragraphs | 82.2 | — |
AIME 2024Reasoning — single-answer accuracy on the 2024 invitational mathematics exam without tools | 29.4% | — |
GPQA DiamondScience — Graduate-level science questions in biology, physics, and chemistry — hard enough that subject-matter PhDs score around 65%. Higher is better. | 50.3% | — |
SimpleQAKnowledge — accuracy on short, fact-seeking questions in the original SimpleQA set | 7.6% | — |
MMMLUKnowledge — average accuracy on multilingual translations of MMLU | 66.9% | — |
MMLU-ProKnowledge — accuracy on the ten-option MMLU-Pro benchmark | — | 72% |
MGSMMultilingual math — solving grade-school word problems translated into multiple languages | 73% | — |
CharXiv ReasoningChart reasoning — Can the AI read and reason about complex charts and figures, not just text? Higher is better. | 40.5% | — |
GraphWalks BFS (<128K)Long context — breadth-first traversal accuracy for inputs shorter than 128K tokens | 25% | — |
GraphWalks parents (<128K)Long context — parent-node retrieval accuracy for inputs shorter than 128K tokens | 9.4% | — |
OpenAI MRCR (2 needles) · 128KLong context — retrieval of two matching turns in the original MRCR evaluation | 36.6% | — |
OpenAI MRCR (2 needles) · 1MLong context — retrieval of two matching turns in the original MRCR evaluation | 12% | — |
| Overview | ||
| Company | OpenAI | SpaceXSI |
| Release date | Apr 14 2025 | Aug 13 2024 |
| Access | Closed | Closed |
| Model details | View model | View model |
Other comparisons
GPT-4.1 nanovsClaude Fable 5.2Grok‑2 minivsClaude Fable 5.2GPT-4.1 nanovsGemini 4 HydrogenGrok‑2 minivsGemini 4 HydrogenGPT-4.1 nanovsMuse EmberGrok‑2 minivsMuse EmberGPT-4.1 nanovsDeepSeek-V4.1-Flash-1017Grok‑2 minivsDeepSeek-V4.1-Flash-1017GPT-4.1 nanovsMistral Large 4Grok‑2 minivsMistral Large 4GPT-4.1 nanovsKimi K3.1 ProGrok‑2 minivsKimi K3.1 ProFrequently asked questions
Grok‑2 mini leads GPT-4.1 nano on 3 of the 4 benchmarks they both report (HumanEval, MMLU, MathVista, MMMU). Grok‑2 mini shipped 244 days before GPT-4.1 nano, so benchmark comparisons should account for the intervening progress.
Published specifications for these two models are limited — see each model page for the latest details.
On HumanEval, GPT-4.1 nano leads at 87% vs Grok‑2 mini at 85.7%. On MMLU, Grok‑2 mini leads at 86.2% vs GPT-4.1 nano at 80.1%. On MathVista, Grok‑2 mini leads at 68.1% vs GPT-4.1 nano at 56.2%. On MMMU, Grok‑2 mini leads at 63.2% vs GPT-4.1 nano at 55.4%.