Claude Sonnet 4.6

Loading model catalog…

Back to models

About Claude Sonnet 4.6

Claude Sonnet 4.6 is a Anthropic model. On TeamoRouter its model ID is claude-sonnet-4-6, and the same TeamoRouter API key works for it and every other model. Setup steps are in the API docs.

Model ID
claude-sonnet-4-6
Provider
Anthropic
Context window
1M tokens
Official list price
$3 input / $15 output per 1M tokens
Compare all models →

Use the Claude Sonnet 4.6 API

Point the base URL at TeamoRouter and use claude-sonnet-4-6 as the model name; nothing else changes. Python example:

from anthropic import Anthropic

client = Anthropic(
    base_url="https://api.teamorouter.vip",  # the only line that changes
    api_key="<TEAMOROUTER_API_KEY>",
)
message = client.messages.create(
    model="claude-sonnet-4-6",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Hello"}],
)
print(message.content[0].text)

In Claude Code:

export ANTHROPIC_BASE_URL=https://api.teamorouter.vip
export ANTHROPIC_AUTH_TOKEN=<your TeamoRouter API key>
export ANTHROPIC_API_KEY=""
claude --model claude-sonnet-4-6

Claude Sonnet 4.6 FAQ

What is the Claude Sonnet 4.6 API model ID?
The model ID is claude-sonnet-4-6. Use https://api.teamorouter.vip (no /v1) as the base URL for the Anthropic API, or https://api.teamorouter.vip/v1 for the OpenAI-compatible API.
How much does the Claude Sonnet 4.6 API cost?
The official list price of Claude Sonnet 4.6 is $3 input / $15 output per 1M tokens. TeamoRouter bills per use with no monthly fee; see the price table on this page for the current discounted price.
Can I use Claude Sonnet 4.6 in Claude Code?
Yes. Set ANTHROPIC_BASE_URL to https://api.teamorouter.vip, put your TeamoRouter API key in ANTHROPIC_AUTH_TOKEN, and start Claude Code with --model claude-sonnet-4-6. Full steps: Claude Code setup.