Gemini 3.1 Pro Preview is 2.1× cheaper per million tokens (blended). Claude Opus 4.8 leads quality index by 5.1 points (86.9 vs 81.8). Gemini 3.1 Pro Preview has the larger context window (1,048,576 vs 1,000,000 tokens).
Claude Opus 4.8 vs Gemini 3.1 Pro Preview
Live catalog fields. Best-in-row is highlighted.
Claude Opus 4.8
Anthropic · anthropic__claude-opus-4.8
Gemini 3.1 Pro Preview
Google · google__gemini-3.1-pro-preview
Identity
| Field | anthropic__claude-opus-4.8 | google__gemini-3.1-pro-preview |
|---|---|---|
| Provider | Anthropic | |
| Slug | anthropic__claude-opus-4.8 | google__gemini-3.1-pro-preview |
| Status | live | live |
| Open weights | No | No |
| License | — | — |
| HuggingFace | — | — |
Quality
| Field | anthropic__claude-opus-4.8 | google__gemini-3.1-pro-preview |
|---|---|---|
| Quality index (0–100) | 86.9 | 81.8 |
Cost
| Field | anthropic__claude-opus-4.8 | google__gemini-3.1-pro-preview |
|---|---|---|
| Input $ / 1M tokens | $5.00 | $2.00 |
| Cached input $ / 1M | $0.50 | $0.20 |
| Output $ / 1M tokens | $25.00 | $12.00 |
Context
| Field | anthropic__claude-opus-4.8 | google__gemini-3.1-pro-preview |
|---|---|---|
| Max context tokens | 1,000,000 | 1,048,576 |
| Max output tokens | 128,000 | 65,536 |
Modalities
| Field | anthropic__claude-opus-4.8 | google__gemini-3.1-pro-preview |
|---|---|---|
| Input | text, image, file | audio, file, image, text, video |
| Output | text | text |