Overview
Bedrock Mantle is a single AWS endpoint, served on thebedrock-mantle.{region}.api.aws host, that exposes a broad model catalog through two surfaces:
- Native Anthropic Messages API (
/anthropic/v1/messages) for Claude models. - OpenAI-compatible API (
/v1/...or/openai/v1/...) for OpenAI-family (gpt-*), Gemma, and other open models.
bedrock_mantle/<model>.
Bedrock Mantle is distinct from the Bedrock provider, which uses the Converse / InvokeModel APIs on
bedrock-runtime. Mantle is its own provider with its own credentials block (bedrock_mantle_key_config).Model IDs
Mantle model IDs are sent verbatim to the endpoint and differ from the Converse IDs used by the Bedrock provider — there is no cross-region prefix (global./us.) and no version suffix (-v1:0):
| Surface | Format | Examples |
|---|---|---|
| Native Anthropic (Claude) | anthropic.{model} | anthropic.claude-opus-4-8, anthropic.claude-haiku-4-5 |
| OpenAI-compatible | openai.{model} / google.{model} / … | openai.gpt-oss-120b, openai.gpt-5.5, google.gemma-4-31b |
/v1/models catalog). An optional leading region/ prefix may be used to address a specific region per request (e.g. bedrock_mantle/us-west-2/anthropic.claude-opus-4-8).
Supported Operations
| Operation | Supported |
|---|---|
| Chat Completions (+ streaming) | ✅ |
| Responses API (+ streaming) | ✅ |
| Tool calling (+ streaming) | ✅ |
| Vision (image input, Claude) | ✅ |
| Reasoning / extended thinking (Claude) | ✅ |
| Structured outputs | ✅ |
| Prompt caching (Claude) | ✅ |
| List models | ✅ |
| Text completion, embeddings, batch, files, images, audio, count tokens, rerank | ❌ |
Setup & Configuration
Bedrock Mantle authenticates with AWS SigV4 (thebedrock-mantle signing service) or an optional Bearer API key. A region is required on the key config (there is no default).
1. SigV4 — Explicit Credentials
session_token is optional (only needed for temporary credentials).
2. SigV4 — Inherited AWS Credentials / IAM Role
Leaveaccess_key and secret_key empty and Bifrost inherits credentials from the AWS SDK default chain — IRSA (IAM Roles for Service Accounts), EC2 instance profile, or AWS_* environment variables. Only region is required.
role_arn (and optionally external_id / session_name):
3. API Key (Bearer)
Alternatively, authenticate with a Bedrock Mantle API key sent as a Bearer token. Set the top-level keyvalue and leave the SigV4 credentials empty (region is still required):
Usage
Address models with thebedrock_mantle/ prefix:
bedrock_mantle/anthropic.claude-opus-4-8 (native Anthropic) and bedrock_mantle/openai.gpt-oss-120b (OpenAI-compatible) — Bifrost routes each to the right API.
