Model comparison · updated 2026-07-28
Side-by-side pricing for1 million tokens
| Claude Opus 4.8 | Gemini 3.1 Pro | Verdict | |
|---|---|---|---|
| Provider | Anthropic | -- | |
| Context window | 1M | 1M | -- |
| Input / 1M tokens | $5 | $2 | Gemini 3.1 Pro is 2.5x cheaper |
| Output / 1M tokens | $25 | $12 | Gemini 3.1 Pro is 2.1x cheaper |
| Output:input ratio | 5x | 6x | -- |
| Tier | flagship | balanced | -- |
Gemini 3.1 Pro: Prices double for prompts above 200K tokens ($4 / $18).
Claude Opus 4.8
2,000,000 tokens
Gemini 3.1 Pro
5,000,000 tokens
Gemini 3.1 Pro gives you 2.5x more input for the same budget.
Claude Opus 4.8
400,000 tokens
Gemini 3.1 Pro
833,333 tokens
Gemini 3.1 Pro gives you 2.1x more output for the same budget.