by Anthropic

Claude Opus 4.8 pricing, limits and verdict

Anthropic's May 2026 flagship for agentic coding and long-context analysis, now a legacy release that Anthropic says new projects should skip in favor of its newest Opus.

Best for
Agentic coding and long-running engineering loops
Not for
New projects with no existing Opus 4.8 tuning
  • Available
  • Proprietary

Should you use Claude Opus 4.8?

Anthropic keeps Claude Opus 4.8 available but recommends its newer successor for fresh builds. Opus 4.8 is the older and dearer of the two, with a January 2026 knowledge cutoff against June 2026. Stay on it only for evals or prompts already tuned to it, and plan a move before it retires in 2027.

Best for

  • Agentic coding and long-running engineering loops Reports 69.2% on SWE-bench Pro, and Anthropic says it flags its own code flaws far more often than Opus 4.7.
  • Long-document analysis and research synthesis A million-token window at standard rates; cache reads bill at a fraction of the input rate.
Show 2 more
  • Reasoning-heavy workflows 93.6% on GPQA Diamond and 96.7% on USAMO 2026 in the launch table.
  • Teams with evals pinned to this version Retirement is still more than seven months away, so frozen prompts and regression suites keep working.

Not for

  • New projects with no existing Opus 4.8 tuning Anthropic recommends a newer Opus with lower per-token prices and a newer cutoff.
  • Real-time voice assistants No native audio input or output.
Show 2 more
  • On-device or air-gapped inference Proprietary, API-only weights.
  • Video understanding Input is text and images only.

Claude Opus 4.8 pricing

Input, per 1M tokens
$5.00/1M
Output, per 1M tokens
$25.00/1M
Cached input, per 1M tokens
$0.50/1M
Pricing model
per-token
Free tier
No

What a real job costs

JobInputOutputTotal
Summarise a 20-page PDF$0.150$0.025$0.175
Support reply$0.010$0.0075$0.018
One coding agent run$1.00$0.500$1.50

Budgets: 20-page PDF = 30k in / 1k out · Support reply = 2k in / 300 out · Coding agent run = 200k in / 20k out. Computed from the vendor's per-token prices at render time; cached-input discounts are not applied.

Standard rate: $5 in, $25 out, per million tokens, and long prompts cost the same per token. Prompt caching: 5-minute cache writes $6.25, 1-hour writes $10, cache reads $0.50 per million. Fast mode (research preview, request access through an Anthropic account manager): $10 input and $50 output, up to 2.5x output speed, not available with the Batch API. Batch API: 50% off, so $2.50 and $12.50. Figures confirmed on 2026-10-24 against the vendor's published rate card.

What Claude Opus 4.8 can do

Claude Opus 4.8 is Anthropic's May 2026 flagship model, now labelled a legacy release. It handles a million tokens of context and, per Anthropic's launch table, scores 88.6% on SWE-bench Verified. New projects should look at the newer Opus first; teams with pinned agentic coding evals can stay put.

What goes in and what comes out

Reads

  • text
  • image
  • pdf
  • tool-calls

Writes

  • text
  • tool-calls

Capabilities

  • Code executionSupported
  • Function callingSupported
  • Structured outputSupported
  • Tool useSupported
  • VisionSupported
  • Audio inputNot supported
  • Audio outputNot supported
  • Video inputNot supported
  • Web browsingNot supported
Reasoning modes
standard, adaptive-thinking
Long context recall
high

Key features

  • 1M Context Window

    A million tokens per request at standard per-token pricing on all four major platforms, with a larger 300K output beta available through the Batch API.

  • Adaptive Thinking

    Reasoning depth adjusts per request, with high as the default effort level and extra or max available for harder tasks.

  • Prompt Caching

    Cached reads cost a small share of the base input rate, which suits agent loops that resend a long static system prompt.

  • Fast Mode (research preview)

    Up to 2.5x higher output tokens per second at premium pricing, enabled with a beta header after contacting an Anthropic account manager.

  • Dynamic Workflows

    A Claude Code feature (Enterprise, Team and Max plans, research preview) that plans a task, runs hundreds of parallel subagents and verifies their output before reporting back.

Known limitations

  • Legacy model: Anthropic recommends its newer Opus, which lists lower per-token prices and a June 2026 cutoff.
  • Text and image input only, text output; no native audio or video.
  • Proprietary and API-only; no self-hosting, air-gapped deployment or weight fine-tuning.
  • Fast mode is a research preview that needs an Anthropic account manager to enable.
  • Launch benchmark figures are vendor-reported, and setup differences limit cross-model comparison.

Who it is for

  • Teams with agentic coding loops and evals already tuned to Opus 4.8.
  • Enterprise research teams analysing very long documents.
  • Developers who need a pinned Opus version supported into 2027.
  • Cost-aware teams comparing it against Opus 5.5 before migrating.

Supported languages

  • English
  • Spanish
  • French
  • German
  • Japanese
  • Chinese
  • Portuguese
  • Korean
  • Arabic

Claude Opus 4.8 benchmarks

Claude Opus 4.8 against its nearest rivals

SWE-bench Verified % solved, higher is better

GPQA Diamond % correct, higher is better

Where it sits

Pricier than 85% of the 111 GA models with a published price, in the top third on SWE-bench Verified (rank 5 of 39), and one of 42 that document a zero-data-retention option.

MeasureThis modelRankMedian
Blended price (3:1)$ per 1M tokens$10.00/M#92 / 111peer median $1.71/M
SWE-bench Verified% solved88.6%#5 / 39peer median 76.5%
GPQA Diamond% correct93.6%#9 / 62peer median 87.6%

Ranks are against GA models on Hokai that publish the same figure; ties share a rank.

Benchmark scores

Show all 7 benchmark scores
  • USAMO 2026 independent · 24 Oct 202696.7
  • GPQA Diamond independent · 24 Oct 202693.6%PhD-level science questions that are hard to search for, % correct.
  • SWE-bench Verified independent · 24 Oct 202688.6%Real GitHub issues fixed end to end, % solved.
  • OSWorld Verified independent · 24 Oct 202683.4%Tasks completed by operating a real desktop, % solved.
  • Terminal-Bench 2.1 independent · 24 Oct 202674.6%Multi-step tasks completed in a real command line, % solved.
  • SWE-bench Pro independent · 24 Oct 202669.2%Harder, longer real-repository coding tasks, % solved.
  • Humanity's Last Exam independent · 24 Oct 202649.8%Expert-written questions across many fields, % correct.

A benchmark is an exam, not the job. Scores transfer unevenly between tasks, so weigh the one closest to your workload and read every figure with its source.

Strengths and limits

Strengths

  • Posts 69.2% on SWE-bench Pro, the harder agentic coding test, in Anthropic's launch table.
  • Anthropic says it is around four times less likely than Opus 4.7 to let flaws in its own code pass unremarked, with a published system card.
  • Full 1M-token window at standard rates on all four major platforms.
  • Still supported, with a retirement date more than seven months away.
Show 3 more
  • Reports 88.6% on SWE-bench Verified in Anthropic's launch table (vendor-reported, mirrored by BenchLM).
  • A million-token window at standard rates on the Claude API, Bedrock, Google Cloud and Foundry.
  • Still supported, which suits teams with frozen evals.

Limits

  • Legacy status: Anthropic points new projects to a newer Opus.
  • Text and image input only; no native audio or video.
  • Proprietary weights and API-only access.
  • Fast mode needs an account manager and is still a research preview.
  • Launch benchmark figures are vendor-reported and depend on the test setup used.

Claude Opus 4.8 alternatives

ModelLabContextIn / out per 1MReads and writes
Claude Opus 4.8 This pageAnthropic1M$5 / $25text, image, pdf → text
Claude Opus 5.5Anthropic's recommended Opus model with lower per-token prices and a June 2026 cutoff; Opus 4.8 only wins for evals and prompts already pinned to it.Anthropic1M$4 / $20text, image, pdf → text
Claude Opus 4.7Opus 4.8 is the newer release at the same standard price, with higher launch scores on coding and honesty evals.Anthropic1M$5 / $25text, image, pdf → text
GPT-5.5Terminal-Bench 2.1 scores come from different test setups, so neither model has a clean lead; test both on your own agent loop.OpenAI1.1M$5 / $30text, image → text

Also compared

  • Gemini 3.1 ProBoth are served on Google Cloud, so the choice comes down to your own coding and reasoning evals rather than the platform.

Claude Opus 4.8 specs

Context window
1.0M tokens
Max output
128K tokens
Latency (P50)
850 ms
Latency (P99)
3200 ms
Tokens per second
78.5 tok/s
Rate limit (RPM)
4000
Rate limit (TPM)
400,000
Architecture
Transformer (details undisclosed)
Mixture of experts
No
Parameters
Not disclosed

Training data

Trained on a curated mix of public web text, licensed datasets, and synthetic reasoning traces. Constitutional AI alignment plus RLHF. No training on user API inputs by default.

API endpoints

NameEndpointAuth
Anthropic APIhttps://api.anthropic.com/v1/messagesAPI Key
AWS Bedrockhttps://docs.aws.amazon.com/bedrock/latest/userguide/model-card-anthropic-claude-opus-4-8.htmlAWS IAM
Google Vertex AIhttps://cloud.google.com/vertex-ai/docs/generative-ai/model-reference/claudeGCP IAM
Microsoft Foundryhttps://foundry.microsoft.com/Azure Identity

SDKs

  • Python
  • TypeScript
  • JavaScript
  • Java
  • Go
  • Ruby

Regions

  • us-east-1
  • us-west-2
  • eu-central-1
  • ap-northeast-1
  • eu-west-1

Prompting patterns

Show 2 prompting patterns
  • XML tags for structured input

    <context>...</context><task>...</task>

    Anthropic models follow XML consistently; XML nesting is more reliable than nested JSON in long prompts.

  • Adaptive thinking for calibrated reasoning

    Include thinking={type: 'adaptive'} in API request

    Lets the model choose reasoning depth per query; saves tokens on trivial queries, adds depth where needed.

Known quirks

  • Fast mode returns a 400 error without the beta header

    Workaround: Send the fast-mode-2026-02-01 beta header and ask your Anthropic account manager to enable research-preview access first.

  • Instructions that change mid-task can break the prompt cache if sent as user turns

    Workaround: Send them as system entries inside the messages array, which the Messages API now accepts without invalidating the cache.

Claude Opus 4.8 facts

Trains on your data
No
Licence
Proprietary (Anthropic Commercial Terms)
Safety posture
Balanced
Released
28 May 2026
Current version
claude-opus-4-8-20260528
Knowledge cutoff
01 Jan 2026
Family
Claude 4
Variant
Multimodal
Deployment
API · AWS Bedrock · Google Vertex AI · Microsoft Foundry
Data retention
Inputs and outputs retained 30 days for abuse monitoring; deleted unless flagged. Zero-retention option on enterprise plan. No training on API inputs by default.

Content restrictions

  • CSAM, weapons of mass destruction, malware code generation firmly refused.
  • System prompt configurable for enterprise tiers; default refusals on clear harms.
  • Improved honesty: 4x less likely than Opus 4.7 to miss flaws in reasoning or code.

Safety controls

Rlhf
Yes
System prompt
Yes
Constitutional AI
Yes
Content filter API
Yes
Moderation endpoint
Yes
Red teaming
Alignment assessment and pre-deployment safety tests published in the Claude Opus 4.8 system card (May 2026).

Data governance

Iso 27001
Yes
Soc2 type2
Yes
GDPR compliant
Yes
HIPAA eligible
Yes
Trains on inputs
No
Data residency options
us, eu
Eu AI act classification
general-purpose AI with systemic-risk obligations

Version history

  • claude-opus-4-8-20260528 · 28 May 2026

    Initial Opus 4.8 release with fast mode in research preview and Dynamic Workflows in Claude Code. Since superseded by Claude Opus 5.5 as Anthropic's recommended Opus model.

  • claude-opus-4-7-20260315 · 15 Mar 2026

    Predecessor flagship. Standard pricing carried over unchanged to Opus 4.8.

What changed

  • Release Opus 4.8 Launch: SWE-bench 88.6%, USAMO 96.7%, Dynamic Workflows (claude-opus-4-8-20260528) source

Questions about Claude Opus 4.8

How much does Claude Opus 4.8 cost per million tokens?

At normal speed Claude Opus 4.8 bills $5 for each million input tokens and $25 for each million output tokens, and cache reads cost $0.50. Fast mode, still a research preview, charges $10 and $50. Batch jobs that can wait up to a day get 50% off.

Is there a free way to use Claude Opus 4.8?

Claude Opus 4.8 has no free API tier: every call is billed per token through the Claude API, Amazon Bedrock, Google Cloud or Microsoft Foundry. Teams that want to cut spend can lean on prompt caching and the Batch API, or step down to a cheaper Claude 5.5 model.

Should I use Claude Opus 4.8 or move to Claude Opus 5.5?

Anthropic labels Opus 4.8 legacy and recommends Opus 5.5 for new work. The newer model charges less per token and knows about events up to June 2026, against January for Opus 4.8. Keep Opus 4.8 only when your evals or prompts are already tuned to it, and plan the move before its 2027 retirement.

How does Claude Opus 4.8 compare with GPT-5.5 on coding benchmarks?

Opus 4.8 scores 74.6% on Terminal-Bench 2.1 in Anthropic's launch table. Anthropic notes that GPT-5.5 reaches 83.4% on the same test using its own Codex CLI tooling, so the two numbers come from different setups. Run both models on your own agent loop before choosing.

Which model ID and platforms do I use for Claude Opus 4.8?

Use claude-opus-4-8 on the Claude API, anthropic.claude-opus-4-8 on Amazon Bedrock, and claude-opus-4-8 on Google Cloud, Microsoft Foundry and Claude Platform on AWS. Anthropic ships official SDKs, and each platform lists the full million-token window for this model.

About Claude Opus 4.8

Claude Opus 4.8 is the model Anthropic released on May 28, 2026 as its flagship, and it is now a legacy release. Anthropic's documentation keeps it available, with a retirement date no earlier than May 28, 2027, yet tells new projects to look at Claude Opus 5.5 first. Opus 4.8 followed Claude Opus 4.7 at an unchanged standard price and focused on agentic coding, honesty and long-running work. Weights are proprietary and the parameter count is not disclosed.

Read the full background

The launch table, as mirrored by the BenchLM aggregator, gives 88.6% on SWE-bench Verified, 69.2% on SWE-bench Pro, 74.6% on Terminal-Bench 2.1, 93.6% on GPQA Diamond, 96.7% on USAMO 2026 and 83.4% on OSWorld-Verified. Humanity's Last Exam reads 49.8% without tools and 57.9% with them. These are vendor-reported launch figures. Anthropic's own footnote says GPT-5.5 reaches 83.4% on Terminal-Bench 2.1 when run with its Codex CLI tooling, while Opus 4.8 was scored on the public Terminus-2 setup, so the headline gap depends on the test rig as much as the model.

A full million tokens fit in one request at ordinary per-token rates, whether you call it through Anthropic directly, Bedrock, Google Cloud or Microsoft Foundry. Anthropic's Foundry documentation lists the full 1M window for Opus 4.8 there too. Maximum output is 128K tokens, with a 300K beta on the Batch API. Input is text and images and output is text, so audio and video workflows need a separate model. The reliable knowledge cutoff is January 2026, five months behind the June 2026 cutoff of the Claude 5.5 models. Thinking is adaptive, with high as the default effort and extra or max available for harder jobs.

The honesty claim is the most distinctive one. Anthropic reports that Opus 4.8 is around four times less likely than its predecessor to let flaws in code it wrote pass unremarked, and it published a system card with the alignment assessment. Early testers quoted in the launch post, including the teams behind Devin, Databricks Genie, Hebbia and CoCounsel Legal, describe cleaner tool use and better flagging of weak inputs, though those are partner testimonials and not independent tests.

Who should not choose it: anyone starting a new build. Claude Opus 5.5 lists lower per-token prices and a newer cutoff, and Claude Fable 5.1 sits above it for the hardest reasoning. If latency or cost per call matters more than peak quality, Claude Sonnet 5.5 and Claude Haiku 5.5 are the cheaper steps down. Teams weighing other labs should test GPT-5.5 and Gemini 3.1 Pro on their own setup. The case for staying on Opus 4.8 is narrow but real: prompts and evals already tuned to it, a pinned version, and a retirement date still more than seven months out.

Sources and guides

More AI Models on Hokai

  • Amazon ErgoAmazon's open-weights model for coding agents: a 1M-token context window, text only, with weights on Hugging Face since December 2026.
  • GLM-5.4Z.ai's GLM-5.4 loops a 750B base twice, takes text, image and video in a 1M-token window, and is on the GLM Coding Plan before its API.
  • InfiX-V1InfiX-V1 is a 209B mixture-of-experts model with 14B active parameters and a 256K context window, released 1 December 2026 with an MIT base checkpoint.
  • Step 5StepFun's Step 5 reads text, images and video in a 1M-token window, is rated 40 by Artificial Analysis, and has been API only since 30 November 2026.
  • Kimi K2.8 PreviewMoonshot AI's Kimi Code model at the kimi-for-coding route since September 2026, with a 1M-token context window, image and video input and no published benchmark; Kimi K3.1 Pro is now Moonshot's top model.
  • Claude Sonnet 5.5Anthropic's fastest Sonnet-class model, launched in September 2026, with a 1M context and output more than 30% faster than Sonnet 5.