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 (batch)
| Claude Sonnet 5 Anthropic | Gemini 3.1 Pro Preview (batch) | |
|---|---|---|
| Pricing | ||
| Input $/1M | $2.00 | $1.00 |
| Output $/1M | $10.00 | $6.00 |
| Blended $/1M (3:1) | $4.00 | $2.25 |
| Cache read $/1M | $0.20 | — |
| Cache write $/1M | $2.50 | — |
| Quality indices | ||
| Intelligence Index | — | — |
| Coding Index | — | — |
| Math Index | — | — |
| Agentic Index | — | — |
| Speed & latency | ||
| Output speed (tok/s) | — | — |
| Time to first token | — | — |
| Time to first answer token | — | — |
| Design Arena (Elo) | ||
| Website | 1,265 | 1,241 |
| Web apps | 1,215 | 1,099 |
| Full-stack | 1,223 | 1,040 |
| Mobile apps | 1,201 | 1,084 |
| Android native | 1,210 | 1,035 |
| UI components | 1,264 | 1,268 |
| Data viz | 1,246 | 1,234 |
| SVG | 1,183 | 1,275 |
| 3D | 1,232 | 1,209 |
| Game dev | 1,267 | 1,186 |
| Agentic game dev | 1,170 | 1,061 |
| Godot game dev | 1,197 | 1,136 |
| HTML slides | 1,114 | 1,050 |
| PPTX slides | — | 1,110 |
| Python→PPTX slides | 1,178 | 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,263 | 1,229 |
| ASCII art | 1,189 | 1,253 |
| blender3d | 954 | 1,037 |
| codetovideo | 1,116 | 1,126 |
| 1,215 | 1,096 | |
| spreadsheet | 1,029 | 914 |
| Specs | ||
| Context window | 1M | 1.05M |
| Max output tokens | 128K | 66K |
| Input modalities | text, image, file | audio, file, image, text, video |
| Tokenizer | Claude | Gemini |