Logo
Back to all models

Claude Haiku 3.5 - In-Depth Overview

Anthropic · Claude 3.5

Current
Latest in family

Model ID: claude-3-5-haiku-20241022

Get all the details on Claude Haiku 3.5, an AI model from Anthropic. This page covers its token limits, pricing structure, key capabilities such as prompt_caching, streaming_messages, batch_processing, available API code samples, and performance strengths.

Key Metrics

Input Limit

200K tokens

Output Limit

8.2K tokens

Input Cost

$0.80/1M

Output Cost

$4.00/1M

Sample API Code

from anthropic import Anthropic
client = Anthropic()
message = client.messages.create(
    model="claude-3-5-haiku-20241022",
    max_tokens=1024,
    messages=[
        {"role": "user", "content": "Hello, Claude!"}
    ]
)
print(message.content)

Required Libraries

anthropic
@anthropic-ai/sdk

Benchmarks

BenchmarkScoreSourceNotes
1234
OpenLLM LeaderboardRank 77
1133
OpenLLM LeaderboardRank 13
1000
OpenLLM LeaderboardRank 50
44.98
LiveBench-
26.19
LiveBench-
53.17
LiveBench-
34.84
LiveBench-
54.12
LiveBench-
39.71
LiveBench-
61.88
LiveBench-
41.6%
Vellum-
40.6%
Vellum-
69.4%
Vellum-
54.31%
Vellum-
28%
Vellum-

Notes

Our fastest model, offering intelligence at blazing speeds and quick, accurate targeted performance. Does not support extended thinking.

Supported Data Types

Input Types

text
image

Output Types

text

Strengths & Weaknesses

Exceptional at

speed
efficiency
quick responses

Good at

intelligence
targeted performance

Poor at

extended thinking

Additional Information

Latest Update

Oct 22, 2024

Knowledge Cutoff

Jul 1, 2024