claude-sonnet-4-6 API
Claude Sonnet 4.6 is an earlier Anthropic Sonnet model for coding, long-document analysis and agent planning, with text and image input and text output. It remains an active legacy model. Check XiuAI pricing and evaluate migration to Sonnet 5.5 against your existing tasks.[1][2][4]
claude-sonnet-4-6Model overview
Published provider specifications. Available features depend on the current API route.
- API routes
- OpenAI-compatible API / openai-response / openai-response-compact / Anthropic Messages / Gemini GenerateContent / openai-alpha-search
Existing coding and analysis workflows
It can support iterative development, codebase navigation, document analysis and multi-step tool-assisted tasks. Provide required behaviors, source material and validation methods, then check the results in your application. Existing Sonnet 4.6 integrations can use those tasks as a regression baseline.[2]
Vendor computer-use and office examples require a supporting tool environment. Image understanding and planning do not establish browser control, document editing or automated business workflows hosted by XiuAI.[2][1]
What to check when moving from 4.6
The current Sonnet 4.6 reference lists adaptive thinking and marks the older extended mode deprecated. Moving to 5.5 requires removing manual thinking budgets and sampling parameters, then reviewing forced tool choice, how thinking is reduced and token-count changes from the newer tokenizer.[1][3]
API access
XiuAI access and cost comparison
Use claude-sonnet-4-6, your existing balance and an authorized key, organizing messages and tools for the selected protocol. Launch comparisons belong to their original versions and evaluation conditions. Compare today’s XiuAI models using your own tasks.[4][2]
Input, output and caching are billed separately. Context capacity for long documents is not a fixed price per task. Use current prices and request records rather than treating launch-era vendor offers as XiuAI rates.[1][4]
Send a request using your existing API key.
POST /v1/chat/completionscurl 'https://router-api.xiu.ai/v1/chat/completions' \
-H "Authorization: Bearer $XIUAI_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"model": "claude-sonnet-4-6",
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}'Read the API documentationFrequently asked questions
Can Sonnet 4.6 directly operate my business systems?
The model can assist with planning and tool calls, but execution requires tools, permissions and an environment supplied by your application. Vendor computer-use demonstrations do not prove that XiuAI hosts those systems.[2][4]
Is changing model enough when upgrading to Sonnet 5.5?
No. Native-API migration requirements cover thinking budgets, sampling parameters, forced tool choice and response handling. Validate tool loops and usage with representative multi-turn requests instead of only one short question.[3]
Related models
claude-sonnet-5claude-sonnet-5-5Sources and updates
Specifications reference provider documentation; prices and availability come from the current XiuAI catalog.
Content reviewed: 2026-11-16
[1] Claude Sonnet 4.6 model reference[2] Claude Sonnet 4.6 announcement[3] Anthropic migration guide[4] Current XiuAI model and pricing dataModel documentationTool callingStructured outputContext documentation