anthropic logo
anthropic

Anthropic: Claude 3 Haiku

来源介绍(英文)

Claude 3 Haiku is Anthropic's fastest and most compact model for near-instant responsiveness. Quick and accurate targeted performance. See the launch announcement and benchmark results here #multimodal

模型概览

模型规格

上下文
200,000 tokens
最大输出
4,096 tokens
架构
text+image->text
分词器
Claude
知识截止时间
2023-08-31
内容审核
OPENROUTER

完整价格

同步自 OpenRouter。Token 价格均按每百万 Token 展示。

输入
$0.25
每百万 Token
输出
$1.25
每百万 Token
缓存读取
$0.03
每百万 Token
缓存写入
$0.3
每百万 Token
缓存写入 (1h)
$0.5
每百万 Token
API

快速调用

在本地设置 OPENROUTER_API_KEY。Python 需安装 requests;JavaScript 在 Node.js 中运行。密钥应保存在服务端。

API 文档

curl --fail-with-body https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"anthropic/claude-3-haiku","messages":[{"role":"user","content":"Hello!"}]}'
能力与模态

输入输出

输入
textimage
输出
text
API

支持的 API 参数

max_tokensstoptemperaturetool_choicetoolstop_ktop_p
可用提供方

1 提供方

核验日期: 2026年9月7日

在 OpenRouter 查看实时 Provider

Provider 可用性、延迟、吞吐量和路由会持续变化,请前往来源页面查看实时运行数据。

OpenRouter

Amazon Bedrock

暂未提供
上下文
200K
最大输出
4K
输入
$0.25
输出
$1.25
缓存读取
$0.03
缓存写入
$0.3
anthropic

4 个模型

全部模型
anthropic logoanthropic

Anthropic: Claude Opus 5.5

Claude Opus 5.5 is Anthropic's flagship model for demanding reasoning, coding, and long-horizon agentic work, succeeding Claude Opus 5. It is particularly strong at multi-step changes in large codebases, code...

上下文
1M
输入
text · image · file
输出
text
输入: $4输出: $20每百万 Token
查看模型详情
anthropic logoanthropic

Anthropic: Claude Opus 5.5 (batch)

Claude Opus 5.5 is Anthropic's flagship model for demanding reasoning, coding, and long-horizon agentic work, succeeding Claude Opus 5. It is particularly strong at multi-step changes in large codebases, code...

上下文
1M
输入
text · image · file
输出
text
输入: $2输出: $10每百万 Token
查看模型详情
anthropic logoanthropic

Anthropic: Claude Fable 5.1

Claude Fable 5.1 improves on Claude Fable 5 across the board, with the biggest gains in agentic coding, long-running agentic workflows, and knowledge work: long code refactors, front-end and visual...

上下文
1M
输入
text · image · file
输出
text
输入: $10输出: $50每百万 Token
查看模型详情
anthropic logoanthropic

Anthropic: Claude Fable 5.1 (batch)

Claude Fable 5.1 improves on Claude Fable 5 across the board, with the biggest gains in agentic coding, long-running agentic workflows, and knowledge work: long code refactors, front-end and visual...

上下文
1M
输入
text · image · file
输出
text
输入: $5输出: $25每百万 Token
查看模型详情