Skip to content

Models / Anthropic

Claude Sonnet 4.5

Available

Claude Sonnet 4.5 is a Sonnet model that Anthropic released on 29 September 2025 for coding, agents, computer use, reasoning and math.

Good for Coding agents · Images and screenshots

claude-sonnet-4-5Get API keyCompare

Is it right for you?

Anthropic has deprecated it and lists retirement on 30 November 2026, so do not start new work on it. Newer models exist: Claude Sonnet 4.6, Claude Sonnet 5 and Anthropic’s current Sonnet, Claude Sonnet 5.5, which Yunshu Router does not offer. It reads text and images, writes text, and Anthropic lists 200K tokens of context and 64K tokens of output. Use it only to keep an existing setup running until you move.

Best for

  • Keeping an existing integration or eval suite running until you migrate.
  • Short and medium coding tasks that fit in 200K tokens.
  • Comparing results against a newer model before you switch.

Not ideal for

  • New projects: Anthropic has deprecated this model and lists retirement on 30 November 2026.
  • Very large codebases or long outputs: the limits are 200K tokens of context and 64K tokens of output.
  • Effort control and adaptive thinking: Anthropic lists neither for this model.

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$6.2003$31.0015195K$1.9717

What it costs

Prepaid, per token, no subscription.

Our price for this model is coming soon. Every model is billed per token from your prepaid balance.

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 Sonnet 4.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-sonnet-4-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 Sonnet 4.5?

Claude Sonnet 4.5 is a Sonnet model from Anthropic for coding, agents and computer use. Anthropic has deprecated it. See the Anthropic page for the rest of the family.

Does Claude Sonnet 4.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 Sonnet 4.5 support reasoning?

Yes, as manual extended thinking: you turn it on and set a token budget. Anthropic lists that thinking is off unless you set it.

Is there a newer model than Claude Sonnet 4.5?

Yes. Anthropic deprecated Sonnet 4.5 and lists retirement on 30 November 2026. Claude Sonnet 4.6 and Claude Sonnet 5 came after it, and Anthropic’s current Sonnet is Claude Sonnet 5.5, which Yunshu Router does not offer. Both Sonnet pages here list 1M tokens of context and 128K tokens of output, against 200K and 64K for Sonnet 4.5. Pick Claude Sonnet 4.5 only to keep an existing setup stable until the retirement date.