Paths · Bedrock · Responses

Bedrock on the Responses door.

Same prefix, for the OpenAI models that account has enabled on the Responses API. Codex uses this. gpt-oss stays on Chat Completions. Claude stays on Messages.

The call

model = "bedrock/YOUR_BEDROCK_MODEL_ID"
model_provider = "rea"

[model_providers.rea]
name = "REA ControlPlane"
base_url = "https://api.reacontrolplane.com/v1"
wire_api = "responses"
env_key = "REA_CODEX_KEY"
export REA_CODEX_KEY="rea_YOUR_REA_KEY.YOUR_BEDROCK_API_KEY"

Three routes, one Bedrock API key. AWS bills that account. REA does not. Amazon is not a partner of REA. The default region is us-east-2. Another region is bedrock: plus a region from the list, then the model id. A free-form host is not accepted. The prefix is removed before the call.

A model the account has not enabled for that route comes back as: this model is not supported on this Bedrock route. Invoke and Converse are not translated.

The same Responses door without Bedrock is Codex CLI.