Claude Opus 4.8 vs Gemini 3.1 Pro Preview
API pricing, context window and capabilities for Claude Opus 4.8 and Gemini 3.1 Pro Preview, side by side. Prices are the cheapest listed serving route per 1M tokens, from LiteLLM and OpenRouter.
Verdict
computed from the published numbersGemini 3.1 Pro Preview wins on price.
Artificial Analysis scores last refreshed Nov 13, 2026.
Artificial Analysis scores last refreshed Oct 26, 2026.
Price
Gemini 3.1 Pro Preview
Terminal-Bench
Not called
Intelligence
Not called
Context window
Tied
Key takeaways
who wins on what, from the published numbersClaude Opus 4.8 wins
- Higher max output (1M vs 66K)
- More serving providers (11 vs 7)
Gemini 3.1 Pro Preview wins
- Cheaper input ($5.00 vs $2.00 /1M)
- Cheaper output ($25.00 vs $12.00 /1M)
- Supports audio
Cheaper overall
Gemini 3.1 Pro Preview
$2.00 + $12.00 /1M
Larger context
Tied
More providers
Claude Opus 4.8
11 providers
Pricing & specs
cheapest listed route · per 1M tokensOn-demand listed rates, OpenRouter routed quotes and Vercel reseller quotes. Enterprise commitments can be materially lower.
| Claude Opus 4.8 | Gemini 3.1 Pro Preview | |
|---|---|---|
| Input $/1M | $5.00via Anthropic | $2.00via Google best |
| Output $/1M | $25.00via Anthropic | $12.00via Google best |
| Context window | 1M | 1M |
| Max output | 1M best | 66K |
| Serving providers | 11 best | 7 |
| Date | Released May 28, 2026 | Released Feb 19, 2026 |
Benchmarks
Benchmark scores, side by side| Claude Opus 4.8 | Gemini 3.1 Pro Preview | |
|---|---|---|
| Intelligence | 41.8 | 29.7 |
| Terminal-Bench | 85% | 74% |
| GPQA Diamond | 92% | 94% |
Cost calculator
choose a serving route for each sideInput tokens / month
Output tokens / month
Claude Opus 4.8
via Vercel
$50
Gemini 3.1 Pro Preview
via Vercel
$22
Capabilities
feature support, side by side| Feature | Claude Opus 4.8 | Gemini 3.1 Pro Preview |
|---|---|---|
| Vision | ✓ | ✓ |
| Tool use | ✓ | ✓ |
| Reasoning | ✓ | ✓ |
| Audio | — | ✓ |
| Prompt caching | ✓ | ✓ |
| Structured output | ✓ | ✓ |
| Web search | ✓ | ✓ |
Related comparisons
Frequently asked questions
Which is cheaper, Claude Opus 4.8 or Gemini 3.1 Pro Preview?
Gemini 3.1 Pro Preview is cheaper for input ($5.00 vs $2.00 per 1M tokens) from Google. Gemini 3.1 Pro Preview is cheaper for output ($25.00 vs $12.00 per 1M tokens) from Google.
What is the context window difference between Claude Opus 4.8 and Gemini 3.1 Pro Preview?
Both Claude Opus 4.8 and Gemini 3.1 Pro Preview have about a 1M-token context window.
Listed prices from LiteLLM, OpenRouter and Vercel · last checked Nov 28, 2026
Every weekday
AI moves fast. Here's your debrief.
News, analysis, tools, and more.
For people who build with AI