Model overview
Text generationReasoningStreamingClaude Sonnet 4.6 is the recommended balanced Claude model for agentic coding, knowledge work, analysis, and production chat workloads.
Company: AnthropicProvider: AWS Bedrock
Model capabilities
Input modalityT
Output modalityT
Model experience✓
Function calling✓
Structured output✓
Web search×
Context cache✓
Batch inference✓
Fine-tuning×
Model pricing
Input (US regional profile)$3.30/1M tokens
Batch input (US regional profile)$1.65/1M tokens
Cache hit input (US regional profile)$0.33/1M tokens
Output (US regional profile)$16.50/1M tokens
Batch output (US regional profile)$8.25/1M tokens
Rate limits and context
Context length1M
Maximum output length128K
API reference
EndpointPOST /v1/chat/completions
SDKOpenAI-compatible
API code examples
from openai import OpenAI client = OpenAI( api_key="$WLROUTER_API_KEY", base_url="https://api.wlrouter.com/v1" ) response = client.chat.completions.create( model="anthropic.claude-sonnet-4.6", messages=[ {"role": "user", "content": "Reply with one short sentence."} ], max_tokens=32 ) print(response.choices[0].message.content)