Loading model…正在加载模型详情…
Loading model…正在加载模型详情…
Chat with Claude Sonnet 4.6, Anthropic’s model for coding, document analysis and multi-step planning, in your browser or through the API.
Use it inClaude CodeClaude desktop app
Anthropic describes Claude Sonnet 4.6 as a model for software engineering, large-document analysis and agentic planning, with adaptive thinking and an emphasis on working through complex inputs.
Use Claude Sonnet 4.6 in the chat box on this page or call claude-sonnet-4-6 through the OpenAI-compatible Chat Completions API or Anthropic Messages API. The same UniRoute key can connect your application or an Anthropic-protocol client.
Claude Sonnet 4.6 follows Claude Sonnet 4.5 in the Sonnet line. Anthropic emphasizes coding, adaptive thinking and context handling for longer analysis and automation workflows.
What Claude Sonnet 4.6 is built for.
Describe a change, paste the relevant code and work through implementation or review comments with follow-up questions.
Bring documents, requirements or a difficult question into the conversation and ask for a structured explanation of the findings and tradeoffs.
Use the API to connect the model to tools and build workflows that plan tasks, take actions and review results.
The chat box on this page accepts text only; attachments and tool calls need an API integration.
The variants you can call, with their options and prices.
| Variant | Model ID | Modes | Inputs | Output | Price |
|---|---|---|---|---|---|
| Claude Sonnet 4.6 | claude-sonnet-4-6 | Chat and text generation | Chat messages | Streaming; Thinking; Context window: Not stated on this page | $1.26 input / $6.30 output per 1M tokens |
Priced per token. Input and output are billed separately.
| Usage | Official API | UniRoute | Save |
|---|---|---|---|
| Input | $3.00 | $1.26 | Save 58% |
| Output | $15.00 | $6.30 | Save 58% |
| Cache read | $0.30 | $0.126 | Save 58% |
| Cache write (5 min) | $3.75 | $1.575 | Save 58% |
| Cache write (1 hour) | $6.00 | $2.52 | Save 58% |
Official price: platform.claude.com · 2026-11-07
Prices updated 2026-11-08.
Pay as you go from a single USD wallet balance. You see the quote before each request.
Call Claude Sonnet 4.6 through OpenAI- or Anthropic-compatible endpoints.
curl 'https://api.uniroute.app/v1/chat/completions' \ -H 'Authorization: Bearer YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{ "model": "claude-sonnet-4-6", "messages": [ { "role": "user", "content": "Hello" } ], "stream": false}'curl 'https://api.uniroute.app/v1/messages' \ -H 'Authorization: Bearer YOUR_API_KEY' \ -H 'anthropic-version: 2023-06-01' \ -H 'Content-Type: application/json' \ -d '{ "model": "claude-sonnet-4-6", "max_tokens": 1024, "messages": [ { "role": "user", "content": "Hello" } ]}'| Name | In | Description |
|---|---|---|
model | Body | Model ID to run. |
messages | Body | The conversation as a list of role and content messages. |
max_tokens | Body | Upper limit on generated tokens (Anthropic Messages). |
stream | Body | Set to true to receive the response as a stream. |
anthropic-version | Header | Protocol version header for the Anthropic Messages API. |
Typical ways to put Claude Sonnet 4.6 to work.
Start with the goal and constraints, ask for a plan, then examine the proposed changes before applying them.
Share symptoms, logs or a diff and ask for likely causes, missing checks and a practical path to a fix.
Turn written material into a summary, compare competing requirements and ask follow-up questions about the reasoning.
Connect Claude Code with a UniRoute key and select claude-sonnet-4-6. The setup guides below cover compatible clients.
Common questions about Claude Sonnet 4.6.
Anthropic describes Claude Sonnet 4.6 as a model for software engineering, large-document analysis and agentic planning, with adaptive thinking and an emphasis on working through complex inputs. You can use it on this page or through the API.
Create a UniRoute API key and send requests with the model ID claude-sonnet-4-6. The API section shows the OpenAI-compatible Chat Completions and Anthropic Messages request formats.
Yes. Claude Code uses the Anthropic Messages protocol. Follow the linked setup guide to configure the UniRoute gateway, your key and the model ID.
From $1.26 input / $6.30 output per 1M tokens. Input and output are billed separately based on usage. The Pricing section lists the rates and worked examples (prices updated 2026-11-08).
The chat box accepts text messages. Use an API client for attachments and tool calls; these controls are not part of this page’s chat composer.
No. Requests are paid from your wallet balance. You can read this page and review the prices without paying, and you need an account with funds to send a message.