SPB Git

Repository Public

overview.md 11.8 KB


# title: Claude Opus 4.8 url: https://platform.claude.com/docs/en/models/opus-4-8/overview description: "Claude Opus 4.8 reference: lifecycle status, model IDs on every platform, context window, output limits, pricing, and migration resources. Claude Opus 4.8 is a legacy model; Claude Opus 5 is the current Opus model."

Legacy. Released May 28, 2026.

Although Claude Opus 4.8 is still available, you should consider migrating to Claude Opus 5 for improved performance. See Claude Opus 5 · Migrate to Claude Opus 5

Model ID: claude-opus-4-8

Context window: 1M tokens · Max output: 128K tokens · Input pricing: $5 / MTok · Output pricing: $25 / MTok

# How it compares to the current lineup

Model Context Max output Price / MTok Thinking Default effort Knowledge cutoff
Claude Fable 5.1 1M 128K $10 / $50 Adaptive (always on) high Jun 2026
Claude Opus 5 1M 128K $5 / $25 Adaptive high May 2026
Claude Opus 4.8 (this model) 1M 128K $5 / $25 Adaptive high Jan 2026
Claude Sonnet 5 1M 128K $2 / $10 Adaptive high Jan 2026
Claude Haiku 4.5 200K 64K $1 / $5 Extended — Feb 2025
  • Context: 1M tokens is roughly 555k words or 2.5M Unicode characters on the current tokenizer (introduced with Claude Opus 4.7); models before it fit about 750k words in 1M tokens. 200k tokens is roughly 150k words.
  • Max output: Synchronous Messages API limit. On the Message Batches API, Claude Opus 5, Claude Sonnet 5, Claude Opus 4.8, Claude Opus 4.7, Claude Opus 4.6, and Claude Sonnet 4.6 support up to 300k output tokens with the output-300k-2026-03-24 beta header.
  • Price / MTok: Input / output, base price per million tokens. Batch API requests are 50% off; prompt caching reads cost 10% of the base input price (2.5% on Claude Fable 5.1 and Claude Mythos 5.1). See Pricing for the full list.
  • Thinking: Adaptive thinking lets the model decide how much to think, steered by effort. Extended thinking is the manual budget_tokens mode on earlier models.
  • Default effort: The effort parameter’s default on the Claude API. Models without a value don’t support the parameter.
  • Knowledge cutoff: Reliable knowledge cutoff: the date through which the model’s knowledge is most extensive and reliable.

# Specifications

# Model IDs

Platform Model ID
Claude API claude-opus-4-8
Amazon Bedrock anthropic.claude-opus-4-8
Google Cloud claude-opus-4-8
Microsoft Foundry claude-opus-4-8
Claude Platform on AWS claude-opus-4-8

# Pricing

Feature Value
Input $5 / MTok
Output $25 / MTok
5m cache write $6.25 / MTok
1h cache write $10 / MTok
Cache read $0.50 / MTok
Batch API 50% discount on input and output
Full price list Pricing

# Capabilities

Feature Value
Context window 1M tokens
Max output 128K tokens
Max output (Batch API, beta) 300K tokens
Thinking Adaptive
Default effort high
Input → output Text and images → text
Reliable knowledge cutoff Jan 2026
Training data cutoff Jan 2026

# Availability

Feature Value
Status Active (legacy)
Released May 28, 2026
Retirement Not sooner than May 28, 2027
Platforms Claude API, Amazon Bedrock, Google Cloud, Microsoft Foundry, Claude Platform on AWS

# Resources

What changes when moving from Claude Opus 4.8 to Claude Opus 5. The current Opus model: overview, specs, and resources. Model-specific prompting guidance.

# Reference

The system prompt Claude Opus 4.8 uses on claude.ai and the Claude apps. Safety evaluations and deployment decisions for Claude Opus 4.8. Full price list, including batch discounts and prompt caching rates. How model IDs, aliases, and pinned snapshots work. Lifecycle status and retirement commitments for every Claude model.
Files main
Menu

Theme