> ## Documentation Index
> Fetch the complete documentation index at: https://docs.portkey.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Amazon Bedrock Mantle

> OpenAI-compatible AWS Bedrock inference via the Mantle engine

[Amazon Bedrock Mantle](https://docs.aws.amazon.com/bedrock/latest/userguide/bedrock-mantle.html) is AWS's OpenAI-compatible inference engine for Bedrock models. The `bedrock-mantle` provider in Prisma AIRS AI Gateway routes requests to `bedrock-mantle.{region}.api.aws`, giving you access to Bedrock models via:

* `/v1/chat/completions` (OpenAI Chat Completions)
* `/v1/responses` (OpenAI Responses)
* `/v1/messages` (Anthropic-native, via `bedrock-mantle.{region}.api.aws/anthropic/v1`)

> [!NOTE]
>
> Use `bedrock-mantle` when you want OpenAI-compatible access to Bedrock. For the classic Bedrock runtime (Converse / InvokeModel), use the [`bedrock`](https://docs.portkey.ai/docs/aigw/integrations/llms/bedrock/aws-bedrock) provider.

## Quick Start

```sh cURL theme={"system"}
curl https://aigw.portkey.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $PORTKEY_API_KEY" \
  -d '{
    "model": "@bedrock-mantle-provider/anthropic.claude-sonnet-4-5-20250929-v1:0",
    "messages": [{"role": "user", "content": "Say this is a test"}]
  }'
```

## Add Provider in Model Catalog

Configure a new provider with **Bedrock Mantle** as the provider type. Choose one of the supported auth modes:

| Auth Mode | Required Fields |
| - | - |
| **API Key** | `apiKey` (Amazon Bedrock API key / bearer token) |
| **Assumed Role** | `awsRoleArn`, `awsExternalId`, `awsRegion` |
| **Service Role** (EKS / IRSA) | `awsRegion` (credentials are resolved from the pod's service role) |

`awsRegion` determines which regional endpoint is used (e.g., `us-east-1` → `bedrock-mantle.us-east-1.api.aws`).

## Anthropic Messages API

Requests to `/v1/messages` or chat completions with `anthropic.*` models are routed to the Mantle Anthropic base path (`/anthropic/v1`). Pass the Anthropic version via the `anthropic-version` header or `anthropic_version` in the request body (defaults to `2023-06-01`).

## Related Resources

> **[Amazon Bedrock Mantle Documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/bedrock-mantle.html)**
>
> Official AWS documentation for Bedrock Mantle endpoints, supported regions, and models.


## Related topics

- [Enterprise Gateway](https://docs.portkey.ai/docs/changelog/enterprise.md)
- [Claude Code with Amazon Bedrock](https://docs.portkey.ai/docs/aigw/integrations/libraries/claude-code-bedrock.md)
- [Connect Bedrock with Amazon Assumed Role](https://docs.portkey.ai/docs/aigw/product/model-catalog/connect-bedrock-with-amazon-assumed-role.md)
- [ECS](https://docs.portkey.ai/docs/aigw/self-hosting/hybrid-deployments/aws/ecs.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.