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

問題

常見問題

我要如何透過 SandBase 呼叫 Anthropic Claude Haiku 4.5?

先建立一組 SandBase API 金鑰,接著使用模型 ID「anthropic/claude-haiku-4.5」向 https://api.sandbase.ai 的 Chat Completions API (/v1/chat/completions) 或 Messages API (/v1/messages) 發送請求。此頁的請求範例會顯示完整的 payload。

Anthropic Claude Haiku 4.5 的費用是多少?

每 100 萬個輸入 token $0.85、每 100 萬個輸出 token $4.25,並套用目前 15% 折扣(定價為 $1/$5),費用會依每次請求從您的 SandBase 餘額中扣除。

Anthropic Claude Haiku 4.5 的 context window 是多少?

200K 個 context token,每次回應最多可輸出 64K 個 output 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 金鑰與餘額即可讓您存取 Anthropic Claude Haiku 4.5 以及目錄中的其他模型;您不需要另外註冊 Anthropic。