Skip to main content

Overview

Bedrock Mantle is a single AWS endpoint, served on the bedrock-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.
Bifrost dispatches each request to the correct surface automatically based on the model family — you address the provider the same way regardless: 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): You can discover the exact IDs your account serves with a list-models request (the /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

For Claude models, request/response handling (beta headers, cache control, reasoning, message conversion) follows the same rules as the Bedrock provider’s Anthropic behavior — refer to that page for the deep parameter mapping.

Setup & Configuration

Bedrock Mantle authenticates with AWS SigV4 (the bedrock-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

Leave access_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.
To assume an IAM role before requests (works with both explicit and inherited credentials), add 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 key value and leave the SigV4 credentials empty (region is still required):

Usage

Address models with the bedrock_mantle/ prefix:
Both surfaces are addressed identically — 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.