Get started
Anthropic
Anthropic

Claude 3 Haiku 20240307

Claude 3 Haiku 20240307 is a large language model by Anthropic with support for vision, function calling, prompt caching, and structured output. It supports a 200K token context window with up to 4K tokens of output. Priced at $0.25 per million input tokens and $1.25 per million output tokens, it is one of the most cost-efficient options in its class. Access Claude 3 Haiku 20240307 through Inworld Router with OpenAI SDK compatibility, built-in failover, and intelligent routing across providers.
Function CallingPrompt 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-3-haiku-20240307-a", "model_id": "anthropic/claude-3-haiku-20240307" }, "weight": 33 }, { "variant": { "variant_id": "anthropic/claude-haiku-4-5-20251001-b", "model_id": "anthropic/claude-haiku-4-5-20251001" }, "weight": 33 }, { "variant": { "variant_id": "anthropic/claude-opus-4-20250514-c", "model_id": "anthropic/claude-opus-4-20250514" }, "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 3 Haiku 20240307 pricing and providers

Access Claude 3 Haiku 20240307 through Anthropic via Inworld Router or Realtime API.
CapabilitiesInput modalitiesOutput modalities
AnthropicAnthropic200K4.1K$0.25$1.25+1

Other Anthropic models available through Inworld

Compare Claude 3 Haiku 20240307 with other Anthropic models available through Inworld Router or Realtime API.
CapabilitiesInput modalitiesOutput modalitiesInference provider
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 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 3 Haiku 20240307

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