

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

# 概觀
<a name="what-is-bedrock"></a>

Amazon Bedrock 是一項全受管服務，提供來自領導 AI 公司的[高效能基礎模型](models.md)的安全企業級存取權，讓您能夠建置和擴展生成式 AI 應用程式。

## 快速指南
<a name="quickstart"></a>

閱讀 [快速指南](getting-started.md)，在五分鐘內使用 Amazon Bedrock 撰寫您的第一個 API 呼叫。對於新應用程式，我們建議使用 [`bedrock-runtime`](endpoints.md)端點。

------
#### [ Messages API ]

```
from anthropic import Anthropic
from aws_bedrock_token_generator import provide_token

token = provide_token(region="us-east-1")

client = Anthropic(
    base_url="https://bedrock-runtime.us-east-1.amazonaws.com/anthropic",
    api_key=token,
)

response = client.messages.create(
    model="global.anthropic.claude-opus-4-7",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Can you explain the features of Amazon Bedrock?"}]
)
print(response)
```

------
#### [ Responses API ]

```
from openai import OpenAI

client = OpenAI()

response = client.responses.create(
    model="global.openai.gpt-5.6-sol",
    input="Can you explain the features of Amazon Bedrock?"
    )
print(response)
```

------
#### [ Chat Completions API ]

```
from openai import OpenAI

client = OpenAI()

response = client.chat.completions.create(
    model="global.openai.gpt-5.6-sol",
    messages=[{"role": "user", "content": "Can you explain the features of Amazon Bedrock?"}]
    )
print(response)
```

------
#### [ Converse API ]

```
import boto3

client = boto3.client('bedrock-runtime', region_name='us-east-1')
response = client.converse(
    modelId='anthropic.claude-opus-4-7',
    messages=[
        {
            'role': 'user',
            'content': [{'text': 'Can you explain the features of Amazon Bedrock?'}]
        }
    ]
)
print(response)
```

------
#### [ Invoke API ]

```
import json
import boto3

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

------

## 支援的模型
<a name="featured-models"></a>

Amazon Bedrock 支援來自業界領導供應商的 [100 多種基礎模型](models.md)，包括 Amazon、Anthropic、DeepSeek、Moonshot AIMiniMax、、 OpenAI和 xAI。


|  |  |  |  |  |  |  | 
| --- |--- |--- |--- |--- |--- |--- |
| ![Amazon 標誌。](https://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/what-is/nova2pro.png)**Amazon Nova** | ![人類標誌。](https://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/models/claude.png)**Claude** | ![DeepSeek 標誌。](https://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/what-is/deepseek.png)**DeepSeek** | ![月亮 AI 標誌。](https://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/what-is/kimik2.5.png)**金比** | ![MiniMax 標誌。](https://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/what-is/minimax2.1.png)**MiniMax** | ![OpenAI 標誌。](https://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/models/openai.png)**OpenAI** | ![xAI 標誌。](https://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/models/xai.png)**xAI** | 

## 新增內容
<a name="whats-new"></a>
+ [OpenAI GPT-6 Astra 現已在 Amazon Bedrock 上正式推出](https://aws.amazon.com/about-aws/whats-new/2026/09/openai-gpt-6-astra-on-amazon-bedrock/)：GPT-6 Astra 是 OpenAI最新且功能最強大的模型。這可能會在業務任務中進行硬性選擇。它可以撰寫和設計精細的內容。它也可以使用電腦和 Web 瀏覽器。此模型具有輸入和輸出之間共用的 1，050，000 權杖內容視窗，最多可有 128，000 個輸出權杖。如需詳細資訊，請參閱 [GPT-6 Astra](model-card-openai-gpt-6-astra.md) 模型卡。
+ [Amazon Bedrock xAI現提供來自 的 Grok 4.6](https://aws.amazon.com/about-aws/whats-new/2026/08/amazon-bedrock-grok-4-6/)： 的最新旗艦模型，專為長時間執行xAI的客服人員、編碼和知識工作而打造，具有 500K個內容視窗和可設定的推理工作 （低、中、高、高）。適用於提供 Amazon Bedrock 的所有 AWS 區域。如需詳細資訊，請參閱 [Grok 4.6 ](model-card-xai-grok-4-6.md)模型卡。
+ [Amazon Bedrock 擴展 API 支援並新增OpenAI模型的跨區域推論](https://aws.amazon.com/about-aws/whats-new/2026/08/amazon-bedrock-cross-region-openai-v2/)：OpenAIGPT-5.6 Sol、Terra 和 Luna 現在可透過 Responses、Converse 和 Chat Completions APIs 在[`bedrock-runtime`](endpoints.md)端點上提供，現在支援全域和地理跨區域推論，以實現更高的輸送量和更低的每個字符成本 （包括新的美國地理 CRIS)。如需詳細資訊，請參閱[跨區域推論](cross-region-inference.md)。
+ [Amazon Bedrock OpenAI 現在提供 Daybreak Red 和 Daybreak Blue （有限可用性）](https://aws.amazon.com/about-aws/whats-new/2026/08/openai-daybreak-red-and-blue-on-amazon-bedrock/)： OpenAI的 Daybreak 計畫中的專用網路安全模型，可供符合資格的客戶使用。Daybreak Red (GPT-5.6 Cyber) 經過專門訓練，可用於漏洞研究、漏洞重現和緩解開發。Daybreak Blue (GPT-5.6 Sol) 具有針對防禦性網路安全工作校正的保護措施。如需詳細資訊，請參閱 [Daybreak Red：GPT-5.6 Cyber](model-card-openai-gpt-56-cyber.md) and [Daybreak Blue：GPT-5.6 Sol ](model-card-openai-gpt-daybreak-blue-56-sol.md)模型卡。
+ [Web 搜尋現在可在 Amazon Bedrock 中使用](https://aws.amazon.com/about-aws/whats-new/2026/08/amazon-bedrock-web/)：內建的伺服器端工具，可透過 Responses API 中的單一工具使用參數，在目前 Web 知識中建立 Amazon Bedrock 上的 OpenAI GPT 模型，無需加入第三方搜尋廠商。搜尋使用託管的 Web AWS索引，而 Fetch 可以在明確 IAM 控制下選擇性地從外部 Web 擷取。在美國東部 （維吉尼亞北部）、美國東部 （俄亥俄） 和美國西部 （奧勒岡） 提供。如需詳細資訊，請參閱 [Web 搜尋](web-search.md)。
+ [OpenAI GPT-5.6 Sol、Terra 和 Luna 現已在 Amazon Bedrock 中提供](https://aws.amazon.com/about-aws/whats-new/2026/07/openai-gpt-sol-terra/)：從OpenAI進階推理到快速、經濟實惠推論的一系列模型，現在通常可透過 Amazon Bedrock 上的回應 API 取得。如需詳細資訊，請參閱 [GPT-5.6 Sol](model-card-openai-gpt-56-sol.md)、[GPT-5.6 Terra](model-card-openai-gpt-56-terra.md) 和 [GPT-5.6 Luna ](model-card-openai-gpt-56-luna.md)模型卡。

## 開始建置
<a name="start-building"></a>


|  |  | 
| --- |--- |
|  ![具有雙向箭頭的雲端圖示，指出同步或資料傳輸。](https://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/what-is/apis.jpg)  | 探索 Amazon Bedrock 支援的 [APIs](apis.md) 和[端點](endpoints.md)。 | 
|  ![紫色背景上的扳手和螺絲起子圖示。](https://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/what-is/build.jpg)  | 使用 Amazon Bedrock 提供的[提出推論請求](inference.md)操作建置 。 | 
|  ![Amazon Bedrock 模型自訂選項，包括微調、持續預先訓練和分割。](https://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/images/what-is/customize.png)  | [自訂模型，以改善其針對使用案例的效能](custom-models.md) | 