APIMODELSAPIMODELS
全部
Models/Claude Haiku 4.5
Anthropic

Claude Haiku 4.5 API

claude-haiku-4-5-20251001

快速且经济的轻量级任务模型。适合简单查询和快速响应。

Fast ResponseAffordableBasic Tasks
Input$0.353
Output$1.765
per 1M tokens

API Documentation

View complete API reference with all parameters and examples.

View Docs

Advanced Features

Streaming

Enable real-time streaming responses with Server-Sent Events.

{
  "model": "claude-haiku-4-5-20251001",
  "stream": true,
  "max_tokens": 1024,
  "messages": [...]
}

Function Calling (Tools)

Enable Claude to use tools and call functions.

{
  "model": "claude-haiku-4-5-20251001",
  "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",
  "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",
  "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",
  "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

ParameterTypeRequiredDescription
modelstringYesModel identifier (e.g., claude-haiku-4-5-20251001)
messagesarrayYesArray of message objects with role and content
max_tokensintegerYesMaximum tokens in the response (1 - 128000)
systemstringNoSystem prompt to set context
streambooleanNoEnable streaming responses (SSE)
temperaturenumberNoSampling temperature (0.0 - 1.0)
top_pnumberNoNucleus sampling threshold (0.0 - 1.0)
top_kintegerNoTop-k sampling (0 - infinity)
stop_sequencesarrayNoSequences that stop generation
toolsarrayNoFunction calling tools definition
tool_choiceobjectNoTool selection strategy (auto/any/tool)
thinkingobjectNoEnable extended thinking mode
output_formatobjectNoStructured output with JSON schema

Full API Documentation

View complete API reference with streaming, thinking, and more.

View Documentation

Pricing

Input
$0.353
per 1M tokens
Output
$1.765
per 1M tokens

Billing: Cost = (input_tokens * input_price + output_tokens * output_price) / 1,000,000

Fast Response

Quick turnaround times

Affordable

$0.353/$1.765 per 1M tokens

Basic Tasks

Perfect for simple queries

High Throughput

Handle many requests

TL;DR Claude Haiku 4.5 是 Anthropic 的大语言模型模型,可通过 APIMODELS 的统一 API 调用(模型名 `claude-haiku-4-5-20251001`)。定价:Input: $0.353, Output: $1.765 per 1M tokens。一个 API Key 即可调用所有图片 / 视频 / LLM / 音频模型,国内可直接访问。
已有新一代:Claude Haiku 5.5 —— GDPval-AA 1620(Haiku 4.5 为 735)、OSWorld 2.1 72.4%(Haiku 4.5 为 15.7%,Anthropic 数据),每百万 token $0.09 / $0.45(比官方低 10%)。 Claude Haiku 5.5 →

关于 Claude Haiku 4.5

Claude Haiku 4.5 是由 Anthropic 提供的大语言模型 API。快速且经济的轻量级任务模型。适合简单查询和快速响应。 通过 APIMODELS 平台,您可以使用统一的 API 接口调用该模型,按量计费、价格透明。当前定价:Input: $0.353, Output: $1.765 per 1M tokens。

核心功能

  • Fast Response -- Quick turnaround times
  • Affordable -- $0.353/$1.765 per 1M tokens
  • Basic Tasks -- Perfect for simple queries
  • High Throughput -- Handle many requests

适用场景

聊天机器人与客服

构建智能对话系统,自动回答用户问题,提升客户服务效率。

内容生成

自动撰写文章、邮件、广告文案等文本内容,提高内容产出效率。

编程助手

辅助代码编写、调试和代码审查,加速软件开发流程。

数据分析

理解和分析非结构化数据,提取关键信息并生成报告摘要。

为什么选择 APIMODELS

  • 统一 API 接口 -- 一个 API Key 调用所有模型,无需分别注册各平台账号
  • 价格透明 -- 按量计费,每个模型页公开单次调用价格,适合小微开发者和初创团队
  • 即开即用 -- 注册即可使用,支持 Stripe 和支付宝充值
  • 完整文档 -- 提供详细的 API 文档和代码示例(cURL、Python、Node.js)

常见问题

Claude Haiku 4.5 的价格是多少?

Claude Haiku 4.5 通过 APIMODELS 平台调用,当前定价:Input: $0.353, Output: $1.765 per 1M tokens。按量计费,用多少付多少。

如何使用 Claude Haiku 4.5 API?

在 APIMODELS 注册账号并获取 API Key,然后通过我们的统一 API 端点调用即可。我们提供详细的 API 文档和 cURL、Python、Node.js 代码示例。

APIMODELS 与 Anthropic 官方 API 有什么区别?

APIMODELS 通过聚合平台提供与官方相同的 Claude Haiku 4.5 模型。我们提供统一的 API 接口,无需分别注册各平台账号,一个 API Key 即可调用所有模型。

Claude Haiku 4.5 和其它大语言模型模型相比怎么选?

在 APIMODELS,Claude Haiku 4.5 与 60+ 个模型共用一个 API Key、一个余额,所以选型只看合不合适,不存在锁定。它支持 Fast Response、Affordable、Basic Tasks,你可以在价格和能力上把它和其它大语言模型模型对比,换模型只需改一个模型名字符串——无需新账号、无需重新对接。所有大语言模型模型与实时价格见 apimodels.app/models。

Claude Haiku 4.5 支持哪些能力?

Claude Haiku 4.5 支持:Fast Response、Affordable、Basic Tasks。完整参数与调用方式见 APIMODELS 的 API 文档。

国内可以调用 Claude Haiku 4.5 API 吗?

可以。APIMODELS 提供可直接访问的统一 API,一个 API Key 即可调用 Claude Haiku 4.5,无需分别注册官方账号、也无需自行处理官方接口的网络访问。

支持哪些付款方式?

我们支持 Stripe(Visa、Mastercard 等国际信用卡)和支付宝付款。充值后积分即时到账。

相关模型