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 5Gemma 4 31B
Claude Sonnet 5

Anthropic

Gemma 4 31B

Google

Pricing
Input $/1M$2.00$0.09
Output $/1M$10.00$0.34
Blended $/1M (3:1)$4.00$0.152
Cache read $/1M$0.20$0.05
Cache write $/1M$2.50
Quality indices
Intelligence Index38.219
Coding Index71.543.4
Math Index
Agentic Index43.64.2
Speed & latency
Output speed (tok/s)8235
Time to first token118.14s0.94s
Time to first answer token118.14s50.15s
Benchmarks (Artificial Analysis)
GPQA Diamond91.1%85.7%
Humanity's Last Exam41.3%23.6%
SciCode54.3%45.5%
IFBench75.6%
AA-LCR (Long Context Reasoning)82.0%69.7%
Terminal-Bench Hard36.4%
Terminal-Bench 2.180.5%43.4%
τ²-Bench (Telecom)59.9%
τ³-Bench Banking37.3%14.8%
Design Arena (Elo)
Website1,288
Web apps1,260
Full-stack1,260
Mobile apps1,249
Android native1,240
UI components1,299
Data viz1,260
SVG1,212
3D1,289
Game dev1,313
Agentic game dev1,227
Godot game dev1,238
HTML slides1,220
Python→PPTX slides1,216
Code categories1,293
ASCII art1,226
Specs
Context window1M262K
Max output tokens128K16K
Input modalitiestext, image, fileimage, text, video
TokenizerClaudeGemma