Chat model from Anthropic. One API key reaches all 2 providers, with automatic failover.
No card required. Start with 1 million free tokens.
About Claude Sonnet 4.6
Claude Sonnet 4.6 is a chat model published by Anthropic, with a 1,000,000-token context window. It scores 115 on AI IQ, ranked #59. Through TrustedRouter it runs on 2 providers, with options in the US and EU, from $3.16 per million input tokens. One provider offers zero data retention.
- Model ID
anthropic/claude-sonnet-4.6- Publisher
- Anthropic
- Modes
- chat, messages
- Billing
- Credits or your own provider key
Set it up with your agent
Paste this into Claude Code, Cursor or any coding agent.
Use Claude Sonnet 4.6 through TrustedRouter in this project.
1. Read https://trustedrouter.com/llms.txt
2. Point the OpenAI-compatible client at
https://api.trustedrouter.com/v1 and read the key from
TRUSTEDROUTER_API_KEY.
3. Set the model to anthropic/claude-sonnet-4.6.
4. Run the tests, then show me the diff before committing.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.trustedrouter.com/v1",
api_key=os.environ["TRUSTEDROUTER_API_KEY"],
)
response = client.chat.completions.create(
model="anthropic/claude-sonnet-4.6",
messages=[{"role": "user", "content": "What is the capital of France?"}],
)
print(response.choices[0].message.content)
curl https://api.trustedrouter.com/v1/chat/completions \
-H "Authorization: Bearer $TRUSTEDROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-sonnet-4.6",
"messages": [{"role": "user", "content": "What is the capital of France?"}]
}'
Providers
Your key goes to the cheapest healthy provider and fails over on its own. Open a row for retention, location and weight format, or see how we check privacy claims and the live speed leaderboard.
| Provider | Input | Cached | Output | Cost per 1M in + out | Details |
|---|---|---|---|---|---|
|
|
$3.16 | $0.316 | $15.82 | $18.99 | |
|
Retention Verification: no verified privacy claim. Not currently marked ZDR in TrustedRouter. Anthropic may offer contracted or account-specific data-retention terms, but this provider is excluded from trustedrouter/zdr until that posture is reverified. Location Operator country: US Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $3.165/1M · Cached input $0.3165/1M · Output $15.825/1M TTFT: 1.30 s Speed: insufficient data Last sample: |
|||||
|
|
$3.16 | $0.316 | $15.82 | $18.99 | |
|
Retention Zero data retention. TrustedRouter's managed Vertex AI account is covered by contractual Zero Data Retention, but eligibility is reviewed per model and feature. Durable caching was disabled on October 29, 2026 and memory-only caching verified in four regions. Affected Gemini routes remain excluded from strict ZDR pending prior data expiration and model-specific review. Safety-retention and unreviewed routes are also excluded, even when described upstream as ZDR-aligned. This guarantee applies only to reviewed TrustedRouter-funded routes. TrustedRouter does not invoke Google Search or Maps grounding or Gemini Live session resumption on these routes. Google AI Studio is classified separately. Location Operator country: US Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $3.165/1M · Cached input $0.3165/1M · Output $15.825/1M TTFT: insufficient data Speed: insufficient data Last sample: |
|||||
Append :nitro to the model ID, or send "provider": {"sort": "throughput"}, to route to the fastest provider instead.
Questions
What model ID should I use for Claude Sonnet 4.6?
Use anthropic/claude-sonnet-4.6 as the model field with the TrustedRouter OpenAI-compatible API. Credits routing and provider fallback happen behind that model ID.
Do you log my prompts or outputs?
No. Prompt and output content are intentionally excluded from the control plane and metadata systems. Optional content export requires explicit destination-level configuration.
Which providers serve Claude Sonnet 4.6?
TrustedRouter currently lists Google Vertex AI, and Anthropic for Claude Sonnet 4.6. Provider availability and routing eligibility can change as catalog and health data update.
How much does Claude Sonnet 4.6 cost through TrustedRouter?
The current lowest Credits input price is $3.165/1M and the lowest Credits output price is $15.825/1M. Prices are per one million tokens and come from the current route catalog.
How do I require zero data retention for Claude Sonnet 4.6?
Set provider.min_privacy to zdr on the request. TrustedRouter considers only routes with a recorded zero-data-retention posture and fails closed if no eligible route remains.
Claude Sonnet 4.6 vs other models
Start building with Claude Sonnet 4.6.
No card required. Start with 1 million free tokens.
