Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Claude Haiku 4.5

15% 折扣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 Claude models. Matching Claude Sonnet 4’s performance across reasoning, coding, and computer-use tasks, Haiku 4.5 brings frontier-level capability to real-time and high-volume applications.

输入价格
$0.85$1.00美元 / 100 万 token
输出价格
$4.25$5.00美元 / 100 万 token
缓存读取
$0.09$0.10美元 / 100 万 token
缓存写入
$1.06$1.25美元 / 100 万 token
上下文窗口
200K
最大输出
64K

规格

能力聊天视觉推理结构化输出函数调用
输入
文本, 图像
输出
文本
可用

关于此模型

Claude Haiku 4.5 is the fast, low-cost tier of Anthropic's Claude 4.5 family. It reads text and images, writes text, and has a 200K-token context window. Anthropic added extended thinking to Haiku with this release; you turn it on per request through the Messages API.

When to use it

  • Real-time chat and support assistants where latency matters.
  • Sub-agents that handle many small steps for a larger model.
  • Coding help and code review at high volume.

Call it

The model works on Chat Completions (/v1/chat/completions) and on Anthropic's Messages API (/v1/messages). Use Messages when you want extended thinking.

from openai import OpenAI

client = OpenAI(base_url="https://api.sandbase.ai/v1", api_key="$SANDBASE_API_KEY")

resp = client.chat.completions.create(
    model="anthropic/claude-haiku-4.5",
    messages=[{"role": "user", "content": "Explain what an API gateway does."}],
    max_tokens=512,
)
print(resp.choices[0].message.content)

What works on SandBase

Checked with real calls through SandBase on October 28, 2026.

FeatureWorksNotes
StreamingYesstream: true, with usage in the last chunk when stream_options.include_usage is set.
Tool callingYestools and tool_choice; returns tool_calls.
Image inputYesimage_url parts with an https URL or a data: URI.
Extended thinkingMessages APISend thinking: {"type": "enabled", "budget_tokens": 2000} to /v1/messages; the reply starts with a thinking block. reasoning_effort on Chat Completions has no effect.
Structured outputNoresponse_format on Chat Completions and output_format on Messages are both ignored; the model answers in prose. Describe the JSON you want in the prompt, or define a tool whose input schema is the shape you need.

Limits and parameters

  • Context window: 200,000 tokens.
  • Maximum output: 64,000 tokens per request (max_tokens).
  • Accepts temperature, top_p and stop on Chat Completions, and stop_sequences on Messages.

Example response

Real response to "In two sentences, explain what an API gateway does." through Chat Completions, trimmed.

{
  "id": "431cc58b-9b0…",
  "object": "chat.completion",
  "model": "anthropic/claude-haiku-4.5",
  "choices": [
    {
      "index": 0,
      "finish_reason": "stop",
      "message": {
        "role": "assistant",
        "content": "An API gateway is the single entry point that sits in front of a set of backend services and routes each incoming client request to the service that handles…"
      }
    }
  ],
  "usage": {
    "completion_tokens": 98,
    "completion_tokens_details": {
      "reasoning_tokens": 0
    },
    "prompt_tokens": 18,
    "prompt_tokens_details": {
      "cache_write_tokens": 0,
      "cached_tokens": 0
    },
    "total_tokens": 116
  }
}

Pricing

TokensPrice per 1M
Input$1.00
Output$5.00
Cached input (read)$0.10
Cache write, 5-minute$1.25
Cache write, 1-hour$2.00

Prompt caching works through cache_control blocks on /v1/messages; a repeat call reports the cached prefix as cache_read_input_tokens. Reads cost 10% of the input price.

Related models

独立评测

基准测试

在标准化评测上的得分,并与 SandBase 上的其他模型进行对比。

指标来源于 Artificial Analysis · 智能指数 v5 · 更新于 2026-11-16

Artificial Analysis 智能指数:对推理、知识、数学和编程的十项评测综合得分。越高越好。 在 SandBase 上,Claude Haiku 4.5 在 33 个模型中排名第 31。

问题

常见问题

如何通过 SandBase 调用 Anthropic Claude Haiku 4.5?

先创建一个 SandBase API key,然后向 https://api.sandbase.ai 的 Chat Completions API (/v1/chat/completions) 或 Messages API (/v1/messages) 发送请求,模型 ID 使用“anthropic/claude-haiku-4.5”。本页的请求示例展示了准确的请求负载。

Anthropic Claude Haiku 4.5 的价格是多少?

每 100 万输入 token $0.85、每 100 万输出 token $4.25,按当前 15% 折扣计算(标价 $1 / $5),并按请求从您的 SandBase 余额中扣费。

Anthropic Claude Haiku 4.5 的上下文窗口是多少?

上下文为 200K 个 token,每次响应最多输出 64K 个 token。

Anthropic Claude Haiku 4.5 在基准测试中的表现如何?

Anthropic Claude Haiku 4.5 在 Artificial Analysis Intelligence Index 上得分 7.4(v5),在 SandBase 上的 33 个模型中排名第 #31。来源:Artificial Analysis,测得结果为 Claude 4.5 Haiku (Reasoning)。

Anthropic Claude Haiku 4.5 支持哪些功能?

Anthropic Claude Haiku 4.5 支持 视觉(图像输入), 推理, 函数调用, 结构化输出。完整列表请参见上方 Specifications。

我需要单独的 Anthropic 账户吗?

不需要。一个 SandBase API key 和余额即可让您使用 Anthropic Claude Haiku 4.5 以及目录中的其他模型;您无需单独注册 Anthropic。