AiCostCompare

Compare models

Pick up to 4 models for a side-by-side spec sheet. Hover any dotted metric name for what the test measures. Best value in each row is highlighted.

Claude Sonnet 5Grok 4.20
Claude Sonnet 5

Anthropic

Grok 4.20

xAI

Pricing
Input $/1M$2.00$1.25
Output $/1M$10.00$2.50
Blended $/1M (3:1)$4.00$1.56
Cache read $/1M$0.20$0.20
Cache write $/1M$2.50
Quality indices
Intelligence Index53.437
Coding Index71.5
Math Index
Agentic Index46.7
Speed & latency
Output speed (tok/s)86230
Time to first token93.73s16.10s
Time to first answer token93.73s16.10s
Benchmarks (Artificial Analysis)
GPQA Diamond91.1%91.1%
Humanity's Last Exam39.6%32.2%
SciCode53.6%45.6%
IFBench81.2%
AA-LCR (Long Context Reasoning)70.7%58.0%
Terminal-Bench Hard37.9%
Terminal-Bench 2.180.5%
τ²-Bench (Telecom)93.0%
τ³-Bench Banking28.2%
Design Arena (Elo)
Website1,3141,255
Web apps1,3051,200
Full-stack1,2921,111
Mobile apps1,181
Android native1,2551,154
UI components1,3171,245
Data viz1,2811,241
SVG1,2391,211
3D1,3211,249
Game dev1,3451,255
Agentic game dev1,241
Godot game dev1,2571,089
HTML slides1,2331,180
Python→PPTX slides1,252
Code categories1,3121,252
ASCII art1,2301,219
Specs
Context window1M2M
Max output tokens128K
Input modalitiestext, image, filetext, image, file
TokenizerClaudeGrok