anthropic/claude-haiku-4.5
The lowest-cost current-generation Claude. Fast and strong at classification, routing, extraction, and summarization. 200K-token context. Use for high-volume, latency-sensitive tasks.
Source: launch_0023 · Verified 2026-06-01
Cache read $0.050/M · Cache write $0.625/M
Replace the ONEHOP_KEY placeholder with your API key. Create one →
from anthropic import Anthropic
client = Anthropic(
base_url="https://api.onehop.ai/anthropic",
api_key="<ONEHOP_KEY>",
)
message = client.messages.create(
model="anthropic/claude-haiku-4.5",
max_tokens=1024,
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(message.content[0].text)