Skip to main content

Amazon Bedrock Mantle

Velaclaw includes a bundled Amazon Bedrock Mantle provider that connects to the Mantle OpenAI-compatible endpoint. Mantle hosts open-source and third-party models (GPT-OSS, Qwen, Kimi, GLM, and similar) through a standard /v1/chat/completions surface backed by Bedrock infrastructure.

Getting started

Choose your preferred auth method and follow the setup steps.
Best for: environments where you already have a Mantle bearer token.
1

Set the bearer token on the gateway host

Optionally set a region (defaults to us-east-1):
2

Verify models are discovered

Discovered models appear under the amazon-bedrock-mantle provider. No additional config is required unless you want to override defaults.

Automatic model discovery

When AWS_BEARER_TOKEN_BEDROCK is set, Velaclaw uses it directly. Otherwise, Velaclaw attempts to generate a Mantle bearer token from the AWS default credential chain. It then discovers available Mantle models by querying the region’s /v1/models endpoint.
The bearer token is the same AWS_BEARER_TOKEN_BEDROCK used by the standard Amazon Bedrock provider.

Supported regions

us-east-1, us-east-2, us-west-2, ap-northeast-1, ap-south-1, ap-southeast-3, eu-central-1, eu-west-1, eu-west-2, eu-south-1, eu-north-1, sa-east-1.

Manual configuration

If you prefer explicit config instead of auto-discovery:

Advanced notes

Reasoning support is inferred from model IDs containing patterns like thinking, reasoner, or gpt-oss-120b. Velaclaw sets reasoning: true automatically for matching models during discovery.
If the Mantle endpoint is unavailable or returns no models, the provider is silently skipped. Velaclaw does not error; other configured providers continue to work normally.
Bedrock Mantle is a separate provider from the standard Amazon Bedrock provider. Mantle uses an OpenAI-compatible /v1 surface, while the standard Bedrock provider uses the native Bedrock API.Both providers share the same AWS_BEARER_TOKEN_BEDROCK credential when present.

Amazon Bedrock

Native Bedrock provider for Anthropic Claude, Titan, and other models.

Model selection

Choosing providers, model refs, and failover behavior.

OAuth and auth

Auth details and credential reuse rules.

Troubleshooting

Common issues and how to resolve them.