Anthropic
Anthropic

Claude Sonnet 4 20250514

Claude Sonnet 4 20250514 is an Anthropic model with vision, function calling, extended reasoning, prompt caching, and structured output capabilities. It is priced at $3 per million input tokens and $15 per million output tokens, and has a 1M token context window. Access the Claude Sonnet 4 20250514 API through Inworld Router or Realtime API.
Function CallingReasoningPrompt CachingResponse SchemaVision
curl --location 'https://api.inworld.ai/router/v1/routers' \ --header 'Content-Type: application/json' \ --header 'Authorization: Basic <your-api-key>' \ --data '{ "name": "compare-frontier-models", "default_route": { "route_id": "default", "variants": [ { "variant": {
"variant_id": "anthropic", "model_id": "anthropic/claude-sonnet-4-20250514"
}, "weight": 33 }, { "variant": { "variant_id": "anthropic", "model_id": "anthropic/claude-3-haiku-20240307" }, "weight": 33 }, { "variant": { "variant_id": "anthropic", "model_id": "anthropic/claude-haiku-4-5-20251001" }, "weight": 34 } ] } }'

Inference providers

Access Claude Sonnet 4 20250514 through Anthropic via Inworld Router or Realtime API.
CapabilitiesInput modalitiesOutput modalities
AnthropicAnthropic1M64K$3.00$15.00+2
Deprecation scheduled: 2026-05-14

More models by Anthropic

Other Anthropic models available through Inworld Router or Realtime API.
CapabilitiesInput modalitiesOutput modalitiesInference provider
AnthropicClaude 3 Haiku 20240307200K4.1K$0.25$1.25+1
AnthropicClaude Haiku 4.5 20251001200K64K$1.00$5.00+2
AnthropicClaude Opus 4 20250514200K32K$15.00$75.00+2
AnthropicClaude Opus 4.1 20250805200K32K$15.00$75.00+2
AnthropicClaude Opus 4.5 20251101200K64K$5.00$25.00+2
AnthropicClaude Opus 4.61M128K$5.00$25.00+2
AnthropicClaude Sonnet 4.5 20250929200K64K$3.00$15.00+3
AnthropicClaude Sonnet 4.6200K64K$3.00$15.00+2

Start building with Claude Sonnet 4 20250514

Access Claude Sonnet 4 20250514 and every other model through Inworld Router or Realtime API. Create your free account and start routing in minutes.
Copyright © 2021-2026 Inworld AI