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 5Gemini 3.1 Pro Preview
Claude Sonnet 5

Anthropic

Gemini 3.1 Pro Preview

Google

Pricing
Input $/1M$2.00$2.00
Output $/1M$10.00$12.00
Blended $/1M (3:1)$4.00$4.50
Cache read $/1M$0.20$0.20
Cache write $/1M$2.50$0.375
Quality indices
Intelligence Index38.229.7
Coding Index71.568.8
Math Index
Agentic Index43.68.2
Speed & latency
Output speed (tok/s)82132
Time to first token118.14s24.64s
Time to first answer token118.14s24.64s
Benchmarks (Artificial Analysis)
GPQA Diamond91.1%94.1%
Humanity's Last Exam41.3%47.0%
SciCode54.3%58.7%
IFBench77.1%
AA-LCR (Long Context Reasoning)82.0%82.0%
Terminal-Bench Hard53.8%
Terminal-Bench 2.180.5%73.8%
τ²-Bench (Telecom)95.6%
τ³-Bench Banking37.3%21.4%
Design Arena (Elo)
Website1,2881,265
Web apps1,2601,141
Full-stack1,2601,078
Mobile apps1,2491,121
Android native1,2401,063
UI components1,2991,295
Data viz1,2601,254
SVG1,2121,309
3D1,2891,263
Game dev1,3131,226
Agentic game dev1,2271,114
Godot game dev1,2381,236
HTML slides1,2201,155
PPTX slides1,110
Python→PPTX slides1,2161,109
Agentic slides1,112
Agentic HTML slides1,226
Agentic slides (HTML)1,219
Agentic slides (Python PPTX)1,107
Code categories1,2931,259
ASCII art1,2261,289
Specs
Context window1M1.05M
Max output tokens128K66K
Input modalitiestext, image, fileaudio, file, image, text, video
TokenizerClaudeGemini