Sonnet 5
Anthropic's most capable Sonnet-class model, with frontier performance across coding, agents, and professional work.
Claude models work only with Anthropic’s official tools and xKCode
Claude models on xKiro accept requests only from Anthropic’s official tools — Claude Code (in the terminal or your IDE), Claude Desktop and Cowork — and from xKCode, xKiro’s coding app, when you sign in to it with your xKiro account. Third-party tools (such as OpenCode, Cline, Roo Code, Kilo Code, Cursor or Codex), xKiro chat and direct API calls from your own code are not supported and return an error. Every other model on xKiro works with any tool or SDK, including xKiro chat.
Model ID
anthropic/claude-sonnet-5- Context window
- 1M
- tokens
- Max output
- 128K
- tokens
- Input
- $2
- per 1M tokens
- Output
- $10
- per 1M tokens
Cache read $0.2 · Cache write $2.50
Quickstart
Call Sonnet 5 in one request.
Claude models run only in Anthropic’s official tools and xKCode. Point Claude Code at xKiro once and select this model — or sign in to xKCode with your xKiro account.
SDK guides{ "env": { "ANTHROPIC_BASE_URL": "https://api.xkiro.com", "ANTHROPIC_AUTH_TOKEN": "sk-xt-...", "ANTHROPIC_MODEL": "" }}claude Claude Code now sends its requests to anthropic/claude-sonnet-5 through xKiro.
Create an API key in the dashboard and paste it into ANTHROPIC_AUTH_TOKEN. xKCode needs no key to paste — signing in with xKiro sets it up.
Pricing
What Sonnet 5 costs.
Billed per million tokens at these rates, from your plan’s budget or your wallet.
$2
Input
per 1M tokens
$10
Output
per 1M tokens
$0.2
Cache read
per 1M tokens
$2.50
Cache write
per 1M tokens
On a plan
From $0.067 / $0.34 on a plan
Plan: up to −96%
Usage on a plan comes out of your allowance, so Sonnet 5 costs from $0.067 / $0.34 per 1M tokens when you use the whole allowance — up to 96% less than pay-as-you-go.
Compare plans →Anthropic's own API lists Sonnet 5 at $2 / $10 per 1M tokens.
On a plan: up to 96% less than the official API.
Pay as you go here costs the same as the official API.
Anthropic pricing page (lowest tier), checked Oct 21, 2026Billed fairly
- A request that fails before any output is generated is never billed
- An identical blocking request retried within two minutes replays the first result — no double charge
- If a stream breaks off or you cancel it, you pay only up to that point
Specifications
Limits and capabilities.
- Context window
- 1,000,000 tokens
- Max output
- 128,000 tokens
- Input
- Text · Image
- Output
- Text
- Provider
- Anthropic
- Model ID
- anthropic/claude-sonnet-5
- Good for
- Coding · Long context
Capabilities
- Tool useSupported
- VisionSupported
- Video inputNot supported
- ReasoningSupported
Reasoning effort
- low
- medium
- high
- xhigh
- max
Set it with reasoning_effort in the OpenAI format, or thinking in the Anthropic format.
Supported parameters
- max_tokens
- stop
- stream
- tools
- tool_choice
- response_format
- structured_outputs
- reasoning
- include_reasoning
Compare
Similar models.
Closest in price and context window — same provider first, then alternatives from other providers.
Browse all 69 models| Model | Input / 1M | Output / 1M | ||
|---|---|---|---|---|
| 1M | $2 | $10 | $0.2 | |
| 1M | $2 | $10 | $0.1 | |
| 1M | $3 | $15 | $0.3 | |
| 1M | $3 | $15 | $0.3 | |
| 1M | $2 | $10 | $0.2 | |
| 1.05M | $2 | $10 | $0.2 | |
| 1.05M | $2 | $10 | $0.1 |
Start building with Sonnet 5.
Claude models run only in Anthropic’s official tools and xKCode. Create a key and add it to Claude Code, or sign in to xKCode with your xKiro account — then select anthropic/claude-sonnet-5.
No credit card · No auto-renewal · 26 free models, free forever