Get started
Anthropic
Anthropic

Claude Opus 4 20250514

Claude Opus 4 20250514 is a reasoning model by Anthropic with vision, function calling, prompt caching, structured output — designed for complex, multi-step problem solving where accuracy matters more than speed. It supports a 200K token context window with up to 32K tokens of output. Priced at $15 per million input tokens and $75 per million output tokens. Access Claude Opus 4 20250514 through Inworld Router with OpenAI SDK compatibility, built-in failover, and intelligent routing across providers.
Function CallingReasoningPrompt CachingResponse SchemaVision

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": "anthropic/claude-opus-4-20250514-a", "model_id": "anthropic/claude-opus-4-20250514" }, "weight": 33 }, { "variant": { "variant_id": "anthropic/claude-3-haiku-20240307-b", "model_id": "anthropic/claude-3-haiku-20240307" }, "weight": 33 }, { "variant": { "variant_id": "anthropic/claude-haiku-4-5-20251001-c", "model_id": "anthropic/claude-haiku-4-5-20251001" }, "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!"}] }'

Claude Opus 4 20250514 pricing and providers

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

Other Anthropic models available through Inworld

Compare Claude Opus 4 20250514 with 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.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 202505141M64K$3.00$15.00+2
AnthropicClaude Sonnet 4.5 20250929200K64K$3.00$15.00+3
AnthropicClaude Sonnet 4.61M64K$3.00$15.00+2

Start building with Claude Opus 4 20250514

Access Claude Opus 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