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 | |
|---|---|---|
| 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 Index | 53.4 | 46.5 |
| Coding Index | 71.5 | 68.8 |
| Math Index | — | — |
| Agentic Index | 46.7 | 21.4 |
| Speed & latency | ||
| Output speed (tok/s) | 86 | 135 |
| Time to first token | 93.73s | 19.70s |
| Time to first answer token | 93.73s | 19.70s |
| Benchmarks (Artificial Analysis) | ||
| GPQA Diamond | 91.1% | 94.1% |
| Humanity's Last Exam | 39.6% | 44.7% |
| SciCode | 53.6% | 58.9% |
| IFBench | — | 77.1% |
| AA-LCR (Long Context Reasoning) | 70.7% | 72.7% |
| Terminal-Bench Hard | — | 53.8% |
| Terminal-Bench 2.1 | 80.5% | 73.8% |
| τ²-Bench (Telecom) | — | 95.6% |
| τ³-Bench Banking | 28.2% | 16.5% |
| Design Arena (Elo) | ||
| Website | 1,314 | 1,278 |
| Web apps | 1,305 | 1,182 |
| Full-stack | 1,292 | 1,127 |
| Mobile apps | — | 1,167 |
| Android native | 1,255 | 1,038 |
| UI components | 1,317 | 1,309 |
| Data viz | 1,281 | 1,262 |
| SVG | 1,239 | 1,334 |
| 3D | 1,321 | 1,291 |
| Game dev | 1,345 | 1,258 |
| Agentic game dev | 1,241 | 1,128 |
| Godot game dev | 1,257 | 1,159 |
| HTML slides | 1,233 | 1,202 |
| PPTX slides | — | 1,110 |
| Python→PPTX slides | 1,252 | 1,109 |
| Agentic slides | — | 1,112 |
| Agentic HTML slides | — | 1,226 |
| Agentic slides (HTML) | — | 1,219 |
| Agentic slides (Python PPTX) | — | 1,107 |
| Code categories | 1,312 | 1,274 |
| ASCII art | 1,230 | 1,312 |
| Specs | ||
| Context window | 1M | 1.05M |
| Max output tokens | 128K | 66K |
| Input modalities | text, image, file | audio, file, image, text, video |
| Tokenizer | Claude | Gemini |