Get started with OpenAI GPT-5.5, GPT-5.4 models, and Codex on Amazon Bedrock

Dashboard displaying Amazon Bedrock console with model statistics, usage graphs, and resource monitoring

The practical shift here is not just model availability, but where the model boundary sits in the stack. By routing OpenAI model calls through Amazon Bedrockโ€™s Responses API, teams inherit Bedrockโ€™s control plane for authentication, regional placement, and inference behavior. That matters for architectures that already standardize on AWS for networking, identity, and auditability: the model becomes another managed dependency, but one that must still fit existing guardrails for VPC access patterns, secrets handling, and token-based cost controls.

Codex on Bedrock changes the operational shape of developer tooling. The same model can be consumed from CLI, desktop app, IDE extensions, or SDK-based workflows, which creates a common inference path across local and automated development environments. For platform teams, that simplifies policy enforcement, but it also raises consistency questions: configuration drift between user machines, region settings, and Bedrock authentication modes can produce different behavior even when the underlying model ID is the same. In practice, rollout planning will need clear defaults for region, credentials, and environment variable management.

The article also hints at performance and resilience trade-offs that architects should not ignore. Bedrock queues requests during demand spikes rather than rejecting them, which helps availability but can mask contention until latency becomes the problem. Because perceived speed depends on reasoning effort, output size, cache hits, tool use, and region choice, teams should benchmark realistic prompts instead of assuming published model speed maps to application latency. For regulated workloads, the region-bound processing model is the key architectural constraint; for software engineering teams, the bigger question is how long-horizon agentic workflows are governed, monitored, and costed as usage scales.


As we previewed in Whatโ€™s Next with AWS 2026, weโ€™re announcing the availability of OpenAI GPT-5.5, GPT-5.4 models, and Codex on Amazon Bedrock, giving you access to frontier models and a coding agent for software development. According to OpenAI, GPT-5.5 and GPT-5.4 models are excellent for coding, reasoning, agentic workflows, and complex professional work. You can use GPT-5.5 for the hardest customer workloads and GPT-5.4 for the best price-performance. You can call them through Responses API on Amazon Bedrockโ€™s next-generation inference engine built for high performance, reliability, and security. Codex is the OpenAI coding agent for AI-powered software development. According to OpenAI, more than 4 million developers use Codex every week to write, refactor, debug, test, and validate code across large codebases. With GPT-5.5 powering inference, Codex introduces a new class of intelligence optimized for complex, long-horizon developer workflows. You can use the Codex App, the Codex CLI, and IDE integrations with Visual Studio Code, JetBrains, and Xcode, with all model inference routed through the Responses API on Amazon Bedrock. For customers with data residency requirements, all processing stays within the Bedrock Region you select. You pay per token with no seat licenses and no per-developer commitments. GPT-5.5 and GPT-5.4 models on Bedrock in action
You can access the model programmatically using the OpenAI Responses API to call the bedrock-mantle endpoints through the OpenAI SDK, command-line tools such as curl. Letโ€™s start with OpenAI SDK for Python. Install OpenAI SDK.
pip install -U openai
Set the environment variables for authentication.
export OPENAI_BASE_URL="https://bedrock-mantle.us-east-2.api.aws/openai/v1"
export OPENAI_API_KEY="<BEDROCK_API_KEY>"
export BEDROCK_OPENAI_MODEL_ID="openai.gpt-5.5"
Here is a sample Python code to call GPT-5.5 model on Bedrock:
import os
from openai import OpenAI
 
client = OpenAI(
    base_url=os.environ["OPENAI_BASE_URL"],
    api_key=os.environ["OPENAI_API_KEY"],
)
 
response = client.responses.create(
    model=os.environ["BEDROCK_OPENAI_MODEL_ID"],
    input=[
        {
            "role": "developer",
            "content": "You are a software engineer with excellent AWS cloud knowledge. Be concise and practical.",
        },
        {
            "role": "user",
            "content": "Design a distributed architecture on AWS in Python that should support 100k requests per second across multiple geographic regions.",
        },
    ],
    reasoning={"effort": "medium"},
    text={"verbosity": "low"},
)
 
print(response.output_text)
You can call directly the model endpoint using curl.
curl "$OPENAI_BASE_URL/responses" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -d '{
    "model": "openai.gpt-5.5",
    "input": [
      {
        "role": "developer",
        "content": "You are a software engineer with excellent AWS cloud knowledge."
      },
      {
        "role": "user",
        "content": "Design a distributed architecture on AWS in Python that should support 100k requests per second across multiple geographic regions."
      }
    ],
    "reasoning": {"effort": "medium"},
    "text": {"verbosity": "low"}
  }'
You can use the Responses API when you want to use model-managed multi-turn state, need hosted tools, function tools, or richer tool orchestration, and run background or long-running work. To learn more, visit the OpenAI Cookbook Responses examples and getting started guide. Using OpenAI Codex with GPT-5.5 on Amazon Bedrock
You can download Codex CLI, Codex App or Codex VS Code extension and get started with the Bedrock for model inference. Codex supports two Bedrock authentication pathways: Amazon Bedrock API key or AWS SDK credential chain. If you set AWS_BEARER_TOKEN_BEDROCK, Codex uses it first; otherwise Codex falls back to AWS SDK credential chain. Set AWS_BEARER_TOKEN_BEDROCK in the environment that Codex will read:
export AWS_BEARER_TOKEN_BEDROCK=<your-bedrock-api-key>
Then, configure your preferred Region and set the model ID to openai.gpt-5.5 in ~/.codex/config.toml, which is required for Bedrock API-key authentication. You can also choose openai.gpt-5.4, openai.gpt-oss-120b, or openai.gpt-oss-20b. For the desktop app or VS Code extension, put any environment variables the app needs in ~/.codex/.env.
model = "openai.gpt-5.5"
model_provider = "amazon-bedrock"
[model_providers.amazon-bedrock.aws]
region = "us-east-2"
Restart the desktop app or VS Code extension after changing ~/.codex/config.toml or ~/.codex/.env. In Codex CLI, you should see a /status tab that looks like this: In Codex App, you can use GPT-5.5 model through Amazon Bedrock inference. To learn more about how to configure Codex to use OpenAI models on Amazon Bedrock, visit Use Codex with Amazon Bedrock. Things to know
Let me share some important technical details that I think youโ€™ll find useful.
  • Model latency: OpenAI model information positions GPT-5.5 as fast and GPT-5.4 as medium speed, but customer-perceived latency depends on reasoning effort, output length, tool calls, background mode, Region, quotas, throttling, prompt size, and cache hits. Start GPT-5.5 at medium effort. Start GPT-5.4 with effort set explicitly rather than relying on its none default.
  • Scaling and capacity: Bedrockโ€™s new inference engine is designed to rapidly provision and serve capacity across many different models. When accepting requests, we prioritize keeping steady state workloads running, and ramp usage and capacity rapidly in response to changes in demand. During periods of high demand, requests are queued, rather than rejected.
Now available
OpenAI GPT models and Codex on Amazon Bedrock are available today: GPT-5.5 model in the US East (Ohio) Region, GPT-5.4 model in the US East (Ohio) and US West (Oregon) Regions. Check the full list of Regions for future updates. To learn more, visit the OpenAI on Amazon Bedrock page and the Amazon Bedrock pricing page. Give GPT-5.5, GPT-5.4 models, and Codex on Amazon Bedrock a try today and send feedback to AWS re:Post for Amazon Bedrock or through your usual AWS Support contacts. โ€” Channy Updated on June, 1, 2026 โ€“ The GPT 5.5 and 5.4 models now support the Responses API only on Amazon Bedrock, and console support is coming soon. Updated on June, 3, 2026 โ€“ Amazon Bedrock now supports GPTโ€‘5.4 from OpenAI in AWS GovCloud (US-West) Region. Updated on June, 7, 2026 โ€“ You can use the GPT 5.5 and 5.4 models in the new Amazon Bedrock console.
Original Post

Enjoyed this article? Sign up for our newsletter to receive regular insights and stay connected.