
Claude Haiku 4.5 (Thinking)
claude-haiku-4-5-20251001-thinkingClaude Haiku 4.5 扩展思维版,适用于复杂推理任务。
Extended Thinking
Step-by-step reasoning
Fast Response
Quick with deep analysis
Cost Effective
Affordable reasoning
Complex Tasks
Handle multi-step problems
API Documentation
View complete API reference with all parameters and examples.
Advanced Features
Streaming
Enable real-time streaming responses with Server-Sent Events.
{
"model": "claude-haiku-4-5-20251001-thinking",
"stream": true,
"max_tokens": 1024,
"messages": [...]
}Function Calling (Tools)
Enable Claude to use tools and call functions.
{
"model": "claude-haiku-4-5-20251001-thinking",
"max_tokens": 1024,
"tools": [{
"name": "get_weather",
"description": "Get current weather for a location",
"input_schema": {
"type": "object",
"properties": {
"location": {"type": "string", "description": "City name"}
},
"required": ["location"]
}
}],
"tool_choice": {"type": "auto"},
"messages": [{"role": "user", "content": "What's the weather in Tokyo?"}]
}PDF Support
Analyze PDF documents by sending them as base64 encoded content.
{
"model": "claude-haiku-4-5-20251001-thinking",
"max_tokens": 1024,
"messages": [{
"role": "user",
"content": [{
"type": "document",
"source": {
"type": "base64",
"media_type": "application/pdf",
"data": "<base64_encoded_pdf>"
}
}, {
"type": "text",
"text": "Summarize this document."
}]
}]
}Structured Output (JSON Schema)
Get structured JSON responses that match your schema.
{
"model": "claude-haiku-4-5-20251001-thinking",
"max_tokens": 1024,
"output_format": {
"type": "json_schema",
"schema": {
"type": "object",
"properties": {
"name": {"type": "string"},
"age": {"type": "integer"}
},
"required": ["name", "age"]
}
},
"messages": [{"role": "user", "content": "Extract info: John is 30 years old"}]
}Web Search
Enable Claude to search the web for up-to-date information.
{
"model": "claude-haiku-4-5-20251001-thinking",
"max_tokens": 1024,
"tools": [{
"type": "web_search_20250305",
"name": "web_search",
"max_uses": 5
}],
"messages": [{"role": "user", "content": "What's the latest news about AI?"}]
}API Parameters Reference
| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | Model identifier (e.g., claude-haiku-4-5-20251001-thinking) |
| messages | array | Yes | Array of message objects with role and content |
| max_tokens | integer | Yes | Maximum tokens in the response (1 - 128000) |
| system | string | No | System prompt to set context |
| stream | boolean | No | Enable streaming responses (SSE) |
| temperature | number | No | Sampling temperature (0.0 - 1.0) |
| top_p | number | No | Nucleus sampling threshold (0.0 - 1.0) |
| top_k | integer | No | Top-k sampling (0 - infinity) |
| stop_sequences | array | No | Sequences that stop generation |
| tools | array | No | Function calling tools definition |
| tool_choice | object | No | Tool selection strategy (auto/any/tool) |
| thinking | object | No | Enable extended thinking mode |
| output_format | object | No | Structured output with JSON schema |
Full API Documentation
View complete API reference with streaming, thinking, and more.
Pricing
Billing: Cost = (input_tokens * input_price + output_tokens * output_price) / 1,000,000
关于 Claude Haiku 4.5 (Thinking)
Claude Haiku 4.5 (Thinking) 是由 Anthropic 提供的大语言模型 API。Claude Haiku 4.5 with extended thinking capability for complex reasoning tasks. 通过 API Models 平台,您可以使用统一的 API 接口调用该模型,享受比官方更低的价格。当前定价:Input: $0.353, Output: $1.765 per 1M tokens。
核心功能
- Extended Thinking -- Step-by-step reasoning
- Fast Response -- Quick with deep analysis
- Cost Effective -- Affordable reasoning
- Complex Tasks -- Handle multi-step problems
适用场景
聊天机器人与客服
构建智能对话系统,自动回答用户问题,提升客户服务效率。
内容生成
自动撰写文章、邮件、广告文案等文本内容,提高内容产出效率。
编程助手
辅助代码编写、调试和代码审查,加速软件开发流程。
数据分析
理解和分析非结构化数据,提取关键信息并生成报告摘要。
为什么选择 API Models
- 统一 API 接口 -- 一个 API Key 调用所有模型,无需分别注册各平台账号
- 价格优势 -- 比官方价格低 60-95%,适合小微开发者和初创团队
- 即开即用 -- 注册即可使用,支持 Stripe 和支付宝充值
- 完整文档 -- 提供详细的 API 文档和代码示例(cURL、Python、Node.js)
常见问题
Claude Haiku 4.5 (Thinking) 的价格是多少?
Claude Haiku 4.5 (Thinking) 通过 API Models 平台调用,当前定价:Input: $0.353, Output: $1.765 per 1M tokens。相比官方价格,最高可节省 95% 的费用。
如何使用 Claude Haiku 4.5 (Thinking) API?
在 API Models 注册账号并获取 API Key,然后通过我们的统一 API 端点调用即可。我们提供详细的 API 文档和 cURL、Python、Node.js 代码示例。
API Models 与 Anthropic 官方 API 有什么区别?
API Models 通过聚合平台提供与官方相同的 Claude Haiku 4.5 (Thinking) 模型,价格低 60-95%。我们提供统一的 API 接口,无需分别注册各平台账号,一个 API Key 即可调用所有模型。
支持哪些付款方式?
我们支持 Stripe(Visa、Mastercard 等国际信用卡)和支付宝付款。充值后积分即时到账。