All modelsxAI
Grok 4.20
2M context at frontier-cheap output pricing. Strong on raw math and HumanEval.
FrontierProprietary2M contextReleased Mar 2026textvisioncode
API price · per 1M tokens
$2/$6
input / output
≈ $3.00/M blended
Benchmarks
Bar shows this model's score; tick shows the best score across all tracked models for context.
SWE-bench VerifiedReal GitHub issues, human-verified patches. The standard coding-agent benchmark.
78.0/ best 90.1SWE-bench Pro2,294 harder real-world GitHub issues. Where the frontier separates now.
56.0/ best 69.2Terminal-Bench 2.xAgentic command-line workflows — planning, iteration, tool coordination.
67.0/ best 84.0GPQA DiamondGoogle-proof graduate-level science Q&A. General reasoning proxy.
74.5/ best 94.4MMLU-ProMulti-task language understanding across 120+ academic subjects.
80.0/ best 93.0HumanEval+Functional code generation from docstrings.
94.0/ best 96.0MATH-500Competition-style math problems.
96.5/ best 97.8Humanity's Last ExamHardest reasoning benchmark (with tools). ~50% = near frontier.
40.0/ best 57.9AIME 2025American Invitational Mathematics Examination.
91.7/ best 96.5