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

Anthropic

Gemma 3 4B

Google

Pricing
Input $/1M$2.00$0.05
Output $/1M$10.00$0.10
Blended $/1M (3:1)$4.00$0.063
Cache read $/1M$0.20
Cache write $/1M$2.50
Quality indices
Intelligence Index38.24.8
Coding Index71.52.7
Math Index12.7
Agentic Index43.6
Speed & latency
Output speed (tok/s)820
Time to first token118.14s0s
Time to first answer token118.14s0s
Benchmarks (Artificial Analysis)
MMLU-Pro41.7%
GPQA Diamond91.1%29.1%
Humanity's Last Exam41.3%5.3%
LiveCodeBench11.2%
SciCode54.3%
MATH-50076.6%
AIME6.3%
AIME 202512.7%
IFBench28.3%
AA-LCR (Long Context Reasoning)82.0%6.7%
Terminal-Bench Hard0.8%
Terminal-Bench 2.180.5%0.4%
τ²-Bench (Telecom)5.0%
τ³-Bench Banking37.3%0.4%
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 window1M131K
Max output tokens128K16K
Input modalitiestext, image, filetext, image
TokenizerClaudeGemini