Skip to content
Vercel AI Gateway

Anthropic/Claude 3 Haiku

Anthropic/Claude 3 Haiku is available via Vercel AI Gateway with a 200K context window and up to 4,096 output tokens. Pricing: $0.2500/1M input tokens, $1.25/1M output tokens.

Anthropic/Claude 3 Haiku Pricing & Specifications

Input Price$0.25 per 1M tokens
Output Price$1.25 per 1M tokens
Context Window200,000 tokens (200K)
Max Output4,096 tokens
ProviderVercel AI Gateway

What is Anthropic/Claude 3 Haiku?

Anthropic/Claude 3 Haiku is a large language model by Vercel AI Gateway with a 200K context window and up to 4,096 output tokens. It costs $0.25 per 1M input tokens and $1.25 per 1M output tokens. Anthropic/Claude 3 Haiku is available via Vercel AI Gateway with a 200K context window and up to 4,096 output tokens. Pricing: $0.2500/1M input tokens, $1.25/1M output tokens.

Capabilities

text vision function calling json mode

Anthropic/Claude 3 Haiku Cost Examples

Short prompt (500 tokens)

$0.000125

Medium prompt (2K tokens)

$0.00050

Long output (4K tokens)

$0.00500

Count tokens for Anthropic/Claude 3 Haiku

Paste your prompt to see exact token counts and API cost estimates.

Open Token Counter

Similar Models to Anthropic/Claude 3 Haiku

Vercel AI Gateway

Inception/Mercury Coder Small

$0.25/1M in 32K ctx

Vercel AI Gateway

Alibaba/Qwen 3 235b

$0.20/1M in 41K ctx

Vercel AI Gateway

Google/Gemma 2 9b

$0.20/1M in 8K ctx

Vercel AI Gateway

Meta/Llama 4 Maverick

$0.20/1M in 131K ctx

Frequently Asked Questions

How much does Anthropic/Claude 3 Haiku cost per token? +
Anthropic/Claude 3 Haiku costs $0.25 per 1M input tokens and $1.25 per 1M output tokens. For a typical 1,000-token request with a 500-token response, that works out to roughly $0.000875.
What is the context window for Anthropic/Claude 3 Haiku? +
Anthropic/Claude 3 Haiku supports a context window of 200,000 tokens (200K). This determines the maximum combined length of your prompt and conversation history in a single API call.
What is the maximum output length for Anthropic/Claude 3 Haiku? +
Anthropic/Claude 3 Haiku can generate up to 4,096 tokens in a single response. If you need longer outputs, you can make multiple API calls and concatenate the results.
Is Anthropic/Claude 3 Haiku good for coding tasks? +
Yes, Anthropic/Claude 3 Haiku supports capabilities well-suited for coding tasks including code generation, debugging, and refactoring.
Token Counter | Pricing Calculator | Model Comparison | All Vercel AI Gateway Models