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.
出典: official_x0.3 · 確認日 2026-06-01
キャッシュ読み取り $0.03/M · キャッシュ書き込み $0.375/M
どちらの ID を使っても API でこのモデルを呼び出せます。
anthropic/claude-haiku-4.5claude-haiku-4-5You can use these names directly in the request model field.
ONEHOP_KEY プレースホルダーをご自身の API Key に置き換えてください。 作成する →
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)過去 30 日間で 878 件のリクエスト