Build
This section covers how to interact with Amazon Bedrock programmatically. Choose an endpoint, pick an API, and start making inference requests.
Quick start
| Your situation | Recommended path |
|---|---|
| Use OpenAI APIs | Use the bedrock-mantle endpoint with the Responses API |
| Use Anthropic APIs | Use the Messages API (available on both bedrock-mantle and bedrock-runtime; we recommend bedrock-mantle) |
| 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 |