

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# Claude Fable 5
<a name="model-card-anthropic-claude-fable-5"></a>

## ![](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/models/claude.png) Anthropic — Claude Fable 5
<a name="model-card-anthropic-claude-fable-5-header"></a>

## 模型詳細資訊
<a name="model-card-anthropic-claude-fable-5-details"></a>

Claude Fable 5 是 Anthropic 的新一代模型，用於複雜的知識工作和編碼，能夠跨多天任務持續自動操作。它跨階段規劃、委派給子代理程式，並自我驗證其工作。
+ **模型啟動日期：**2026 年 6 月 9 日
+ **模型 EOL 日期：**不適用
+ **最終使用者授權合約和使用條款：**[檢視](https://aws.amazon.com/legal/bedrock/third-party-models/)
+ **模型生命週期：**作用中
+ **內容視窗：**1M個字符
+ **最大輸出字符：**128K
+ **取樣參數：**溫度必須為 1.0 或 unset；top\_p 必須 ≥ 0.99 且 < 1.0；或 unset；不支援 top\_k
+ **原因：**支援 （適應性思考一律開啟且無法停用；工作量層級可設定）
+ **知識截止日：**2026 年 1 月
+ **Marketplace 產品 ID：**prod-h6swdfybvty7y


| **輸入模式** | **輸出模式** | **[支援的 APIs ](https://docs.aws.amazon.com/bedrock/latest/userguide/apis.html)** | **[支援的端點](https://docs.aws.amazon.com/bedrock/latest/userguide/endpoints.html)** | 
| --- | --- | --- | --- | 
| ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) 音訊 | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) 內嵌 | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) Responses | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) bedrock-runtime | 
| ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) 影像 | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) 影像 | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) Chat Completions | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) bedrock-mantle | 
| ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) 語音 | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) 語音 | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) Invoke |  | 
| ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) 文字 | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) 文字 | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) Converse |  | 
| ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) 影片 | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) 影片 | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) Messages |  | 

## 功能和功能
<a name="model-card-anthropic-claude-fable-5-capabilities"></a>

***Bedrock 功能***

**使用`bedrock-runtime`端點支援的功能**


| **支援的** | **不支援** | 
| --- | --- | 
|  [See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/model-card-anthropic-claude-fable-5.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/model-card-anthropic-claude-fable-5.html)  | 

***Bedrock 功能***

**使用`bedrock-mantle`端點支援的功能**


| **支援的** | **不支援** | 
| --- | --- | 
|  [See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/model-card-anthropic-claude-fable-5.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/model-card-anthropic-claude-fable-5.html)  | 

***提示快取***

如需詳細資訊，請參閱[提示快取以取得更快速的模型推論](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-caching.html)。


| **支援提示快取** | **每個快取檢查點的字符數量下限** | **每個請求的快取檢查點上限** | **支援的 TTL** | **接受提示快取檢查點的欄位** | 
| --- | --- | --- | --- | --- | 
| 是 | 1,024 | 4 | 5 分鐘、1 小時 | system、messages 與 tools | 

## 內容限制
<a name="model-card-anthropic-claude-fable-5-content-restrictions"></a>

Claude Fable 5 包含封鎖網路安全和生物學中兩用內容的分類器。當分類器封鎖請求時，API 會傳回標準 HTTP 200 回應`stop_reason: "refusal"`與包含限制類別的`stop_details`物件。此模型的拒絕率明顯高於先前的 Claude 模型。

客戶應該將 `stop_reason: "refusal"`作為主要回應路徑處理。提示階段拒絕 （在推論開始之前封鎖） 不會計費。中串流拒絕 （在部分輸出後封鎖） 會針對區塊之前產生的權杖計費。

## 定價
<a name="model-card-anthropic-claude-fable-5-pricing"></a>

如需定價，請參閱 [Amazon Bedrock 定價](https://aws.amazon.com/bedrock/pricing/)頁面。

## 程式設計存取
<a name="model-card-anthropic-claude-fable-5-programmatic-access"></a>

使用以下模型 IDs和端點 URLs以程式設計方式存取此模型。如需可用 APIs和端點的詳細資訊，請參閱[支援的 APIs](https://docs.aws.amazon.com/bedrock/latest/userguide/apis.html)和[支援的端點](https://docs.aws.amazon.com/bedrock/latest/userguide/endpoints.html)。


| **端點** | **模型 ID** | **區域端點 URL** | **地理推論 ID** | **全域推論 ID** | 
| --- | --- | --- | --- | --- | 
| bedrock-runtime | anthropic.claude-fable-5 | https://bedrock-runtime.{region}.amazonaws.com | `us.anthropic.claude-fable-5`<br />`eu.anthropic.claude-fable-5` | global.anthropic.claude-fable-5 | 
| bedrock-mantle | anthropic.claude-fable-5 | https://bedrock-mantle.{region}.api.aws/anthropic/v1/messages | N/A | N/A | 

*例如，如果 region 是 us-east-1 （維吉尼亞北部），則 bedrock-runtime 端點 URL 將為 "https://bedrock-runtime.us-east-1.amazonaws.com"，bedrock-mantle 則為 "https://bedrock-mantle.us-east-1.api.aws"。*

## 服務層
<a name="model-card-anthropic-claude-fable-5-tiers"></a>

Amazon Bedrock 提供多個服務層，以符合您的工作負載需求。**Standard** pay-per-token存取，無需任何承諾。**優先順序**透過以時間為基礎的承諾提供更高的輸送量。**Flex** 為彈性、non-time-sensitive工作負載提供較低成本的存取。**預留** 提供專用輸送量，並提供可預測工作負載的期限承諾。如需詳細資訊，請參閱 [服務方案](https://docs.aws.amazon.com/bedrock/latest/userguide/service-tiers-inference.html)。


| **標準** | **優先順序** | **Flex** | **預留** | 
| --- | --- | --- | --- | 
| ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | 

## 區域可用性
<a name="model-card-anthropic-claude-fable-5-regional-availability"></a>

***區域可用性一目了然***

Bedrock 提供三種推論選項：**為嚴格合規，區域內**將請求保留在單一 區域內，地理 （美國、歐洲等） 內區域間的**地理跨區域**路由可提高輸送量，同時遵守資料駐留，而全球**跨區域**路由則可在無駐留限制的情況下，在全球任何地方提供最大輸送量。如需詳細資訊，請參閱 [依模型的區域可用性](models-region-compatibility.md)頁面。


| **區域** | **區域內** | **地理** | **全域** | 
| --- | --- | --- | --- | 
| us-east-1 （維吉尼亞北部） | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| us-east-2 （俄亥俄） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| us-west-1 （加利佛尼亞北部） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| us-west-2 （奧勒岡） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ca-central-1 （加拿大） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ca-west-1 （卡加利） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| eu-central-1 （法蘭克福） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| eu-central-2 （蘇黎世） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| eu-north-1 （斯德哥爾摩） | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| eu-south-1 （米蘭） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| eu-south-2 （西班牙） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| eu-west-1 （愛爾蘭） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| eu-west-2 （倫敦） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| eu-west-3 （巴黎） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-east-2 （台北） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-northeast-1 （東京） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-northeast-2 （首爾） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-northeast-3 （大阪） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-south-1 （孟買） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-south-2 （海德拉巴） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-southeast-1 （新加坡） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-southeast-2 （雪梨） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-southeast-3 （雅加達） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-southeast-4 （墨爾本） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-southeast-5 （馬來西亞） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-southeast-6 （紐西蘭） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-southeast-7 （泰國） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| il-central-1 （特拉維夫） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| me-central-1 （阿拉伯聯合大公國） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| me-south-1 （巴林） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| af-south-1 （開普敦） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| sa-east-1 （聖保羅） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| mx-central-1 （墨西哥） | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/icons/icon-yes.png) | 

## 資料保留
<a name="model-card-anthropic-claude-fable-5-data-retention"></a>

若要使用此模型，您必須`provider_data_share`選擇透過資料保留 API 將資料保留模式設定為 來提供資料共用。啟動時此設定沒有主控台 UI。如需詳細資訊，請參閱 [Amazon Bedrock 濫用偵測](https://docs.aws.amazon.com/bedrock/latest/userguide/abuse-detection.html)。

## 配額和限制
<a name="model-card-anthropic-claude-fable-5-quotas"></a>

您的 AWS 帳戶具有預設配額，可維持服務的效能，並確保適當使用 Amazon Bedrock。指派給帳戶的預設配額可能會根據區域因素、付款歷史記錄、詐騙使用量和/或配額[增加請求](https://docs.aws.amazon.com/bedrock/latest/userguide/quotas-increase.html)的核准而更新。如需詳細資訊，請參閱 [Amazon Bedrock 的配額](quotas.md) 文件並查看模型[的限制](https://docs.aws.amazon.com/general/latest/gr/bedrock.html#limits_bedrock)。

## 範例程式碼
<a name="model-card-anthropic-claude-fable-5-sample-code"></a>

**步驟 1 - AWS 帳戶：**如果您已經有 AWS 帳戶，請略過此步驟。如果您是初次使用 AWS，請註冊 [AWS 帳戶](https://portal.aws.amazon.com/billing/signup)。

**步驟 2 - API 金鑰：**前往 [Amazon Bedrock 主控台](https://console.aws.amazon.com/bedrock/home#/api-keys/long-term/create)並產生長期 API 金鑰。

**步驟 3 - 取得 SDK：**若要使用此入門指南，您必須已安裝 Python。然後，根據您使用的 APIs相關軟體。

```
pip install boto3
```

**步驟 4 - 設定環境變數：**設定您的環境以使用 API 金鑰進行身分驗證。

```
AWS_BEARER_TOKEN_BEDROCK="<provide your Bedrock API key>"
```

**步驟 5 - 執行您的第一個推論請求：**將檔案儲存為 `bedrock-first-request.py`

```
import json
import boto3

client = boto3.client('bedrock-runtime', region_name='us-east-1')
response = client.invoke_model(
    modelId='anthropic.claude-fable-5',
    body=json.dumps({
        'messages': [{'role': 'user', 'content': 'Can you explain the features of Amazon Bedrock?'}],
        'max_tokens': 1024
    })
)
print(json.loads(response['body'].read()))
```

```
pip install -U "anthropic[bedrock]"
```

**步驟 4 - 設定環境變數：**設定您的環境以使用 API 金鑰進行身分驗證。

```
AWS_BEARER_TOKEN_BEDROCK="<provide your Bedrock API key>"
```

**步驟 5 - 執行您的第一個推論請求：**將檔案儲存為 `bedrock-first-request.py`

```
from anthropic import AnthropicBedrockMantle

client = AnthropicBedrockMantle(aws_region="us-east-1")

message = client.messages.create(
    model="anthropic.claude-fable-5",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Hello, Claude"}],
)

print(message.content[0].text)
```