About Claude Sonnet 5
Claude Sonnet 5 is a Anthropic model. On TeamoRouter its model ID is claude-sonnet-5, and the same TeamoRouter API key works for it and every other model. Setup steps are in the API docs.
- Model ID
claude-sonnet-5- Provider
- Anthropic
- Context window
- 1M tokens
- Official list price
- $2 input / $10 output per 1M tokens
More Anthropic models
Use the Claude Sonnet 5 API
Point the base URL at TeamoRouter and use claude-sonnet-5 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-5",
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-5Claude Sonnet 5 guides
- Claude Banned in Hong Kong? How to Keep Using Claude Code After the October 2026 VPN Suspensions
- Claude Code Banned? The October 2026 Ban Wave: Reasons and What to Do
- Claude Opus 5.5 in Cursor, Cline and Cherry Studio: Which API Type and Base URL to Use
- Claude Opus 5.5 vs Sonnet 5.5 vs Fable 5.1: Which to Use, and How to Split Them in Claude Code
- Claude Subscription vs API in 2026: Pro, Max or Pay-Per-Use for Opus 5.5?
- Is Your Claude Nerfed? Check It with the Pelican Test (Live Results Every 30 Minutes)
Claude Sonnet 5 FAQ
- What is the Claude Sonnet 5 API model ID?
- The model ID is claude-sonnet-5. 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 5 API cost?
- The official list price of Claude Sonnet 5 is $2 input / $10 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 5 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-5. Full steps: Claude Code setup.