View a markdown version of this page

Claude Mythos 5 - Amazon Bedrock

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

Claude Mythos 5

Anthropic — Claude Mythos 5

模型詳細資訊

Claude Mythos 5 是 Anthropic 最強大的網路安全和生命科學模型,包括漏洞探索、藥物設計和生物防禦篩選。由於這些網域的雙重使用性質,存取目前受到限制。

此模型是預覽版,可供您做為「Beta Service」使用,如 AWS 服務條款所定義。它受您與 AWS、AWS 服務條款和適用模型 EULA 的協議約束。

  • 模型啟動日期:2026 年 6 月 9 日

  • 模型 EOL 日期:不適用

  • 最終使用者授權合約和使用條款:檢視

  • 模型生命週期:作用中

  • 內容視窗:1M個字符

  • 最大輸出字符:128K

  • 取樣參數:溫度必須為 1.0 或 unset;top_p 必須 ≥ 0.99 且 < 1.0;或 unset;不支援 top_k

  • 原因:支援 (適應性思維一律開啟且無法停用;工作量層級可設定)

  • 知識截止日:2026 年 1 月

  • Marketplace 產品 ID:prod-kyryzgfmbtwtc

輸入模式 輸出模式 支援的 APIs 支援的端點
Red circle with white X icon indicating error, cancel, or close action. 音訊Red circle with white X icon indicating error, cancel, or close action. 內嵌Red circle with white X icon indicating error, cancel, or close action. ResponsesRed circle with white X icon indicating error, cancel, or close action. bedrock-runtime
Green circle with white checkmark icon. 影像Red circle with white X icon indicating error, cancel, or close action. 影像Red circle with white X icon indicating error, cancel, or close action. Chat CompletionsGreen circle with white checkmark icon. bedrock-mantle
Red circle with white X icon indicating error, cancel, or close action. 語音Red circle with white X icon indicating error, cancel, or close action. 語音Red circle with white X icon indicating error, cancel, or close action. Invoke
Green circle with white checkmark icon. 文字Green circle with white checkmark icon. 文字Red circle with white X icon indicating error, cancel, or close action. Converse
Red circle with white X icon indicating error, cancel, or close action. 影片Red circle with white X icon indicating error, cancel, or close action. 影片Green circle with white checkmark icon. Messages

功能和功能

Bedrock 功能

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

提示快取

如需詳細資訊,請參閱提示快取以取得更快速的模型推論

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

定價

如需定價,請參閱 Amazon Bedrock 定價頁面。

程式設計存取

使用以下模型 IDs和端點 URLs以程式設計方式存取此模型。如需可用 APIs和端點的詳細資訊,請參閱支援的 APIs支援的端點

端點 模型 ID 區域端點 URL 全域
bedrock-mantle anthropic.claude-mythos-5 https://bedrock-mantle.{region}.api.aws/anthropic/v1/messages N/A

服務層

Amazon Bedrock 提供多種服務層,以符合您的工作負載需求。Standard pay-per-token的存取,無需任何承諾。Priority 透過以時間為基礎的承諾提供更高的輸送量。Flex 為彈性、non-time-sensitive工作負載提供較低成本的存取。預留 提供專用輸送量,並承諾可預測工作負載的期間。如需詳細資訊,請參閱 服務方案

標準 優先順序 Flex 預留
Green circle with white checkmark icon. Red circle with white X icon indicating error, cancel, or close action. Red circle with white X icon indicating error, cancel, or close action. Red circle with white X icon indicating error, cancel, or close action.

區域可用性

區域可用性一目了然

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

區域 區域內 地理 全域
us-east-1 (維吉尼亞北部)Green circle with white checkmark icon.Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.

資料保留

若要使用此模型,您必須將資料保留模式設定為 ,以選擇加入提供者資料共用provider_data_share。您可以在 Amazon Bedrock 主控台或透過資料保留 API 進行設定。如需詳細資訊,請參閱 Amazon Bedrock 濫用偵測

配額和限制

您的 AWS 帳戶具有預設配額來維持服務的效能,並確保適當使用 Amazon Bedrock。指派給帳戶的預設配額可能會根據區域因素、付款歷史記錄、詐騙使用量和/或配額增加請求的核准而更新。如需詳細資訊,請參閱 Amazon Bedrock 的配額 文件並查看模型的限制

範例程式碼

步驟 1 - AWS 帳戶:如果您已經有 AWS 帳戶,請略過此步驟。如果您是初次使用 AWS,請註冊 AWS 帳戶

步驟 2 - API 金鑰:前往 Amazon Bedrock 主控台並產生長期 API 金鑰。

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

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-mythos-5", max_tokens=1024, messages=[{"role": "user", "content": "Hello, Claude"}], ) print(message.content[0].text)