# Claude 3 Haiku

Claude 3 Haiku traded peak reasoning depth for high throughput and the lowest per-token cost in the Claude 3 family, targeting high-volume pipelines where latency and price are the binding constraints.

- **Model ID:** `anthropic/claude-3-haiku`
- **Type:** chat
- **Providers:** bedrock, vertexAnthropic
- **Context window:** 200,000
- **Maximum output tokens:** 4,096
- **Pricing:** $0.25/1M input tokens, $1.25/1M output tokens
- **Canonical page:** https://vercel.com/ai-gateway/models/claude-3-haiku

## Supported parameters

Detailed capability metadata has not been reported for this model.

## Example

```ts
import { streamText } from 'ai'

const result = streamText({
  model: 'anthropic/claude-3-haiku',
  prompt: 'Why is the sky blue?'
})
```

## About

Claude 3 Haiku launched on March 13, 2024 as the fastest, lowest-cost model in the Claude 3 family. Anthropic positioned it alongside Sonnet (mid-tier) and Opus (highest capability). Claude 3 Haiku targets workloads where throughput and cost per token outweigh peak reasoning depth.

Speed defined the release. Anthropic described Claude 3 Haiku as substantially faster than peer models in its performance tier for the majority of workloads, with throughput dropping on prompts that exceed 32K tokens. See live throughput on this page for current numbers.

Anthropic noted a 1:5 input-to-output token ratio at launch.

Claude 3 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. Claude 3 Haiku launched on the Claude API and Amazon Bedrock, with Google Cloud Vertex AI following shortly after.

## What to consider

Claude 3 Haiku keeps high-volume annotation and chat pipelines economical. Use AI Gateway per-request cost tracking to compare actual spend against Sonnet or newer Haiku generations. See live rates in the pricing panel on this page.

## When to use

### Best For

- **High-volume document analysis** for 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** where cost per token is the binding constraint and mid-tier reasoning suffices
- **Enterprise content moderation** for screening large queues of text and images with fast turnaround

### Consider Alternatives When

- The task requires deep multi-step reasoning or complex code generation. Sonnet or Opus handles those better
- You need extended thinking or computer use capabilities, which arrived in later model generations
- Prompts regularly exceed 32K tokens, where Haiku's throughput drops
- You need Claude 3.5 or later generation improvements. Claude 3.5 Haiku matches Opus-level benchmarks at comparable speed

## 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

- **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

## Frequently asked questions

### How fast is Claude 3 Haiku compared to other Claude 3 models?

Anthropic described Claude 3 Haiku as substantially faster than peer models in its performance tier at launch. See live throughput on this page for current numbers.

### 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`, `vertex` and handles authentication, retries, and failover. Use the identifier `anthropic/claude-3-haiku` in 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.

## Links

- [Model page](https://vercel.com/ai-gateway/models/claude-3-haiku)
- [AI Gateway documentation](https://vercel.com/docs/ai-gateway)
- [Provider model documentation](https://aws.amazon.com/bedrock/claude/)
- [Provider pricing](https://aws.amazon.com/bedrock/pricing/)


If you encounter incorrect information, can’t find what you need, need a capability Vercel doesn’t currently offer, or have any other feedback to report, please do it by following the instructions at https://vercel.com/feedback.md.
