Claude 3 Haiku
Claude 3 Haiku handles enterprise document workloads at a fraction of Opus-tier cost, serving as the speed-and-affordability anchor of the Claude 3 family.
import { streamText } from 'ai'
const result = streamText({ model: 'anthropic/claude-3-haiku', prompt: 'Why is the sky blue?'})Playground
Try out Claude 3 Haiku by Anthropic. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.
Providers
Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.
| Provider |
|---|
P50 throughput on live AI Gateway traffic, in tokens per second (TPS). Visit the docs for more info.
P50 time to first token (TTFT) on live AI Gateway traffic, in milliseconds. View the docs for more info.
Direct request success rate on AI Gateway and per-provider. Visit the docs for more info.
More models by Anthropic
| Model |
|---|
About Claude 3 Haiku
Claude 3 Haiku launched on March 1, 2023 as the fastest, lowest-cost model in the Claude 3 family. Anthropic positioned it alongside Sonnet (mid-tier) and Opus (highest capability). Haiku targets workloads where throughput and cost per token matter more than peak reasoning depth.
Speed defined the release. Anthropic described Claude 3 Haiku as three times faster than peer models in its performance tier for the majority of workloads, with throughput dropping on prompts that exceed 32K tokens.
Anthropic noted a 1:5 input-to-output token ratio and reported the model ran at half the cost of competing models in its tier at launch.
Haiku ships with the same vision architecture as Sonnet and Opus. It accepts photos, charts, graphs, and technical diagrams as input. Anthropic highlighted document analysis (quarterly filings, contracts, legal cases), responsive customer support chat, and large-dataset annotation as primary use cases. The model launched on the Claude API and Amazon Bedrock, with Google Cloud Vertex AI following shortly after.
What To Consider When Choosing a Provider
- Configuration: At $0.25 per million input tokens and $1.25 per million output tokens, Haiku keeps high-volume annotation and chat pipelines economical. Use AI Gateway's per-request cost tracking to compare actual spend against Sonnet or newer Haiku generations.
- Zero Data Retention: AI Gateway supports Zero Data Retention for this model via direct gateway requests (BYOK is not included). To configure this, check the documentation.
- Authentication: AI Gateway authenticates requests using an API key or OIDC token. You do not need to manage provider credentials directly.
When to Use Claude 3 Haiku
Best For
- High-volume document analysis: Processing contracts, filings, and legal cases where throughput drives pipeline feasibility
- Customer support chat: Requiring fast response times and consistent instruction following across long conversation histories
- Image and chart annotation at scale: Using shared Claude 3 vision capabilities at the lowest per-image cost in the family
- Data extraction and labeling pipelines: Cost per token is the binding constraint and mid-tier reasoning suffices
- Enterprise content moderation: Screening large queues of text and images with fast turnaround
Consider Alternatives When
- Deep multi-step reasoning: Sonnet or Opus handles complex code generation and deep reasoning better
- Extended thinking or computer use: Those capabilities arrived in later model generations
- Long-context prompts: Haiku's throughput drops on prompts exceeding 32K tokens
- Claude 3.5-era improvements: Claude 3.5 Haiku matches Opus-level benchmarks at comparable speed
Conclusion
Claude 3 Haiku occupies the speed-and-cost floor of the Claude 3 generation. It remains a practical choice for teams running high-volume, latency-sensitive pipelines where the task complexity fits within a fast-tier model's capability range. Later Haiku generations raised the capability ceiling significantly, but the original Claude 3 Haiku still serves workloads optimized for raw throughput.
Frequently Asked Questions
How fast is Claude 3 Haiku compared to other Claude 3 models?
Anthropic described Claude 3 Haiku as three times faster than peer models in its performance tier. Sonnet and Opus are slower, with Opus delivering speeds comparable to Claude 2.
What happens to Claude 3 Haiku's speed on long prompts?
Prompts exceeding 32K tokens reduce throughput meaningfully. Factor this slowdown into latency estimates if your workload regularly involves long-context inputs.
Can Claude 3 Haiku process images?
Yes. Haiku shares the same vision architecture as Sonnet and Opus. It processes photos, charts, graphs, and technical diagrams. Anthropic highlighted enterprise document analysis and large-scale image annotation as primary vision use cases.
How does Claude 3 Haiku differ from Claude 3.5 Haiku?
Claude 3.5 Haiku matched Claude 3 Opus on many intelligence benchmarks while maintaining Haiku-class speed. The original Claude 3 Haiku is faster on a per-token basis but operates at a lower capability tier. Choose based on whether throughput or reasoning depth matters more.
What is the cost of processing images with Claude 3 Haiku?
Exact per-image cost depends on image resolution and token count. Check the pricing panel on this page for current rates.
How do I authenticate requests to Claude 3 Haiku through AI Gateway?
Configure your Anthropic API key in your AI Gateway project settings. AI Gateway routes requests to bedrock, vertexAnthropic and handles authentication, retries, and failover. Use the identifier
anthropic/claude-3-haikuin your API calls.Is Claude 3 Haiku suitable for agentic workflows?
Haiku handles structured tool calling and simple multi-step tasks. For complex agentic workflows that require deep planning, later Sonnet or Haiku generations offer stronger instruction following and tool use accuracy.