Skip to main content
Amazon Bedrock Mantle provides OpenAI-compatible API endpoints for model inference on AWS. Access models from Anthropic, Mistral, NVIDIA, Qwen, DeepSeek, Google, and more through familiar OpenAI SDK patterns.

AWS Bedrock Mantle Documentation

Quick Start

Add Provider in Model Catalog

  1. Go to Model Catalog in Portkey
  2. Search for Bedrock Mantle and select it
  3. Enter your AWS credentials

AWS Access Key

Use AWS Access Key ID, AWS Secret Access Key, and AWS Region.Credential Guide

AWS Assumed Role

Use AWS Role ARN, optional External ID, and AWS Region.Setup Guide

Supported Endpoints

Bedrock Mantle supports four API endpoints. Each model works on specific endpoints based on its provider.

Chat Completions β€” /v1/chat/completions

Works with non-Anthropic models (Mistral, NVIDIA, Qwen, Google, DeepSeek, MiniMax, Moonshot, Z AI, Writer, OpenAI).

Messages β€” /v1/messages

Works with Anthropic models. Uses the Anthropic Messages API format.

Extended Thinking

Bedrock Mantle uses thinking.type: "adaptive" with output_config.effort instead of the standard Anthropic thinking.type: "enabled" with budget_tokens.

Responses β€” /v1/responses

Works with select models (e.g., openai.gpt-oss-120b, openai.gpt-oss-20b). Supports create, get, and delete operations.

Count Tokens β€” /v1/messages/count_tokens

Count input tokens for Anthropic models without making an inference call.
Response:

Endpoint-Model Compatibility

Not all models support all endpoints. Use this table as a quick reference:
Use the /v1/models endpoint on Mantle directly to discover the full list of models available in your AWS account and region.

Streaming

Enable streaming by setting stream: true.

Limitations

  • Not all models support all endpoints. Each model on Mantle only works on specific endpoints based on its provider family. For example, Anthropic models only work on /v1/messages, not /v1/chat/completions. See the compatibility table above.
  • Model availability is account and region specific. The models available to you depend on your AWS account’s access permissions and the region you’re using. Some models (e.g., research previews) require explicit allowlisting by AWS.
  • Extended thinking uses a different format. Mantle requires thinking.type: "adaptive" with output_config.effort instead of the standard Anthropic thinking.type: "enabled" with budget_tokens.
  • /v1/responses input items listing is not supported. The GET /v1/responses/:id/input_items endpoint is not available on Mantle.
  • Prompt caching minimum threshold. Anthropic prompt caching on Mantle requires the cached content to meet a minimum token threshold (typically 2048+ tokens). Smaller prompts won’t trigger caching.

Supported Models

Model availability depends on your AWS account and region. Discover available models with:

Bedrock Mantle Model List


Supported Regions

Set the region when creating your provider in Model Catalog.

Next Steps

Explore Portkey features that work with Bedrock Mantle:

SDK Reference

Python and Node.js SDK documentation.

Gateway Configs

Add fallbacks, retries, load balancing, and caching.

Observability

Track logs, traces, costs, and latency.

Prompt Management

Version and manage prompts across models.
Last modified on April 23, 2026