Claude-Haiku-3 API

anthropic/claude-3-haiku
Cost-efficient, high-speed AI for entry-level and real-time applications.
Context
200K tokens
Input
$0.34385 / 1M tokens
Output
$1.625 / 1M tokens
Released
Mar 13, 2024

How to use Claude-Haiku-3 API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to anthropic/claude-3-haiku.

OpenAI-compatible — swap the base URL and it works with your existing SDK.

Claude-Haiku-3 API Pricing

TypePrice
Input
$0.34385 / 1M tokens
Output
$1.625 / 1M tokens
Cached input
$0.041262 / 1M tokens

Claude-Haiku-3 Benchmarks

BenchmarkScoreWhat it measuresSourceRetrieved
Intelligence
5.6
Composite score across standardised reasoning, knowledge and problem-solving evaluations, measured independently by Artificial AnalysisSourceSeptember 12, 2026

Claude-Haiku-3 vs other models

ModelInputOutputContextBest for
$0.34385 / 1M tokens
$1.625 / 1M tokens
200K tokens
Fast, low-cost tasks
$6.5 / 1M tokens
$39 / 1M tokens
1M tokens
Reasoning + agents
$2.6 / 1M tokens
$13 / 1M tokens
1M tokens
Balanced coding + agents
$3.9 / 1M tokens
$19.5 / 1M tokens
1M tokens
Long-context, multimodal & agentic workflows
$0.65 / 1M tokens
$3.9 / 1M tokens
1M tokens
Reasoning + agents

Frequently asked questions

Claude-Haiku-3 has a 1,000,000 tokens context window and can return up to 200K.

Use anthropic/claude-3-haiku as the model id. Requests go to v1/chat/completions.

Claude-Haiku-3 is priced at input $0.34385 / 1M tokens, output $1.625 / 1M tokens, cached input $0.041262 / 1M tokens.

Yes, Claude-Haiku-3 can stream responses as they are generated.

Yes, Claude-Haiku-3 supports both function calling and structured outputs.

Claude-Haiku-3 was built by Anthropic.

Start building with Claude-Haiku-3

Get API Key
1000+ models, one API.