Claude Opus 4.8 vs Gemini 3.1 Pro
Side-by-side comparison of API pricing, specs, benchmarks, and capabilities
| Specification |
by Anthropic
|
by Google
|
|---|---|---|
| Overview | ||
| Status | Current flagship | Current flagship |
| Released | May 28, 2026 | Feb 19, 2026 |
| Pricing per million tokens | ||
| Input | $5.00/Mtok | $2.00/Mtok |
| Output | $25.00/Mtok | $12.00/Mtok |
| Blended avg | $10.00/Mtok | $4.50/Mtok |
| Cached input | $0.500/Mtok | $0.200/Mtok |
| Specifications | ||
| Context window | 1M tokens | 2M tokens |
| Parameters | Proprietary | Proprietary |
| Speed (TPS) | — | — |
| Modalities | ||
| Input |
textimage
|
textimageaudiovideo
|
| Benchmarks source: Vellum LLM Leaderboard | ||
| Avg benchmark score | 81.3 | 74.8 |
| Perf / dollar | 8.1 | 16.6 |
| GPQA Diamond | 93.6 | 94.3 |
| Terminal-Bench 2.1 | 74.6 | 70.3 |
| MCP Atlas | 82.2 | 69.2 |
| OSWorld-Verified | 83.4 | 76.2 |
| Humanity's Last Exam | 57.9 | 44.4 |
| HumanEval | 88.6 | 80.6 |
| SWE-Bench Verified | 88.6 | — |
| BrowseComp | — | 85.9 |
| ARC-AGI 2 | — | 77.1 |
| AutoBench | 15.5 | — |
| Independent composite scores each on its own scale — not part of the average above | ||
| AA Intelligence Index | 57.3 | 47.7 |
| AA Agentic Index | 49.4 | 23 |
| AA-Omniscience Index (−100–100) | 28.8 | 31.9 |
| LMSYS Chatbot Arena | 1473.6 ELO | 1486.5 ELO |
| GDPval-AA v2 | 1588.3 ELO | — |
| Providers | ||
| Available from |
Anthropic — $5.00/$25.00/Mtok
|
Google — $2.00/$12.00/Mtok
|
Cost at scale
1M tokens · 50/50 input/output| Volume | Claude Opus 4.8 | Gemini 3.1 Pro | Savings |
|---|---|---|---|
| 1M tokens | $10 | $4.5 | $5.5 (55%) |
| 10M tokens | $100 | $45 | $55 (55%) |
| 100M tokens | $1000 | $450 | $550 (55%) |
| 1000M tokens | $10000 | $4500 | $5500 (55%) |
When to pick which
distilled from the pricing and spec data above- raw capability matters more than price: 81.3 vs 74.8 average benchmark score
- cost dominates: $4.50/Mtok blended vs $10.00 — 55% less on the same 50/50 token mix
- you need the longer context: 2M tokens vs 1M (2×)
The cheaper option here — Gemini 3.1 Pro costs $4.50/Mtok blended on Google.
Summary
Claude Opus 4.8 by Anthropic costs $5.00/Mtok input and $25.00/Mtok output, with a 1M-token context window. It supports text, image input.
Gemini 3.1 Pro by Google costs $2.00/Mtok input and $12.00/Mtok output, with a 2M-token context window. It supports text, image, audio, video input.
On a blended cost basis, Gemini 3.1 Pro is 55% cheaper than Claude Opus 4.8.It also has a larger context window.
On benchmarks, Claude Opus 4.8 scores higher (81.3 vs 74.8) on average. In terms of value, Gemini 3.1 Pro has better performance per dollar (16.6 vs 8.1).
Note: Pricing is per million tokens. Actual costs vary with usage patterns, prompt caching, and batch discounts. Always verify against official provider pricing pages.