AnthropicPaidOperational
Claude 3 Haiku
API model name: claude-3-haiku-20240307
Claude 3 Haiku is Anthropic's chat model, served on the Api.Airforce unified API. It has a 200K-token context window. Beyond text, it accepts image as input. Capabilities include Vision, Tool calling. It is priced at $0.33 per million input tokens and $1.63 per million output tokens. Knowledge cutoff: 2023-08-31. Access it through the OpenAI-compatible API with one key, alongside 100+ other models on Api.Airforce.
Pricing
Specifications
- Provider
- Anthropic
- Type
- chat model
- Context window
- 200K tokens
- Max output
- 4K tokens
- Knowledge cutoff
- 2023-08-31
- Input
- text, image
- Output
- text
Capabilities
VisionTool callingStreaming
What is Claude 3 Haiku used for?
- Chatbots & assistants — conversational AI, drafting, summarizing and Q&A.
- Image understanding — analyze photos, screenshots, charts and scanned documents.
- Agents & automation — function calling and tool use for multi-step workflows.
- Long-context tasks — process entire documents or codebases in a single prompt.
- Real-time experiences — stream tokens for responsive chat and apps.
Claude 3 Haiku vs. similar models
| Model | Intelligence | Context | Input / 1M | Output / 1M |
|---|---|---|---|---|
| Claude 3 Haiku | — | 200K | $0.33 | $1.63 |
| [SP]claude Opus 4.6 | — | — | $18.84 | $18.84 |
| [SP]claude Opus 4.7 | — | — | $18.84 | $18.84 |
| [SP]claude Opus 4.8 | — | — | $18.84 | $18.84 |
Prices are Api.Airforce pay-as-you-go rates per 1M tokens. Context is the maximum input length.
Related models
[SP]claude Opus 4.6Anthropic · $18.84 / 1M[SP]claude Opus 4.7Anthropic · $18.84 / 1M[SP]claude Opus 4.8Anthropic · $18.84 / 1M[SP]claude Sonnet 4.6Anthropic · $18.84 / 1MBAAI/bge Reranker V2 M3Anthropic · $0.01 / 1MChat LatestAnthropic · $6.50 / 1MClaude 3.5 HaikuAnthropic · $0.20 / 1MClaude 3.5 SonnetAnthropic · $0.59 / 1MClaude 3.5 SonnetAnthropic · $0.59 / 1MClaude 3.7 SonnetAnthropic · $0.59 / 1MClaude 3 HaikuAnthropic · $0.53 / 1MClaude 3 OpusAnthropic · $2.93 / 1M
Claude 3 Haiku — frequently asked questions
- How much does Claude 3 Haiku cost?
- Claude 3 Haiku is billed pay-as-you-go at $0.33 per 1M input tokens and $1.63 per 1M output tokens. There is no subscription — you only pay for what you use.
- What is the context window of Claude 3 Haiku?
- Claude 3 Haiku supports a context window of up to 200K tokens. It can return up to 4K tokens in a single response.
- What can Claude 3 Haiku do?
- Claude 3 Haiku supports Vision, Tool calling.
- Is Claude 3 Haiku free to use?
- Claude 3 Haiku is a paid, pay-as-you-go model — no subscription, you are only charged for usage.
- How do I use Claude 3 Haiku via the API?
- Claude 3 Haiku is OpenAI-compatible. Point any OpenAI SDK at https://api.airforce/v1 and pass the model ID claude-3-haiku-20240307 with your Api.Airforce API key.
- Who makes Claude 3 Haiku?
- Claude 3 Haiku is Anthropic's chat model, served through the unified Api.Airforce gateway alongside 100+ other models.
Loading live metrics…
Loading live metrics…
Loading live metrics…
Use Claude 3 Haiku via the API
OpenAI-compatible — point any OpenAI SDK at https://api.airforce/v1 and pass claude-3-haiku-20240307 as the model.
cURL
curl https://api.airforce/v1/chat/completions \
-H "Authorization: Bearer $AIRFORCE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-3-haiku-20240307",
"messages": [{ "role": "user", "content": "Hello!" }]
}'Python
from openai import OpenAI
client = OpenAI(base_url="https://api.airforce/v1", api_key="$AIRFORCE_API_KEY")
r = client.chat.completions.create(
model="claude-3-haiku-20240307",
messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)JavaScript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.airforce/v1", apiKey: process.env.AIRFORCE_API_KEY });
const r = await client.chat.completions.create({
model: "claude-3-haiku-20240307",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(r.choices[0].message.content);