---
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 參數的自適應思考、1M token 的上下文視窗，以及最多 128k 個輸出 token。它使用與 Claude 4.7 及更新模型相同的新版「tokenizer」（分詞器），因此相同的文字會比在 Claude Haiku 4.5 上多計算約 30% 的 token。其思考區塊僅能在產生它們的帳戶中使用，或在與該帳戶連結的帳戶中使用。

如需程式碼變更，請參閱[遷移指南](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 的變更摘要

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

| 變更                                                                                                                                                                    | 類型  | 所需動作                                                                                                                                                |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| [自適應思考與 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)                                                                          | 新增  | 無。可在 Claude API 與 Google Cloud 上使用。                                                                                                                 |
| [安全分類器可能拒絕請求](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` 在 Claude API、Google Cloud 與 Amazon Bedrock 上會傳回錯誤](https://platform.claude.com/docs/zh-TW/models/haiku-5-5/migration-guide#computer-use-toolset) | 破壞性 | 在 Claude API 與 Google Cloud 上以 `computer_toolset_20260801` 取代，或在 Amazon Bedrock 上以 `computer_20251124` 取代。                                          |
| [Amazon Bedrock 上不提供結構化輸出](https://platform.claude.com/docs/zh-TW/build-with-claude/structured-outputs)                                                               | 破壞性 | 在 Amazon Bedrock 上，請在提示中描述格式，或使用不含 `strict` 的工具，並在您的程式碼中驗證輸出。                                                                                       |
| [變更先前的回合會使思考區塊失效](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

透過「adaptive thinking」（[自適應思考](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 及更新模型相同的新版分詞器。與所有使用此分詞器的模型一樣，相同的輸入文字在 Claude Haiku 5.5 上產生的 token 數約比在 Claude Haiku 4.5 上多 30%。確切的增幅取決於內容。請求與回應的結構不受分詞器影響，但您以 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)。
