View a markdown version of this page

Build - Amazon Bedrock

Build

This section covers how to interact with Amazon Bedrock programmatically. For new applications, we recommend the bedrock-runtime endpoint. Pick an API, and start making inference requests.

Quick start

Your situation Recommended path
Want a unified AWS-native interface across all models Use the bedrock-runtime endpoint with the Converse API
Need direct model control or non-text modalities Use the bedrock-runtime endpoint with the Invoke API
Migrating from OpenAI APIs Use the bedrock-runtime endpoint with the Responses API or Chat Completions API — same OpenAI shape, plus Amazon Bedrock features such as Guardrails and cross-Region inference.
Migrating from Anthropic APIs Use the bedrock-runtime endpoint with the Messages API