返回模型列表购买套餐
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缓存写入 5m $1.25缓存写入 1h $2
高性价比
输入 $0.5输出 $2.5缓存读取 $0.05缓存写入 5m $0.625缓存写入 1h $1
推荐套餐
Claude Haiku 4.5 体验套餐
充值即用,按量计费;新用户享 $1 体验额度。
API 接入
Model ID
anthropic/claude-haiku-4.5cURL
curl https://intertoken.ai/v1/messages \
-H "x-api-key: $TOKENPORTAL_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-haiku-4.5",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "Hello!"}]
}'Python (anthropic SDK)
import anthropic
client = anthropic.Anthropic(
base_url="https://intertoken.ai",
api_key="$TOKENPORTAL_API_KEY",
)
resp = client.messages.create(
model="anthropic/claude-haiku-4.5",
max_tokens=1024,
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.content[0].text)