Claude 3.5 Haiku
Late-2024 small Claude, fast and cheap with surprisingly strong code quality.
Updated
Quick facts
- Released
- Nov 2024
- Context
- 200K tokens
- Output / 1M
- $4.00 / 1M tokens
- License
- Proprietary
About Claude 3.5 Haiku
Claude 3.5 Haiku surprised many users on launch with code quality competitive with the previous-generation Sonnet at a fraction of the price. Still common in production routing layers and customer-support pipelines, particularly where Anthropic's tone is part of the brand voice.
Most new deployments have moved to Haiku 4 for the upgraded reasoning and tool-use, but Haiku 3.5 remains a reliable, mature option.
Benchmarks
Published scores from Anthropic's model card or independent leaderboards. We do not publish numbers we cannot source, see methodology.
Capabilities
Strengths
- Fast
- Cheap for Anthropic
- Strong code at small size
Tracked weaknesses
- Superseded by Haiku 4 for new builds
Pricing
Per-million-token rates as published by Anthropic.
| Tier | Price | Notes |
|---|---|---|
| Input | $0.80 / 1M tokens | Tokens you send to the model |
| Output | $4.00 / 1M tokens | Tokens the model generates |
| Context | 200K tokens | Max combined input + output |
Call Claude 3.5 Haiku from your code
Drop-in snippet for the Anthropic SDK. Set your API key in the environment and run.
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
apiKey: process.env.ANTHROPIC_API_KEY,
});
const message = await client.messages.create({
model: "claude-3-5-haiku",
max_tokens: 1024,
messages: [
{ role: "user", content: "What's the time complexity of quicksort?" },
],
});
console.log(message.content);Compare Claude 3.5 Haiku with…
Frequently asked
How much does Claude 3.5 Haiku cost per million tokens?
Claude 3.5 Haiku is priced at $0.80 / 1M tokens for input tokens and $4.00 / 1M tokens for output tokens via the official Anthropic API at the time of writing.What is Claude 3.5 Haiku's context window?
Claude 3.5 Haiku supports a context window of 200K tokens.Is Claude 3.5 Haiku open source?
No. Claude 3.5 Haiku is a closed-weight model, you can use it via Anthropic's API but the model weights are not publicly downloadable.When was Claude 3.5 Haiku released?
Claude 3.5 Haiku was released on Nov 4, 2024 by Anthropic.
Intelligence, distilled weekly.
One short email every Friday, new model launches, leaderboard moves, and pricing drops. Curated by hand. Free, no spam.