Claude Haiku 4.5 是目前 Claude 產品線中的速度等級,Anthropic 把它描述為「具備接近前沿智慧的最快模型」。
- 輸入
- 文字 影像 $1/M
- 輸出
- 文字 $5/M
- 快取讀取
- $0.1/M
- 上下文
- 200K
- 相較 GPT-4o
- 便宜約 80%
- 知識截止
- 2025-02
Benchmark 成績
廠商公布: Alibaba (Qwen) Anthropic ByteDance Google Moonshot OpenAI Tencent Z.ai
價格在同類中的位置
價格在 60 個同類模型中的位置
這條線顯示該模型的價格,在 Synthorai 上同類模型裡處於什麼位置。兩端標出了最便宜和最貴的那個。這裡是基礎價,批次、區域與快取寫入的折扣見價格頁。
規格與限制
Token
| 上下文視窗(廠商規格) | 200,000 |
|---|---|
| 最大輸出(廠商規格) | 64,000 |
| 知識截止 | 2025-02 |
| 訓練資料截至 | 2025-07 知識截止 2025-02 |
提示詞快取
| 快取方式 | 顯式(需開啟) |
|---|---|
| 最低前綴 | 4,096 廠商預設 1,024 |
| 存活時間 | 預設 5 分鐘,可選 1 小時 |
| 寫入成本 | 1.25x (5m) / 2x (1h) |
思考
| 廠商參數 | thinking.type "enabled" + budget_tokens |
|---|---|
| 可選值 | budget_tokens at least 1,024 and below max_tokens; "adaptive" returns 400 |
| 預設值 | 關閉,除非請求明確設定,否則不會思考 請求未指定時生效 |
| 可關閉 | 支援 |
| 思考行為 | 僅支援擴展思考,沒有 effort 參數;較早輪次的 thinking 區塊會被剝除,只保留最後一個;不支援交錯思考,beta header 雖被接受但會被忽略。 |
| 參數 | reasoning_effort |
| 取值 | minimal · low · medium · high 閘道側參數面——以上方廠商映射為準 |
模型
| 模態 | 文字 + 影像 → 文字 |
|---|
- 具備接近前沿智慧的最快 Claude
- 支援擴展思考(非自適應)
- 200k 上下文 / 64k 最大輸出
單一提示詞 — 經由閘道測量
Claude Haiku 4.5 通過 · 3 sentences
# Why Your LLM Bill Doubled Reasoning models like o1 and o3 process queries through extended chains of thought before responding, consuming 5-10x more tokens internally than standard models while also charging higher per-token rates. This means both your input token usage and per-unit costs increased simultaneously—a compounding effect that easily doubles overall spend. Unless you've significantly reduced queries to other models or have very selective reasoning deployment, the math makes a doubling entirely predictable.
輸出 106 tok 延遲 2.8 s
指令遵循(恰好三句,可數)、受眾適配(面向 CFO 的語氣),以及下方 token 計量所暴露的隱藏思考計費缺口。
Claude Haiku 4.5 通過 · 8/8 cases
# Fixed Function ```python def longest_run(xs): if not xs: return 0 best = 1 cur = 1 for i in range(1, len(xs)): if xs[i] == xs[i - 1]: cur += 1 best = max(best, cur) else: cur = 1 return best ``` # Bug Explanation The original function has two related bugs stemming from incorrect initialization and loop logic. First, `best` and `cur` start at 0, which causes single-element lists to incorrectly return 0 instead of 1—a run of one identical element should have length 1. Second, `cur` is reset to 0 (not 1) when a mismatch occurs, causing the next matching pair to be undercounted. More critically, if the longest run ends at the last index, `best` is only updated *during* the loop when a mismatch is encountered; if no mismatch follows the final run, `best` never captures it. […]
輸出 310 tok 延遲 4.0 s
修復是否真的正確(可執行)、解釋的資訊密度,以及在一個邊界明確的任務上的 token 效率。
Claude Haiku 4.5 通過 · 5/5 fields, guidance null
```json { "company": "Meridian Robotics", "quarter": "Q3", "revenue_usd_m": 412, "growth_pct": 11, "guidance": null } ```
輸出 63 tok 延遲 1.6 s
schema 服從度(不臆造欄位)、幻覺壓力(guidance 明確被暫緩給出),以及結構化輸出路徑的差異。
Claude Haiku 4.5 通過 · 123 words, 0 banned, 1 question
# Introducing Prompt Cache Across Providers We're excited to announce our latest API gateway feature: intelligent prompt caching that works across multiple AI providers. This powerful capability stores frequently used prompts and their contexts, dramatically reducing latency and API costs for your applications. By intelligently managing cached prompts across providers like OpenAI, Anthropic, and others, you can optimize your infrastructure without changing your code. Why wait for responses when cached results can be delivered instantly? The system automatically handles cache invalidation and updates, ensuring your applications always access current information while maintaining performance gains. With support for complex multi-turn conversations and dynamic content, this feature scales seamlessly with your business needs. […]
輸出 165 tok 延遲 3.0 s
約束服從度(字數預算、禁用詞表、唯一的那句問句)、文風指紋,以及長度控制。
30 秒用上 Claude Haiku 4.5
OpenAI 相容:換掉 base_url,SDK 不用改。POST /v1/chat/completions
from openai import OpenAI
client = OpenAI(
base_url="https://synthorai.io/v1",
api_key="sk-syn-...",
)
resp = client.chat.completions.create(
model="claude-haiku-4-5",
messages=[{"role": "user", "content": "Summarize this diff"}],
)
print(resp.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://synthorai.io/v1",
apiKey: "sk-syn-...",
});
const resp = await client.chat.completions.create({
model: "claude-haiku-4-5",
messages: [{ role: "user", content: "Summarize this diff" }],
});
console.log(resp.choices[0].message.content);curl https://synthorai.io/v1/chat/completions \
-H "Authorization: Bearer sk-syn-..." \
-H "Content-Type: application/json" \
-d '{
"model": "claude-haiku-4-5",
"messages": [{"role": "user", "content": "Hello"}]
}'package main
import (
"context"
"fmt"
"github.com/openai/openai-go/v3"
"github.com/openai/openai-go/v3/option"
)
func main() {
client := openai.NewClient(
option.WithBaseURL("https://synthorai.io/v1"),
option.WithAPIKey("sk-syn-..."),
)
resp, _ := client.Chat.Completions.New(context.TODO(), openai.ChatCompletionNewParams{
Model: "claude-haiku-4-5",
Messages: []openai.ChatCompletionMessageParamUnion{
openai.UserMessage("Summarize this diff"),
},
})
fmt.Println(resp.Choices[0].Message.Content)
}import com.openai.client.OpenAIClient;
import com.openai.client.okhttp.OpenAIOkHttpClient;
import com.openai.models.chat.completions.*;
OpenAIClient client = OpenAIOkHttpClient.builder()
.baseUrl("https://synthorai.io/v1")
.apiKey("sk-syn-...")
.build();
ChatCompletion resp = client.chat().completions().create(
ChatCompletionCreateParams.builder()
.model("claude-haiku-4-5")
.addUserMessage("Summarize this diff")
.build());
System.out.println(resp.choices().get(0).message().content().orElse(""));關於 Claude Haiku 4.5
- 它是現役 Claude 模型中延遲最低、價格也最低的一款,提供 200K token 上下文視窗、最高 64K 輸出 token、擴展思考支援、視覺輸入、工具呼叫與提示詞快取。
- Anthropic 自己的選型指引把它的工作負載列為即時應用、大批量的智慧處理、仍然需要較強推理能力的成本敏感型部署,以及子智慧體任務;它同時錨定了一條明確以效率優先的採用路徑:先從這裡開始,只有在某個特定的能力缺口逼你升級的時候才往上走。
- 它採用的是較舊的那一套思考機制,而這一點在移植 prompt 的時候很重要。
- 它只支援擴展思考,並且需要一個明確的 token 預算,這個預算必須高於 1,024 而且低於回應上限;adaptive 這種思考型別會回傳錯誤,也沒有力度參數可以用。
- 交錯思考同樣不受支援。
- 相關的 beta 標頭會被接受,但會被忽略。
- 提示詞快取要求的最小前綴為 4,096 token,是這個家族中最嚴格的,而且先前輪次的思考區塊會被剝離,而不是保留下來。
- 結構化輸出已經正式發布,上下文視窗則固定為 200K,沒有長上下文的變體。
- 這樣的特性組合適合大批量的聊天、分類,以及最看重回應速度的編碼助手。
- Synthorai 透過其 OpenAI 相容 chat 端點提供 Claude Haiku 4.5,切換只需要改一個模型名稱。
常見問題
Claude Haiku 4.5 API 可以免費試用嗎?
可以,新帳號可獲得 10 次試用呼叫和最高 $1 的免費額度,無需信用卡。以輸入 $1/M 計算,光是這筆額度就足以對 Claude Haiku 4.5 發出約 125 次 ~8K token 的請求。
Claude Haiku 4.5 最擅長什麼?
最快且具備接近前沿的智慧、現役產品線中延遲與價格最低、擴展思考、視覺輸入與提示詞快取。完整能力請見「關於」一節,內容取自廠商官方發布說明。
Claude Haiku 4.5 的價格是多少?
在 Synthorai 上,Claude Haiku 4.5 輸入 $1/百萬 token、輸出 $5/百萬 token,即廠商牌價,無平台加價。快取命中的輸入 token 以 $0.1/M 計費。
Claude Haiku 4.5 支援提示詞快取(prompt caching)嗎?
支援,需主動開啟:以 cache_control 中斷點標記穩定前綴。快取命中的輸入 token 以 $0.1/M 計費(未命中 $1/M);提示詞需有 4,096 個 token 以上的穩定前綴才能命中快取(TTL 預設 5 分鐘,可選 1 小時)。 提示詞快取指南 →
如何開通 Claude Haiku 4.5?
把現有 OpenAI SDK 的 base_url 指向 "https://synthorai.io/v1",model 設為 "claude-haiku-4-5" 即可。一組 API key 通用閘道上的所有模型。
Claude Haiku 4.5 的知識截止日期是什麼時候?
Claude Haiku 4.5 的知識截止日期為 2025-02,依據廠商官方文件(資料核驗於 2026-07-09)。
相關模型
對比
本頁每個值都轉錄自廠商自己的文件(連結見上),並帶有核對日期。價格在全目錄範圍內比較;各廠商定義不同的規格值,只說明差異而不作圖表對比。此處沒有任何由我們測量的資料,也不做評分。