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.7
Claude Sonnet 5

Anthropic

Grok 4.7

xAI

Pricing
Input $/1M$2.00$2.00
Output $/1M$10.00$6.00
Blended $/1M (3:1)$4.00$3.00
Cache read $/1M$0.20$0.50
Cache write $/1M$2.50—
Quality indices
Intelligence Index—35.5
Coding Index——
Math Index——
Agentic Index——
Speed & latency
Output speed (tok/s)——
Time to first token——
Time to first answer token——
Design Arena (Elo)
Website1,2651,241
Web apps1,215—
Full-stack1,223—
Mobile apps1,2011,244
Android native1,210—
UI components1,2641,275
Data viz1,2461,222
SVG1,1831,268
3D1,2321,244
Game dev1,2671,299
Agentic game dev1,170—
Godot game dev1,197—
HTML slides1,114—
Python→PPTX slides1,178—
Code categories1,2631,261
ASCII art1,189—
blender3d9541,163
codetovideo1,1161,109
pdf1,2151,193
spreadsheet1,0291,416
Specs
Context window1M500K
Max output tokens128K450K
Input modalitiestext, image, filetext, image, file
TokenizerClaudeGrok