Available for Enterprise organizations where OpenAI model routing is enabled. Contact sales to learn more.
This feature is only supported in AWS EC2 Runners.
Prerequisites
- Your organization has OpenAI model routing enabled.
- You have an AWS EC2 runner configured in Ona.
- You have a Bedrock Mantle endpoint and token.
- The runner can reach the Bedrock Mantle endpoint over HTTPS.
- For GPT-6 Sol and Luna, your AWS account has access to the selected model and the environment has an updated Codex Agent with Bedrock routing for these models.
Configure the endpoint
Use the Bedrock Mantle endpoint for your AWS region:openai.gpt-6-sol or openai.gpt-6-luna when you select the corresponding model. Both models support Standard speed and Low through Max reasoning on Bedrock. Fast speed and Ultra reasoning are unavailable.
Add the integration with the UI
- Go to the Runners settings page.
- Select the AWS EC2 runner where you want to configure Bedrock Mantle.
- Scroll to LLM Providers.
- Click Configure.
- Select AWS Bedrock Mantle.
- Enter your Bedrock Mantle endpoint.
- Paste the Bedrock Mantle token into API Key.
- Click Create Integration.

Add the integration with the CLI
Verify the integration
- Create a new environment with the configured AWS EC2 runner.
- Start Codex Agent and select a supported model, such as GPT-6 Sol or GPT-6 Luna.
- Confirm that the agent can answer a simple code question.
Use web search
Codex Agent can use native web search with supported Mantle models and regions. The IAM identity behind your token needsbedrock-websearch:InvokeSearch and bedrock-websearch:InvokeFetch permissions. Codex uses the Bedrock web index and cache with external web access disabled. See AWS web search documentation for model and regional availability.
Server-side web search is unavailable through the Bedrock Runtime OpenAI endpoint.
Troubleshooting
AWS Bedrock Mantle is not shown
AWS Bedrock Mantle is not shown
AWS Bedrock Mantle is available only on AWS EC2 runners when OpenAI model routing is enabled for your organization. It is not shown on GCP runners.
Endpoint validation fails
Endpoint validation fails
Use an endpoint on the
bedrock-mantle.<region>.api.aws domain. For OpenAI model routing, include the /openai/v1/responses path.Token authentication fails
Token authentication fails
Confirm that the value in API Key is a Bedrock Mantle token. Mantle does not use a Bedrock API key or the IAM-based credential flow from the deprecated Anthropic integration.