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:
ModelIntelligenceCodingSpeedInput $/MOutput $/MBlended $/MContext
Claude Opus 563.17854.4$5$25$101M
Claude Fable 562.176.567.5$10$50$201M
Claude Opus 4.857.374.3$5$25$101M
Claude Sonnet 555.371.581.9$2$10$41M
Claude Opus 4.75573.6$5$25$101M
Claude Sonnet 4.648.463$3$15$61M
DeepSeek V4 Pro (latest)pinned53.268.875.3$0.66$1.98$0.991M
DeepSeek V4 Flash (latest)pinned5269.1114.6$0.22$0.66$0.331M

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
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.8Grok 4.6Claude Haiku 4.5
Quick lookup / one-liner8K · 1K$0.03$0.01$0.0065
Review a 500-line PR60K · 4K$0.21$0.08$0.04
Fix a bug (agent loop)180K · 12K$0.59$0.23$0.12
Refactor a module320K · 20K$1.06$0.41$0.21
Full-repo agent run900K · 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