Succeeded by Opus 5.5 on 2026-09-22

Claude Opus 5 Complete Guide

Same price and the same context window as Opus 4.8, so you can switch freely. The real difference is prompt caching: the threshold drops from 1,024 tokens to 512, which brings short system prompts and tool definitions into cache range.

#Opus 5 #claude-opus-5 #Agentic coding #Prompt caching #Long context #Drop-in switch
🟢
Live, and callable on every plan

Claude Opus 5 (claude-opus-5) has been available since 2026-07-24 at $5 input / $25 output per 1M tokens — the same list price as Opus 4.8. When it shipped, Anthropic described it as approaching Fable 5 quality at about half Fable price, as a Max default and a strong Pro option. As of 2026-09-29 the newest Opus from Anthropic is Claude Opus 5.5 (released 2026-09-22, $4 / $20, cache reads $0.20). Prefer official docs for capability claims.

The numbers

$5 / $25
Per million tokens

$5 in, $25 out — the same as Opus 4.8. QCode's Claude service rate is x1.0

1M
Input context

1M tokens, enabled explicitly with claude-opus-5[1m]

512
Prompt cache threshold

Cacheable from 512 tokens; Opus 4.8 needs 1024

128K
Max output

Up to 128K tokens in a single response

What actually differs from Opus 4.8

The short answer: price, context window and capability set are identical. The one substantive difference is the minimum length for prompt caching.

Price and window: identical

$5 in / $25 out per million tokens, $6.25 cache write and $0.50 cache read, 1M input and 128K output — line for line the same on both models. Switching therefore produces no billing surprises and needs no fresh cost modelling.

Prompt cache threshold: 512 vs 1024

This is the only substantive difference. Prompt caching has a minimum length, below which content is simply not cached. Opus 5's 512-token floor is half of Opus 4.8's 1,024 (4.7: 2,048) — official docs checked 2026-09-21.

claude-opus-5
512 tokens
claude-opus-4-8
1024 tokens

Cache pricing is the same on both ($6.25 write, $0.50 read per million tokens). What changes is only where the line sits for "long enough to be worth caching". Agentic workflows with a short system prompt, many tool definitions and dense turns are where this is most noticeable.

Capabilities: the same set

Vision input, function calling, PDF input, computer use and prompt caching are flagged identically on both models. Integration code written for Opus 4.8 needs no changes.

How to call it

Switch inside Claude Code

Use the /model command mid-session; no restart required.

/model claude-opus-5

Set it as the default via environment variable

Useful when you always want one model — put it in your shell profile to make it stick.

ANTHROPIC_MODEL=claude-opus-5 claude

Enable the 1M token context

The [1m] suffix is how you explicitly ask for the long context window.

/model claude-opus-5[1m]

Choosing across the Claude lineup

Official list prices per million tokens. QCode's Claude service rate is x1.0.

Model Input $/M Output $/M Context / output Best for
claude-opus-5 $5.00 $25.00 1M / 128K Succeeded by Opus 5.5 on 2026-09-22; the lower cache floor suits tool-heavy agentic work
claude-opus-4-8 $5.00 $25.00 1M / 128K Same price and window; still a row on the official price list
claude-fable-5 $10.00 $50.00 1M / 128K Priced above Opus, aimed at long-form and creative writing
claude-sonnet-5 $2.00 $10.00 1M / 128K The value pick for everyday coding
claude-haiku-4-5 $1.00 $5.00 200K / 64K Formatting, simple Q&A, bulk operations

Pricing comes from the LiteLLM model pricing database, the same live source as our models page. Full list on the models and pricing page

Frequently asked questions

Should I use Opus 5 or Opus 4.8?

They cost the same and share a context window, so neither choice is the expensive mistake. If your workflow has many tool definitions and relatively short turns, Opus 5's lower cache threshold may give you better cache hit rates; otherwise pick whichever you are used to. Opus 4.8 has not been retired and remains in service. There is a newer tier: as of 2026-09-29 the newest Opus from Anthropic is Opus 5.5 (released 2026-09-22, $4 / $20), and the official model overview recommends starting there.

Do I need code changes to migrate from Opus 4.8?

No. The capability flags (vision, function calling, PDF, computer use, prompt caching) are identical, so it is a matter of changing claude-opus-4-8 to claude-opus-5. Pricing is unchanged, so your cost estimates still hold.

Which model names are available?

Two: claude-opus-5 and claude-opus-5[1m], the latter to explicitly enable the 1M-token input window. Please use these names; date-suffixed variants are not part of the published set.

What does it cost, including caching?

$5 input and $25 output per million tokens; prompt cache writes are $6.25 and reads $0.50 per million. QCode's Claude service rate is x1.0, i.e. official list price. The models page carries the live figures.

What capabilities does it support?

Vision input, function calling, PDF input, computer use and prompt caching — the same set as Opus 4.8.

Does it need to be enabled separately?

No. Every plan can call every model listed here. Model access is identical across plans, with no unlock fee and no application.

Using Opus 5 on QCode

One key across clients

The same API key works in Claude Code and the OpenAI Codex CLI — no separate purchases.

Every model open

All plans can call all models. Access is not tiered by plan and there is no unlock fee.

Pricing from the official source

Per-token prices come from the LiteLLM pricing database and stay in sync; the Claude service rate is x1.0.

Direct access from mainland China

Usable directly on mainland networks, with no network workarounds needed on your side.

Try Claude Opus 5 now

One key across Claude, Codex and Chinese models. Activate a plan from $8.57/mo to start calling.

Try first, then decide

Not sure which tier? Start with Starter ($8.57/mo) and upgrade when you're happy — the unused value of the old plan goes back to your balance.