Claude 3.5 Haiku on Anthropic

Claude 3.5 · Anthropic

DeprecatedRetired February 19, 2026

Last refreshed 2026-10-08. Next refresh: weekly.

Why use Claude 3.5 Haiku on Anthropic?

Anthropic offers Claude 3.5 Haiku with pay-as-you-go pricing at $0.80/1M input tokens. Anthropic is a safety-focused AI research company and creator of the Claude model family, offering API access through the Anthropic Console for text generation, analysis, and coding tasks.

Compare Claude 3.5 Haiku across 6 providers to find the best fit for your use case
Input / 1M
$0.80
Output / 1M
$4.00
Cache
read $0.080 / 5m $1.00 / 1h $1.60
Batch
-50% · in $0.40 / out $2.00

Setup recipe

Python + curl
Install
pip install anthropic
Auth
export ANTHROPIC_API_KEY=...
Call
import anthropic
client = anthropic.Anthropic()  # reads ANTHROPIC_API_KEY from env
message = client.messages.create(
    model="claude-3-5-haiku-20241022",
Model ID
claude-3-5-haiku-20241022

Request example

import anthropic

client = anthropic.Anthropic()  # reads ANTHROPIC_API_KEY from env
message = client.messages.create(
    model="claude-3-5-haiku-20241022",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Hello"}]
)
print(message.content[0].text)

Gotchas

  • Use provider model ID "claude-3-5-haiku-20241022", not the LLMReference slug "claude-3.5-haiku".
  • Use the versioned model ID, e.g. "claude-sonnet-4-6" or "claude-opus-4-7-20251101".
  • The examples expect ANTHROPIC_API_KEY; rename it only if your application config maps the new variable.

Compare Claude 3.5 Haiku Across Providers

ProviderInput (per 1M)Output (per 1M)
Anthropic$0.80$4.00
OpenRouter$0.80$4.00
AWS Bedrock$0.80$4.00
GCP Vertex AI$0.80$4.00
Replicate API$1.00$5.00
View all 6 providers →

Pricing

TypePrice (per 1M)
Input tokens$0.80
Output tokens$4.00

Capabilities

VisionReasoningStructured OutputsCode Execution

About Claude 3.5 Haiku

Claude 3.5 Haiku is Anthropic's latest AI model, known for its speed and efficiency while maintaining high intelligence. It is optimized for applications needing rapid response, like interactive chatbots and real-time content moderation. Initially text-only, future plans include image input capabilities. It excels in delivering fast, accurate code suggestions, processing and categorizing information swiftly, and handling large volumes of user interactions. Priced accessibly, it offers advanced coding, tool use, and reasoning abilities. Though initially surpassing Claude 3 Haiku in benchmarks, its pricing reflects its enhanced performance.

Get Started