Get started
Anthropic
Anthropic

Anthropic/claude Sonnet 4.6

Anthropic/claude Sonnet 4.6 is a large language model by Anthropic. Priced at $3 per million input tokens and $15 per million output tokens. Access Anthropic/claude Sonnet 4.6 through Inworld Router with OpenAI SDK compatibility, built-in failover, and intelligent routing across providers.

Step 1 — Create Router

curl --location 'https://api.inworld.ai/router/v1/routers' \ --header 'Authorization: Basic <your-api-key>' \ --header 'Content-Type: application/json' \ --data '{ "name": "compare-frontier-models", "defaultRoute": { "route_id": "default", "variants": [ { "variant": { "variant_id": "deepinfra/anthropic/claude-sonnet-4-6-a", "model_id": "deepinfra/anthropic/claude-sonnet-4-6" }, "weight": 33 }, { "variant": { "variant_id": "deepinfra/anthropic/claude-haiku-4-5-b", "model_id": "deepinfra/anthropic/claude-haiku-4-5" }, "weight": 33 }, { "variant": { "variant_id": "deepinfra/anthropic/claude-opus-4-7-c", "model_id": "deepinfra/anthropic/claude-opus-4-7" }, "weight": 34 } ] } }'

Step 2 — Chat Completion

curl --location 'https://api.inworld.ai/v1/chat/completions' \ --header 'Authorization: Basic <your-api-key>' \ --header 'Content-Type: application/json' \ --data '{ "model": "inworld/compare-frontier-models", "messages": [{"role": "user", "content": "Hello!"}] }'

Anthropic/claude Sonnet 4.6 pricing and providers

Access Anthropic/claude Sonnet 4.6 through DeepInfra via Inworld Router or Realtime API. By using the AI provider(s) below you acknowledge you reviewed and agree to their terms listed in the Legal section under the AI provider's name.
CapabilitiesInput modalitiesOutput modalities
DeepInfraDeepInfra$3.00$15.00

Other Anthropic models available through Inworld

Compare Anthropic/claude Sonnet 4.6 with other Anthropic models available through Inworld Router or Realtime API.
CapabilitiesInput modalitiesOutput modalitiesInference provider
AnthropicAnthropic/claude Haiku 4.5$1.00$5.00
AnthropicAnthropic/claude Opus 4.7$5.00$25.00
AnthropicClaude Haiku 4.5 20251001200K64K$1.00$5.00+3
AnthropicClaude Opus 4.1 20250805200K32K$15.00$75.00+3
AnthropicClaude Opus 4.5 20251101200K64K$5.00$25.00+3
AnthropicClaude Opus 4.61M128K$5.00$25.00+3
AnthropicClaude Opus 4.71M128K$5.00$25.00+3
AnthropicClaude Sonnet 4.5 20250929200K64K$3.00$15.00+4
AnthropicClaude Sonnet 4.61M64K$3.00$15.00+3

Start building with Anthropic/claude Sonnet 4.6

Access Anthropic/claude Sonnet 4.6 and every other model through Inworld Router or Realtime API. Create your free account and start routing in minutes.
Copyright © 2021-2026 Inworld AI
Anthropic/claude Sonnet 4.6 by Anthropic — Pricing, Specs & API Access | Inworld