Models
Claude Haiku 4.5
Model Overview
Direct supply
ChatStreamingVisionToolsThinkingCacheInput Modalities
Text, Image
Output Modalities
Text
Recommended for
A good fit for streaming chat that needs vision, tool use, and thinking, with cache support for reuse.
Capabilities
Chat
Multi-turn conversational completions
Streaming
Tokens are delivered incrementally as they are generated
Vision
Accepts image input alongside text
Tool Use
Can call functions/tools defined in the request
Thinking
Produces an extended internal reasoning trace before the final answer
Prompt Caching
Reuses previously processed prompt prefixes at a lower rate
Supported Modes
Chat
Model Pricing
15% off
Pay-as-you-go
Pricing
What Claude Haiku 4.5 charges for each operation
Cache write · Cache retention: 1h$2.00$1.70per 1M tokens
Cache write · Cache retention: 5m$1.25$1.0625per 1M tokens
Cache read$0.10$0.085per 1M tokens
Input$1.00$0.85per 1M tokens
Output$5.00$4.25per 1M tokens
Thinking$5.00$4.25per 1M tokens
Indicative pricing — final cost is confirmed at request time.
Context & Limits
- Context Window
- 200,000 tokens
- Max Output
- 64,000 tokens
Response speed
Data is being collected
API Code Example
OpenAI Compatible
import openai
client = openai.OpenAI(
base_url="https://api.modelsite.ai/v1",
api_key="sk-ms-...",
)
response = client.chat.completions.create(
model="claude-haiku-4-5",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)