z-ai
// anthropic
Claude Opus 4.8
anthropic/claude-opus-4.8
Claude Opus 4.8 costs $5.00 per 1M input tokens and $25.00 per 1M output tokens with a 1M-token context window.
A reasoning, tool-calling model from anthropic, released May 27, 2026. On LiveBench it scores 76.2 overall — #22 of 55 benchmarked models — and ranks highest in coding (#9).
- Input / 1M
- $5.00
- Output / 1M
- $25.00
- Context
- 1M
- LiveBench overall
- 76.2 · #22
Specs and pricing
| Input price USD per 1M prompt tokens | $5.00 |
|---|---|
| Output price USD per 1M completion tokens, reasoning included | $25.00 |
| Blended price 3:1 input:output — #19 most expensive of 343 listed models | $10.00 |
| Cached input read Blank means not priced separately — not free | $0.500 |
| Cache write | $6.25 |
| Context window | 1,000,000 tokens |
| Max output | 128,000 tokens |
| Input modalities | text, image, file |
| Tool calling | Yes |
| Extended reasoning | Yes |
| Knowledge cutoff | — |
| Listed | May 27, 2026 |
Also listed as anthropic/claude-opus-4.8:batch ($5.00 blended)— the same model at a different price or rate limit.
Benchmarks by category
LiveBench scores out of 100, with Claude Opus 4.8's rank among the 55 benchmarked models listed here. Run: claude-opus-4-8-max-effort.
$0.3049 measured per point
What Claude Opus 4.8 costs to run
Monthly list cost across five workload shapes, using the published cached-input rate where there is one. A floor, not a quote — batch discounts and cache writes aren't included.
| Workload | Per month |
|---|---|
| Support chatbot 1.2K in / 400 out × 200K requests | $2,876/mo |
| RAG assistant 8K in / 600 out × 100K requests | $3,700/mo |
| Coding agent 40K in / 4K out × 20K requests | $3,480/mo |
| Document extraction 20K in / 1.5K out × 50K requests | $6,650/mo |
| Bulk classification 500 in / 20 out × 5M requests | $12,750/mo |
Compare Claude Opus 4.8 with
The benchmarked models closest to it on overall score.
anthropic
Claude Opus 4.8 vs Claude Sonnet 5
anthropic
Claude Opus 4.8 vs Claude Opus 4.7
Claude Opus 4.8 vs Gemini 3.8 Flash
x-ai
Claude Opus 4.8 vs SpaceXAI: Grok 4.5
deepseek
Claude Opus 4.8 vs DeepSeek V4 Flash Vision Exp
Claude Opus 4.8 FAQ
How much does Claude Opus 4.8 cost?
Claude Opus 4.8 lists at $5.00 per 1M input tokens and $25.00 per 1M output tokens, with cached input reads at $0.500 per 1M. A RAG assistant handling 100K requests a month (8K tokens in, 600 out) comes to about $3,700 at list price.
What is the context window of Claude Opus 4.8?
Claude Opus 4.8 accepts up to 1,000,000 tokens of context and can return up to 128,000 output tokens per response.
Does Claude Opus 4.8 support tool calling?
Yes — Claude Opus 4.8 supports tool (function) calling and exposes extended reasoning. It accepts text, image, file input.
How does Claude Opus 4.8 score on benchmarks?
On LiveBench release 2026-06-25 (run: claude-opus-4-8-max-effort), Claude Opus 4.8 scores 76.2 overall, ranking #22 of 55 benchmarked models.
What is the API model ID for Claude Opus 4.8?
On OpenRouter the model ID is "anthropic/claude-opus-4.8". It was listed on May 27, 2026.
More from anthropic
How these numbers are produced
- Price and specs — provider list data from OpenRouter, refreshed every 15 minutes. “Blended” is a 3:1 input:output mix.
- Scores and ranks — LiveBench release 2026-06-25. Ranks count only models that have a published run; a blank means “not evaluated”, never “bad”.
- Cost per point — the measured dollars LiveBench spent on the run, divided by the score it earned.
Published benchmarks rank models on someone else's tasks. Before committing, see LLM & agent evaluation for building an eval on your own.