Claude Opus 4.8

anthropic/claude-opus-4-8

older Opus, still strong for agents and coding.

cmd --model claude-opus-4-8
Intelligence index
41.8
Coding index
74.3
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:
ModelIntelligenceCodingInput $/MOutput $/MBlended $/MContext
Claude Sonnet 5.556◆—$2$10$41M◆
Claude Fable 5.153.481.6◆$10$50$201M◆
Claude Fable 549.676.5$10$50$201M◆
Claude Opus 4.8 ◆41.874.3$5$25$101M◆
Claude Sonnet 538.271.5$2$10$41M◆
Claude Sonnet 4.630.163$3$15$61M◆
DeepSeek V4 Pro (latest)pinned3668.8$0.66$1.98$0.991M◆
DeepSeek V4 Flash (latest)pinned3469.1$0.15◆$0.60◆$0.26◆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
#15 of 52 scored
Terminal-Bench
84.6
#12 of 52 scored
Intelligence Index
41.8
#20 of 68 scored
Long-context reasoning
77.7
reasoning across a long context
SciCode
54.4
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
800
Output tokensmodel reply
180
Cache read tokensre-read context
50K
cost / 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
TaskTokens in · outClaude Opus 4.8Claude Opus 5.5Claude Haiku 4.5
Quick lookup / one-liner8K · 1K$0.03$0.02$0.0065
Review a 500-line PR60K · 4K$0.21$0.16$0.04
Fix a bug (agent loop)180K · 12K$0.59$0.45$0.12
Refactor a module320K · 20K$1.06$0.80$0.21
Full-repo agent run900K · 45K$2.47$1.83$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.3)commandcode.ai/models/claude-opus-4-8