---
title: Claude Haiku 5.5 的新功能
url: https://platform.claude.com/docs/zh-TW/models/haiku-5-5/whats-new-haiku-5-5
description: Claude Haiku 5.5 的新功能、破壞性變更與行為變更概覽，並附上各功能指南及程式碼變更遷移指南的連結。
---

Claude Haiku 5.5 專為大量、對延遲敏感的工作而打造，例如分類、路由、擷取以及子代理程式任務。它支援搭配 effort 參數的 adaptive thinking（自適應思考）、1M token 的「context window」（上下文視窗），以及最多 128k 個輸出 token。它使用與 Claude 4.7 及後續模型相同的較新 tokenizer（分詞器），因此相同的文字所計算的 token 數約比 Claude Haiku 4.5 多 30%。它的思考區塊只能在產生它們的帳戶，或與該帳戶連結的帳戶中使用。

如需程式碼變更，請參閱[遷移指南](https://platform.claude.com/docs/zh-TW/models/haiku-5-5/migration-guide)。如需模型 ID、定價與限制，請參閱 [Claude Haiku 5.5 概覽](https://platform.claude.com/docs/zh-TW/models/haiku-5-5/overview)。如需提示指引，請參閱[為 Claude Haiku 5.5 撰寫提示](https://platform.claude.com/docs/zh-TW/build-with-claude/prompt-engineering/prompting-claude-haiku-5-5)。

## 相較於 Claude Haiku 4.5 的變更摘要

每一列列出一項變更、該變更屬於新增、變更或破壞性變更，以及您的程式碼需要採取的動作。

| 變更 | 類型 | 所需動作 |
| ----- | ----- | ----- |
| [Adaptive thinking（自適應思考）與 effort](https://platform.claude.com/docs/zh-TW/models/haiku-5-5/whats-new-haiku-5-5#adaptive-thinking-and-effort) | 新增 | 選用：設定 `effort` 以在回應品質與速度和成本之間取捨。 |
| [更大的上下文視窗與輸出](https://platform.claude.com/docs/zh-TW/models/haiku-5-5/whats-new-haiku-5-5#larger-context-window-and-output) | 新增 | 無。現有的 `max_tokens` 值仍然有效，但思考 token 會計入其中。長提示會以較高價格計費；請參閱[長上下文定價](https://platform.claude.com/docs/zh-TW/about-claude/pricing#long-context-pricing)。 |
| [瀏覽器使用工具](https://platform.claude.com/docs/zh-TW/agents-and-tools/tool-use/browser-use-tool) | 新增 | 無。 |
| [安全分類器可能會拒絕請求](https://platform.claude.com/docs/zh-TW/build-with-claude/refusals-and-fallback#refusal-response) | 新增 | 在您的用戶端中處理 `stop_reason: "refusal"`。伺服器端備援無法使用。移除要求模型寫出其推理過程的提示指示。 |
| [手動擴展思考會傳回錯誤](https://platform.claude.com/docs/zh-TW/models/haiku-5-5/migration-guide#configure-thinking) | 破壞性變更 | 將 `budget_tokens` 替換為自適應思考。 |
| [取樣參數可能會傳回錯誤](https://platform.claude.com/docs/zh-TW/models/haiku-5-5/migration-guide#remove-sampling-parameters) | 破壞性變更 | 省略 `temperature`、`top_p` 和 `top_k`。 |
| [助理訊息預填會傳回錯誤](https://platform.claude.com/docs/zh-TW/models/haiku-5-5/migration-guide#replace-assistant-prefill) | 破壞性變更 | 以使用者回合結束 `messages`。 |
| [`computer_20250124` 會傳回錯誤](https://platform.claude.com/docs/zh-TW/models/haiku-5-5/migration-guide#computer-use-toolset) | 破壞性變更 | 將其替換為 `computer_toolset_20260801`。在 Amazon Bedrock 上，`computer_20251124` 也可使用。 |
| [變更較早的回合會使思考區塊失效](https://platform.claude.com/docs/zh-TW/models/haiku-5-5/migration-guide#keep-earlier-turns-unchanged) | 破壞性變更 | 如果您會將思考區塊傳回，請讓對話保持僅附加（append-only）。 |
| [回應可能以思考區塊開頭](https://platform.claude.com/docs/zh-TW/models/haiku-5-5/whats-new-haiku-5-5#responses-can-begin-with-thinking-blocks) | 已變更 | 依 `type` 選取內容區塊，而非依位置。 |
| [思考文字預設會被省略](https://platform.claude.com/docs/zh-TW/models/haiku-5-5/migration-guide#configure-thinking) | 已變更 | 若要接收摘要後的思考內容，請將 `thinking.display` 設為 `"summarized"`。 |
| [相同文字會計為更多 token](https://platform.claude.com/docs/zh-TW/models/haiku-5-5/whats-new-haiku-5-5#same-text-counts-as-more-tokens) | 已變更 | 重新計算提示的 token 數，並重新檢視 `max_tokens` 與成本估算。 |
| [跨帳戶重播思考區塊](https://platform.claude.com/docs/zh-TW/models/haiku-5-5/whats-new-haiku-5-5#replaying-thinking-blocks-across-accounts) | 已變更 | 如果您透過不同帳戶重播已儲存的對話，請透過產生該對話的帳戶重播每一段對話。 |
| [較早的思考區塊會保留在上下文中](https://platform.claude.com/docs/zh-TW/models/haiku-5-5/whats-new-haiku-5-5#earlier-thinking-blocks-stay-in-context) | 已變更 | 在多回合對話中預期會有更多輸入 token。若要移除較舊的區塊，請使用[思考區塊清除](https://platform.claude.com/docs/zh-TW/build-with-claude/context-editing#thinking-block-clearing)。 |
| [較短的提示可以被快取](https://platform.claude.com/docs/zh-TW/build-with-claude/prompt-caching#cache-limitations) | 已變更 | 無。最小可快取提示長度為 512 個 token，低於 Claude Haiku 4.5 的 4,096 個，因此長度介於兩者之間且設定了 `cache_control` 的提示會在 Claude Haiku 5.5 上被快取。 |
| [不會注入上下文感知標籤](https://platform.claude.com/docs/zh-TW/build-with-claude/context-windows#context-awareness) | 已變更 | 若要為模型提供代理迴圈的明確預算，請使用[任務預算](https://platform.claude.com/docs/zh-TW/build-with-claude/task-budgets)（beta）。 |

## 新功能

### 自適應思考與 effort

透過[自適應思考](https://platform.claude.com/docs/zh-TW/build-with-claude/thinking)，Claude Haiku 5.5 會自行決定何時思考以及思考多少。自適應思考預設為開啟。雖然在 `high` 或更低的 effort 下，您仍可使用 `thinking: {"type": "disabled"}` 關閉思考，但在回應品質與速度和成本之間取捨的較佳方式是使用 [effort 參數](https://platform.claude.com/docs/zh-TW/build-with-claude/effort)。

### 更大的上下文視窗與輸出

Claude Haiku 5.5 具有 1M token 的[上下文視窗](https://platform.claude.com/docs/zh-TW/build-with-claude/context-windows)，並可傳回最多 128k 個輸出 token，高於 Claude Haiku 4.5 上的 200k 與 64k。現有的 `max_tokens` 值仍然有效，但思考 token 會計入 `max_tokens`，因此較小的限制可能會在 `thinking` 區塊之後、任何文字之前就停止。請參閱[設定思考](https://platform.claude.com/docs/zh-TW/models/haiku-5-5/migration-guide#configure-thinking)。長提示會以較高價格計費；請參閱[長上下文定價](https://platform.claude.com/docs/zh-TW/about-claude/pricing#long-context-pricing)。

## 行為變更

### 回應可能以思考區塊開頭

自適應思考預設為開啟，因此即使請求中未提及思考，回應也可能以一個或多個 `thinking` 區塊開頭。將第一個內容區塊當作答案讀取的程式碼，需要改為依區塊的 `type` 欄位選取區塊。請參閱遷移指南中的[設定思考](https://platform.claude.com/docs/zh-TW/models/haiku-5-5/migration-guide#configure-thinking)。

### 先前的思考區塊會保留在上下文中

Claude Haiku 5.5 會將所有先前助理回合的思考區塊保留在上下文中，且這些區塊會計為輸入 token。Claude Haiku 4.5 只保留最新回合的區塊。因此，多回合對話所攜帶的輸入 token 會比僅由分詞器變更所能解釋的更多。若要移除較舊的區塊，請使用[思考區塊清除](https://platform.claude.com/docs/zh-TW/build-with-claude/context-editing#thinking-block-clearing)。請參閱[各模型的思考區塊保留方式](https://platform.claude.com/docs/zh-TW/build-with-claude/thinking#thinking-block-preservation-by-model)。

### 相同文字會計算為更多 token

Claude Haiku 5.5 使用與 Claude 4.7 及後續模型相同的較新 tokenizer。與所有使用此 tokenizer 的模型一樣，相同的輸入文字在 Claude Haiku 5.5 上產生的 token 數約比 Claude Haiku 4.5 多 30%。確切的增幅取決於內容。請求與回應的結構不受 tokenizer 影響，但您以 token 衡量或編列預算的任何項目都會改變。請參閱遷移指南中的[重新計算 token](https://platform.claude.com/docs/zh-TW/models/haiku-5-5/migration-guide#recount-tokens)。

### 跨帳戶重播思考區塊

來自 Claude Haiku 5.5 的思考區塊僅能在產生它們的帳戶中使用，或在與該帳戶連結的帳戶中使用。只有當您儲存對話並透過不同帳戶重播時，這一點才有影響。請參閱[透過產生思考區塊的帳戶重播思考區塊](https://platform.claude.com/docs/zh-TW/models/haiku-5-5/migration-guide#replay-thinking-blocks-through-the-producing-account)。
