Claude Opus 4.8
anthropic/claude-opus-4-8
prev flagship, still strong for agents and coding.
cmd --model claude-opus-4-8
Intelligence index
57.3
Output speed
not yet scored
Input
$5 /M
Output
$25 /M
Cache read
$0.50 /M
Agent-loop cost
$1.85 /M in
Context window
1M tokens
Released
May 28, 2026
Modalities
→
vs. the lineup
Claude Opus 4.8 beside its stablemates and nearest rivals. The ◆ marks the best value in each column across every row shown.
pin a rival:
| Model | Intelligence | Coding | Speed | Input $/M | Output $/M | Blended $/M | Context |
|---|---|---|---|---|---|---|---|
| Claude Opus 5 | 63.1◆ | 78◆ | 54.4◆ | $5◆ | $25◆ | $10◆ | 1M◆ |
| Claude Fable 5 | 62.1◆ | 76.5◆ | 67.5◆ | $10◆ | $50◆ | $20◆ | 1M◆ |
| Claude Opus 4.8 ◆ | 57.3◆ | 74.3◆ | —◆ | $5◆ | $25◆ | $10◆ | 1M◆ |
| Claude Sonnet 5 | 55.3◆ | 71.5◆ | 81.9◆ | $2◆ | $10◆ | $4◆ | 1M◆ |
| Claude Opus 4.7 | 55◆ | 73.6◆ | —◆ | $5◆ | $25◆ | $10◆ | 1M◆ |
| Claude Sonnet 4.6 | 48.4◆ | 63◆ | —◆ | $3◆ | $15◆ | $6◆ | 1M◆ |
| DeepSeek V4 Pro (latest)pinned | 53.2◆ | 68.8◆ | 75.3◆ | $0.66◆ | $1.98◆ | $0.99◆ | 1M◆ |
| DeepSeek V4 Flash (latest)pinned | 52◆ | 69.1◆ | 114.6◆ | $0.22◆ | $0.66◆ | $0.33◆ | 1M◆ |
coding performance
The Intelligence Index and its sub-scores, ranked against every scored model in the catalog. A metric that has not been measured for Claude Opus 4.8 has been left empty.
Coding Index
74.3
#10 of 45 scored
Terminal-Bench
84.6
#8 of 45 scored
Intelligence Index
57.3
#8 of 51 scored
Long-context reasoning
73
reasoning across a long context
SciCode
53.5
scientific coding
GPQA Diamond
92
graduate-level QA
usage calculator
How far a month of credits goes on Claude Opus 4.8.
Claude Opus 4.8 runs on Max and up — from $100/mo.
Input tokensfresh prompt
800Output tokensmodel reply
180Cache read tokensre-read context
50Kcost / request $0.034 · in $5 · out $25 · cache $0.50 per M
fresh input 12%output 13%cache reads 75%
Requests / 30 days
3.0K
$100 credits ÷ $0.034 per request
~597 quick fixes~119 bug fixes~20 feature PRs
what real work costs
Real coding tasks priced end to end on Claude Opus 4.8, from a quick lookup to a full-repo agent run.
One agent task
$0.59
180K in at 75% cache hit, 12K out
What you pay
$3.09 /M
all-in across every token that task touched
Sticker input
$5 /M
cache reads bill at $0.50 /M instead
| Task | Tokens in · out | Claude Opus 4.8 | Grok 4.6 | Claude Haiku 4.5 |
|---|---|---|---|---|
| Quick lookup / one-liner | 8K · 1K | $0.03 | $0.01 | $0.0065 |
| Review a 500-line PR | 60K · 4K | $0.21 | $0.08 | $0.04 |
| Fix a bug (agent loop) | 180K · 12K | $0.59 | $0.23 | $0.12 |
| Refactor a module | 320K · 20K | $1.06 | $0.41 | $0.21 |
| Full-repo agent run | 900K · 45K | $2.47 | $1.02 | $0.49 |
frequently asked
How much does Claude Opus 4.8 cost?
$5/M input and $25/M output, cache reads $0.50/M. In an agent loop most input is cache-read, so the effective input rate is about $1.85/M.Which plan do I need?
Available on Max and above.
How do I switch to it?
Run
cmd --model claude-opus-4-8, or type /model in a session and pick it. You can switch mid-session without losing context.Ship code that matches your taste
Command Code is the AI coding agent that continuously learns your taste. Start for $1.
Benchmarks from Artificial Analysis (v4.1)commandcode.ai/models/claude-opus-4-8