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.
Quelle: official_x0.3 · Verifiziert am 2026-06-01
Cache-Lesezugriff $0.03/M · Cache-Schreibzugriff $0.375/M
Zum API-Aufruf kann jede der IDs verwendet werden.
anthropic/claude-haiku-4.5claude-haiku-4-5You can use these names directly in the request model field.
Ersetzen Sie den Platzhalter ONEHOP_KEY durch Ihren API key. Erstellen →
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)878 Anfragen in den letzten 30 Tagen