Anthropic: Claude 3 Haiku
This model is no longer available.Add AI to your application with Puter.js.
Explore Other ModelsModel Card
Claude 3 Haiku is the fastest and most compact model from the Claude 3 family. It's optimized for near-instant responses and cost-efficiency, ideal for real-time chatbots, content moderation, and high-volume tasks.
Context Window 200K
tokens
Max Output 4K
tokens
Input Cost $0.25
per million tokens
Output Cost $1.25
per million tokens
Input text, image, pdf
modalities
Tool Use Yes
Knowledge Cutoff Aug 31, 2023
Release Date Mar 13, 2024
Code Example
Add AI to your app with the Puter.js AI API, no API keys or setup required.
// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';
puter.ai.chat("Explain quantum computing in simple terms").then(response => {
document.body.innerHTML = response.message.content;
});
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
puter.ai.chat("Explain quantum computing in simple terms").then(response => {
document.body.innerHTML = response.message.content;
});
</script>
</body>
</html>
More AI Models From Anthropic
Claude Haiku 5.5
Claude Haiku 5.5 is the small, low-cost model in Anthropic's 5.5 family, released on October 7, 2026 and available through the API as anthropic/claude-haiku-5-5. It has a 1M token context window and up to 128k output tokens. Pricing is $0.10 per million input tokens and $0.50 per million output tokens for requests under 100,000 tokens, down from $1 and $5 for Haiku 4.5, and $0.50 and $2.50 above that. Effort levels range from low to max, with medium as the default. Anthropic reports 72.4% on OSWorld 2.1 (offline subset, Haiku 4.5: 15.7%) and 39.2% on Terminal-Bench 4.0 at maximum effort (Haiku 4.5: 0.0%). On the same tests GPT-6 Luna scores 48.9% and 16.4%. It is aimed at summarizing documents, classifying information, querying databases, and handling subtasks for larger agents. Anthropic recommends Opus and Sonnet for demanding coding work.
ChatClaude Sonnet 5.5
Claude Sonnet 5.5 is a mid-tier model from Anthropic, released on September 28, 2026 and available through the API as anthropic/claude-sonnet-5-5. It accepts text, image, and PDF input, with a 1M token context window and up to 128k output tokens. Pricing is $2 per million input tokens and $10 per million output tokens, the same as Claude Sonnet 5. Anthropic says it generates output more than 30% faster than Sonnet 5 and can cut the cost of a task by up to 30%, because it uses fewer tokens and fewer tool calls. Anthropic reports 70.6% on Terminal-Bench 4.0 (Sonnet 5: 10.3%) and 80.1% on OSWorld 2.1 (Sonnet 5: 57.0%). It is aimed at well-scoped everyday tasks, bug fixing, agentic coding, and producing documents, slides, and spreadsheets.
ChatClaude Opus 5.5
Claude Opus 5.5 is Anthropic's newest flagship model, released September 22, 2026 as the successor to Claude Opus 5. Anthropic positions it for agentic coding and long-running autonomous work. Reported benchmark scores include 66.4% on Terminal-Bench 4.0 (up from 52.3% for Opus 5), 54.4% on FrontierCode, 40% on AutomationBench (up from 26.9%), 81.8% on the OSWorld 2.0 computer-use benchmark, and 67.7% on Humanity's Last Exam with tools. It runs about 30% faster than Opus 5 and costs roughly 40% less on typical workloads, at $4 per million input tokens and $20 per million output tokens, a 1M-token context window, and 128K max output tokens. That combination of long-horizon coding performance, multimodal input (text, image, PDF), tool calling, and lower cost makes it a fit for developers building coding agents, codebase-wide migrations, and research or analysis pipelines through the API.
Frequently Asked Questions
Claude 3 Haiku is no longer available through Puter.js. Explore other AI models for alternatives.
| Price per 1M tokens | |
|---|---|
| Input | $0.25 |
| Output | $1.25 |
Claude 3 Haiku was created by Anthropic and released on Mar 13, 2024.
Claude 3 Haiku supports a context window of 200K tokens. For reference, that is roughly equivalent to 400 pages of text.
Claude 3 Haiku can generate up to 4K tokens in a single response.
Claude 3 Haiku has a knowledge cutoff date of Aug 31, 2023. This means the model was trained on data available up to that date.
Claude 3 Haiku accepts the following input types: text, image, pdf. It produces: text.
Yes, Claude 3 Haiku supports tool use (function calling), allowing it to interact with external tools, APIs, and data sources as part of its response flow.
Claude 3 Haiku scores 5.6 on the Artificial Analysis Intelligence Index, outperforming 10% of tracked models.
Yes — the Claude 3 Haiku API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.
Get started with Puter.js
Add AI to your application without worrying about API keys or setup.
Explore Models View Tutorials