View a markdown version of this page

GPT-5.6 Sol - Amazon Bedrock

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

GPT-5.6 Sol

Icon showing a circular pattern with interwoven curved segments forming a pinwheel design. OpenAI — GPT-5.6 Sol

模型詳細資訊

GPT-5.6 Sol 是目前最強大的 OpenAI 模型,在編碼、網路安全和科學研究方面提供前沿推理和state-of-the-art代理效能。如需模型開發和效能的詳細資訊,請參閱模型/服務卡。

輸入模式 輸出模式
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. 影像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. 語音
Green circle with white checkmark icon. 文字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. 影片

支援的端點和 APIs

下表顯示 GPT-5.6 Sol 支援哪些端點和 APIs。如需詳細資訊,請參閱Amazon Bedrock 支援的 APIs及Amazon Bedrock 支援的端點。

端點支援

端點 支援的
bedrock-runtime supported
bedrock-mantle supported

bedrock-runtime端點上支援的 APIs

訊息 回應 聊天完成 Converse Invoke
not-supported supported supported supported not-supported

bedrock-mantle端點上支援的 APIs

訊息 回應 聊天完成 Converse Invoke
not-supported supported supported not-supported not-supported
注意

在 上bedrock-mantle,兩個 APIs都使用/openai/v1基本路徑,而不是 /v1。搭配此模型使用任一 API:

  • 對於回應,請使用 /openai/v1/responses。

  • 對於聊天完成,請使用 /openai/v1/chat/completions。

提示

我們建議您盡可能將bedrock-runtime端點用於新應用程式。如需詳細資訊,請參閱 Amazon Bedrock 支援的端點。

功能和功能

Bedrock 功能

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

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

支援的 不支援

定價

標準方案的所有價格均以每 100 萬個字符美元為單位。

商業區域價格包含比 OpenAI 費率多 10% 的費用。您不需要新增此費用。

此模型不支援 Priority 和 Flex 方案。

商業區域 — 短內容 (27 萬個輸入字符或更少)

推論選項 輸入 輸入 — 30 公尺快取寫入 輸入 — 快取讀取 輸出
區域內4.40 美元5.50 美元0.44 美元22.00 美元
Geo CRIS4.40 美元5.50 美元0.44 美元22.00 美元
全域 CRIS4.00 美元5.00 美元0.40 美元20.00 美元

商業區域 — 長內容 (超過 272K個輸入字符)

推論選項 輸入 輸入 — 30 公尺快取寫入 輸入 — 快取讀取 輸出
區域內8.80 美元11.00 美元0.88 美元33.00 美元
Geo CRIS8.80 美元11.00 美元0.88 美元33.00 美元
全域 CRIS8.00 美元10.00 美元0.80 美元30.00 美元

程式設計存取

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

端點 模型 ID 區域端點 URL 地理推論 ID 全域推論 ID
bedrock-mantle openai.gpt-5.6-sol https://bedrock-mantle.{region}.api.aws/openai/v1 不支援 不支援
bedrock-runtime openai.gpt-5.6-sol 不支援 us.openai.gpt-5.6-sol global.openai.gpt-5.6-sol

例如,如果區域是 us-east-1 (維吉尼亞北部),則 bedrock-mantle 端點 URL 將為 "https://bedrock-mantle.us-east-1.api.aws/openai/v1"。在 上bedrock-runtime,基本 URL 為「https://bedrock-runtime.{region}.amazonaws.com/openai/v1」,請求必須將地理跨區域推論 ID 命名us.openai.gpt-5.6-sol為模型。

服務層

Amazon Bedrock 提供多種服務層,以符合您的工作負載需求。Standard 提供pay-per-token存取 (設定"service_tier": "default"或省略 欄位)。Priority 提供價格溢價最快的回應時間 (設定 "service_tier": "priority")。Flex 為彈性、non-time-sensitive的工作負載提供較低成本的存取 (設定 "service_tier": "flex")。預留會提供專用輸送量與可預測工作負載的期限承諾;它會在帳戶層級設定,而不是根據請求設定 (請聯絡您的 AWS 帳戶團隊啟用)。如需詳細資訊,請參閱 服務方案。

標準 優先順序 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.

區域可用性

區域可用性一目了然

Amazon Bedrock 提供三種推論選項:為嚴格合規,區域內將請求保留在單一區域內、在遵守資料駐留時跨區域 (例如美國、歐洲和亞太區域) 的地理跨區域路由,以及在沒有駐留限制的情況下在全球任何地方進行全球跨區域路由。如需詳細資訊,請參閱 依模型的區域可用性頁面。

可用性因端點而異。

使用bedrock-mantle端點的可用性

區域 區域內 地理 全域
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.
us-east-2 (俄亥俄)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.

使用bedrock-runtime端點的可用性

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

配額和限制

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

在bedrock-runtime端點上,限制會以每分鐘字符數 (TPM) 管理,燒毀率為 10 倍,其中 1 個輸出字符會耗用 10 個字符。

範例程式碼

步驟 1 - AWS 帳戶:如果您已經有 AWS 帳戶,請略過此步驟。如果您是新手 AWS,請註冊 AWS 帳戶。

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

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

針對這兩個 APIs,選擇 OpenAI 開發套件索引標籤。

OpenAI SDK
pip install openai

步驟 4 - 設定環境變數

設定您的環境以使用 API 金鑰進行身分驗證。

bedrock-mantle
OPENAI_API_KEY="<provide your Bedrock API key>" OPENAI_BASE_URL="https://bedrock-mantle.us-east-1.api.aws/openai/v1"
bedrock-runtime
OPENAI_API_KEY="<provide your Bedrock API key>" OPENAI_BASE_URL="https://bedrock-runtime.us-east-1.amazonaws.com/openai/v1"
注意

在 上bedrock-runtime,將跨區域推論描述檔命名為模型 - us.openai.gpt-5.6-sol或 global.openai.gpt-5.6-sol。此模型不適用於該端點的區域內推論。除了推論設定檔之外,您帳戶的預設專案 bedrock:InvokeModel (arn:aws:bedrock:{region}:{account-id}:project/default) 還需要您的 IAM 身分。

步驟 5 - 執行您的第一個推論請求

將檔案儲存為 bedrock-first-request.py

bedrock-mantle

使用步驟 4 - 設定環境變數中的設定。選擇 bedrock-mantle () 索引標籤。聊天索引標籤使用聊天完成 API。

Responses API
from openai import OpenAI client = OpenAI() response = client.responses.create( model="openai.gpt-5.6-sol", input="Can you explain the features of Amazon Bedrock?" ) print(response)
Chat
from openai import OpenAI client = OpenAI() response = client.chat.completions.create( model="openai.gpt-5.6-sol", messages=[{"role": "user", "content": "Can you explain the features of Amazon Bedrock?"}] ) print(response)

bedrock-runtime:OpenAI 開發套件

使用步驟 4 - 設定環境變數中的設定。選擇 bedrock-runtime () 索引標籤。使用回應 API 傳送您的請求。

Responses API
from openai import OpenAI client = OpenAI() response = client.responses.create( model="us.openai.gpt-5.6-sol", input="Can you explain the features of Amazon Bedrock?" ) print(response)