Skip to content

Models / Anthropic

Claude Opus 5

Available

Claude Opus 5 is the first Opus model of Anthropic’s Claude 5 generation, released on 24 July 2026 for coding, knowledge work and agentic tasks.

Good for Coding agents · Hard reasoning · Long context · Images and screenshots

claude-opus-5Get API keyCompare

Is it right for you?

A newer model exists: Claude Opus 5.5 is now the current Opus model, and Anthropic lists Opus 5 as a legacy model. Opus 5 reads text and images, writes text, and Anthropic lists 1M tokens of context. Reasoning is on by default and can be turned off at lower effort levels. Pick it over 5.5 when you need its exact behaviour or its default effort.

Best for

  • Long Claude Code sessions on large codebases, where a large context lets the agent keep many files in view (on Yunshu, 195K tokens).
  • Multi-step refactors and hard bug hunts where Anthropic’s Opus tier is the right level.
  • Setups tuned on Opus 5 where its default effort of high matters: Opus 5.5 defaults to medium, so a request that sets no effort runs one level lower.

Not ideal for

  • New projects: Claude Opus 5.5 is the current Opus model.
  • Quick edits and renames at high effort: send a lower effort or turn thinking off to cut time and tokens.
  • High-volume batch jobs where a Sonnet-tier or smaller model does the job.

Next to the rest of the Anthropic line

ModelInputOutputContextPer session
Claude Fable 5$13.2864$66.4318195K$4.2251
Claude Fable 5.1$13.2864$66.4318195K$3.7468
Claude Opus 4.6$6.2003$31.0015195K$1.9717
Claude Opus 4.7$6.2003$31.0015195K$1.9717
Claude Opus 4.8$6.2003$31.0015195K$1.9717
Claude Opus 5 (this page)$6.2003$31.0015195K$1.9717

What it costs

Prepaid, per token, no subscription. Set your traffic to see your bill.

percent of input tokens
Estimated monthly spend
$2,180.03

30 days, at today's prices. You're billed on actual tokens.

Per request
$0.036334
Coding session
$1.97
Per day
$72.67
Suggested key budget
$2,510.00
Alert at 80%
$2,008.00

A coding session is 30 requests of 20,000 input tokens, 80% from cache, and 1,000 output tokens each: the same session as the "Per session" column above. Thinking tokens are billed as output, so reasoning raises the cost.

Cached input. When the provider serves part of a prompt from its cache, those tokens are billed at the cache-read price instead of the input price. Writing a prompt into the cache is billed at the cache-write price. Separately, an exact repeat of a recent request is answered from Yunshu’s own cache and not charged.

Capabilities

What Claude Opus 5 can do, as Anthropic lists it.

Get started

Create a key in the console, export it as YUNSHU_API_KEY, then use one of these.

curl https://api.yunshurouter.com/v1/chat/completions \
  -H "Authorization: Bearer $YUNSHU_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-opus-5",
    "messages": [{"role": "user", "content": "Write a Python function that checks if a string is a palindrome."}]
  }'

Full steps for each tool: integration guides →

Questions

What is Claude Opus 5?

Claude Opus 5 is the first Opus model in Anthropic’s Claude 5 generation, built for long-running coding, knowledge work and agentic tasks. It is now a legacy model. See the Anthropic page for the rest of the family.

Does Claude Opus 5 support tool calling?

Yes. Send tools in OpenAI format to /v1/chat/completions or in Anthropic format to /v1/messages. Through the Responses API (used by Codex) only function tools are passed through.

Does Claude Opus 5 support reasoning?

Yes. Reasoning is on by default, and you steer it with effort: low, medium, high, xhigh, max. Anthropic’s default is high. Anthropic lists that thinking can be turned off at high effort or below, but not at xhigh or max.

Is there a newer model than Claude Opus 5?

Yes. Anthropic’s current Opus model is Claude Opus 5.5. Anthropic lists the same context and output limits for both. Opus 5.5 keeps reasoning always on, defaults to medium effort instead of high, and has a later knowledge cutoff (June 2026 against May 2026). Anthropic lists a lower price for Opus 5.5; check Claude Opus 5.5 for ours. Still pick Claude Opus 5 if your prompts or evals are pinned to its behaviour, or if you need thinking turned off. Anthropic lists retirement for it not sooner than 24 July 2027.