Provider profile: Anthropic — Anthropic builds safety-focused AI systems. The Claude model family leads on coding, agentic workflows, and long-context reasoning, with a 1M-token context window and industry-leading computer use capabilities.
Anthropic
US9 modelsClaude — frontier intelligence for coding, agents, and enterprise
Anthropic builds safety-focused AI systems. The Claude model family leads on coding, agentic workflows, and long-context reasoning, with a 1M-token context window and industry-leading computer use capabilities.
- ✓Claude series — frontier intelligence for coding, agents, and enterprise
- ✓1M token context window across the latest Claude models
- ✓Industry-leading computer use and agentic workflow capabilities
- ✓Extended thinking / reasoning mode for complex multi-step problems
Quickstart
from openai import OpenAI
client = OpenAI(
base_url="https://api.therouter.ai/v1",
api_key="YOUR_THEROUTER_KEY",
)
response = client.chat.completions.create(
model="anthropic/claude-sonnet-4.6",
messages=[{"role": "user", "content": "Write a Python function to parse JSON"}],
max_tokens=512,
)
print(response.choices[0].message.content)Models
Frequently Asked Questions
Which Claude models are available on TheRouter?
TheRouter provides the full Claude lineup: Opus 4.6 (most intelligent), Sonnet 4.6 (best for coding and agents), Haiku 4.5 (fastest and most cost-efficient), and several previous generation models. All use the standard anthropic/model-name format.
Does TheRouter support Claude's extended thinking / reasoning mode?
Yes. Pass the reasoning parameter in your API call and Claude's chain-of-thought tokens will be returned in the response. TheRouter passes these parameters through to Anthropic's API without modification.
How does TheRouter route to Anthropic?
TheRouter routes Claude requests through a dedicated Anthropic provider service that calls the Anthropic Messages API directly. No aggregators, no pools — every request is a direct API connection.
What happens if Anthropic's API is unavailable?
TheRouter's health-aware routing detects provider failures and can automatically fall back to equivalent models on other providers (like Bedrock Claude models), based on your routing configuration.