返回模型列表购买套餐
Anthropic
Claude Haiku 4.5
Claude Haiku 4.5 is Anthropic's fastest and most efficient model, delivering near-frontier intelligence at a fraction of the cost and latency of larger models.
快速参数
上下文
200K
最大输出
64K
出品方
Anthropic
规格数
2
模态
输入 text输入 image输入 file输出 text
规格与刊例价(每百万 tokens)
高质量
输入 $1输出 $5缓存读取 $0.1缓存写入 $1.25
高性价比
输入 $0.5输出 $2.5缓存读取 $0.05缓存写入 $0.625
推荐套餐
Claude Haiku 4.5 体验套餐
充值即用,按量计费;新用户享 $1 体验额度。
API 接入
Model ID
anthropic/claude-haiku-4.5cURL
curl https://intertoken.ai/v1/chat/completions \
-H "Authorization: Bearer $TOKENPORTAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-haiku-4.5",
"messages": [{"role": "user", "content": "Hello!"}]
}'Python (openai SDK)
from openai import OpenAI
client = OpenAI(
base_url="https://intertoken.ai/v1",
api_key="$TOKENPORTAL_API_KEY",
)
resp = client.chat.completions.create(
model="anthropic/claude-haiku-4.5",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)