# Claude Opus 4.8 vs Claude Opus 5

As of November 10, 2026, Claude Opus 4.8 and Claude Opus 5 cost the same: $5.00 per 1M input tokens and $25.00 per 1M output tokens, and both have a 1M-token context window.

- Page: https://models.litellm.ai/compare/claude-opus-4-8-vs-claude-opus-5
- Claude Opus 4.8: https://models.litellm.ai/models/claude-opus-4-8
- Claude Opus 5: https://models.litellm.ai/models/claude-opus-5

## Side by side

| | Claude Opus 4.8 | Claude Opus 5 |
|---|---|---|
| Input, per 1M tokens | $5.00 | $5.00 |
| Output, per 1M tokens | $25.00 | $25.00 |
| Cache read, per 1M tokens | $0.50 | $0.50 |
| Cache write, per 1M tokens | $6.25 | $6.25 |
| Context window | 1,000,000 tokens | 1,000,000 tokens |
| Max output | 128,000 tokens | 128,000 tokens |
| Image input | Yes | Yes |
| Tool calling | Yes | Yes |
| Structured output (JSON) | Yes | Yes |
| Prompt caching | Yes | Yes |
| Reasoning | Yes | Yes |
| Providers on LiteLLM | 8 | 10 |
| Price shown is from | Anthropic | Anthropic |
| Added to LiteLLM | June 2026 | July 24, 2026 |

Headline prices in USD per 1M tokens, from LiteLLM's model price file.

## Cheapest provider for each

- Claude Opus 4.8: Anthropic at $5.00 input per 1M tokens (`claude-opus-4-8`)
- Claude Opus 5: Anthropic at $5.00 input per 1M tokens (`claude-opus-5`)

## Benchmark scores

| Benchmark | Claude Opus 4.8 | Claude Opus 5 |
|---|---|---|
| Epoch Capabilities Index (Overall) | 159.9 | 164.5 |
| FrontierCode (Coding and agents) | 46.5% | 53.4% (max) |
| APEX-Agents (Coding and agents) | 48.9% (max) | 65.8% (max) |
| OSWorld 2.0 (Coding and agents) | 20.6% (max) | 31.4% (max) |
| GPQA Diamond (Reasoning and knowledge) | 91.0% (max) | 93.9% (max) |
| ARC-AGI-2 (Reasoning and knowledge) | 72.1% (high) | 90.4% (max) |
| SimpleQA Verified (Reasoning and knowledge) | 53.0% (max) | 59.9% (max) |
| FrontierMath (tiers 1-3) (Math) | 80.0% (max) | 85.6% (max) |
| FrontierMath (tier 4) (Math) | 56.1% (max) | 73.2% (max) |
| OTIS Mock AIME 2024-2025 (Math) | 98.3% (max) | 98.9% (max) |

From the Epoch AI Benchmarking Hub (https://epoch.ai/benchmarks), CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/), data as of August 27, 2026: Epoch's own runs and results it collects from each benchmark's leaderboard. Higher is better.

## FAQ

### Which is cheaper, Claude Opus 4.8 or Claude Opus 5?

They cost the same: $5.00 per 1M input tokens and $25.00 per 1M output tokens, as of November 10, 2026.

### Which has the larger context window, Claude Opus 4.8 or Claude Opus 5?

Both have a 1,000,000-token context window.

### Can I switch from Claude Opus 4.8 to Claude Opus 5 without changing my code?

Yes. Through LiteLLM both use the OpenAI format, so switching means changing the model name from "claude-opus-4-8" to "claude-opus-5", or pointing a LiteLLM gateway model alias at the other model. You can also use one as a fallback for the other.
