OpenAI on AWS Bedrock After re:Invent 2026: What Changed & How to Use It

OpenAI on AWS Bedrock After re:Invent 2026: What Changed & How to Use It - ailearningguides.com

For years, AWS-native teams that wanted OpenAI models had to run two vendors: their AWS account and a separate OpenAI account with its own keys, billing, and data-handling review. That changes after re:Invent this week. OpenAI and AWS announced an expanded partnership that brings more OpenAI models on Amazon Bedrock, plus agent features, all behind the IAM roles, VPC endpoints, and consolidated billing you already use. If procurement or security review has blocked OpenAI on your team, this removes most of the reason.

Want the complete, hands-on version of this guide?Browse the Library →

What’s actually new with OpenAI models on Amazon Bedrock

The OpenAI AWS partnership at re:Invent 2026 builds on two earlier moves. In August 2025, OpenAI’s open-weight models, gpt-oss-120b and gpt-oss-20b, became available on Bedrock. Later that year, OpenAI signed a multi-year compute deal with AWS. The re:Invent announcement goes further: more of OpenAI’s lineup now sits in the Bedrock model catalog, and OpenAI-powered agents can run on Bedrock’s managed agent infrastructure instead of on servers you maintain.

For most teams, the operational change matters more than the model list. OpenAI models on Bedrock use the same Bedrock Runtime APIs (Converse, InvokeModel, and an OpenAI-compatible Chat Completions endpoint) as Claude, Llama, Mistral, and Amazon Nova. IAM policies control access. Traffic can stay on AWS PrivateLink. Usage appears on your AWS bill and counts toward your committed spend. Logs go to CloudWatch and CloudTrail.

Availability varies. Model access, regions, and features roll out in stages, and the newest models usually launch in a few US regions first. Before you build on a specific model, check the Bedrock console’s model catalog for your region. Don’t assume launch-day coverage includes your production region.

Why it matters

  • One security review instead of two. If your org has already approved Bedrock, you can use OpenAI models under the same data-handling terms. Bedrock does not use your prompts or outputs to train models, and that is often the clause legal cares about most.
  • Committed spend gets used. Enterprises with AWS commitments (EDPs) can apply OpenAI usage against money they have already committed. For enterprise OpenAI on AWS, that alone can settle the decision.
  • Model routing gets cheap. Switching from an OpenAI model to Claude or Nova in Bedrock’s Converse API means changing a model ID string. Comparing models becomes a config change, not a migration.
  • Network isolation by default. VPC endpoints keep inference traffic off the public internet, which regulated industries (finance, healthcare, government) typically require.
  • Agents get a managed home. Bedrock AgentCore handles runtime, memory, identity, and observability for agents built with frameworks including the OpenAI Agents SDK. You stop building that plumbing yourself.
  • Pressure on direct API pricing. With the same models sold through two channels, you can directly compare AWS vs OpenAI API pricing, and buyers gain negotiating room.

How to use it today: a Bedrock OpenAI setup guide

These steps assume an AWS account with Bedrock enabled and the AWS CLI v2 installed. We use the gpt-oss model IDs because they are stable and widely available. For newer OpenAI models from the re:Invent announcement, swap in the model ID shown in your console.

  1. Confirm which OpenAI models your region offers. List foundation models filtered by provider:

    aws bedrock list-foundation-models \
      --region us-west-2 \
      --by-provider openai \
      --query "modelSummaries[].{id:modelId,name:modelName}" \
      --output table

    If the list is empty, try another region or check the console’s model access page. Some models require you to enable access explicitly.

  2. Grant least-privilege IAM access. Don’t give developers bedrock:*. Scope invocation to OpenAI models only:

    {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Effect": "Allow",
          "Action": [
            "bedrock:InvokeModel",
            "bedrock:InvokeModelWithResponseStream"
          ],
          "Resource": "arn:aws:bedrock:us-west-2::foundation-model/openai.*"
        }
      ]
    }
  3. Make your first call with the Converse API. Converse is the portable option: the same request shape works across every Bedrock model.

    import boto3
    
    client = boto3.client("bedrock-runtime", region_name="us-west-2")
    
    response = client.converse(
        modelId="openai.gpt-oss-120b-1:0",
        messages=[
            {"role": "user", "content": [{"text": "Summarize the tradeoffs of RAG vs fine-tuning in 5 bullets."}]}
        ],
        inferenceConfig={"maxTokens": 800, "temperature": 0.3},
    )
    
    print(response["output"]["message"]["content"][-1]["text"])
    print(response["usage"])

    Reasoning-capable models may return a reasoning block before the final text, so the example reads the last content item instead of the first.

  4. Or keep your existing OpenAI SDK code. Bedrock exposes an OpenAI-compatible Chat Completions endpoint. Generate a Bedrock API key in the console, then point the official OpenAI SDK at Bedrock:

    export OPENAI_API_KEY="<your-bedrock-api-key>"
    export OPENAI_BASE_URL="https://bedrock-runtime.us-west-2.amazonaws.com/openai/v1"
    from openai import OpenAI
    
    client = OpenAI()  # reads OPENAI_API_KEY and OPENAI_BASE_URL
    
    completion = client.chat.completions.create(
        model="openai.gpt-oss-120b-1:0",
        messages=[
            {"role": "system", "content": "You are a concise senior DevOps engineer."},
            {"role": "user", "content": "Write a CloudWatch alarm for p99 latency over 2s."}
        ],
    )
    print(completion.choices[0].message.content)

    This route requires the fewest changes to an existing codebase. Use short-term API keys in production and rotate them. Long-term keys are fine for prototyping and risky everywhere else.

  5. Keep traffic private with a VPC endpoint.

    aws ec2 create-vpc-endpoint \
      --vpc-id vpc-0abc123 \
      --vpc-endpoint-type Interface \
      --service-name com.amazonaws.us-west-2.bedrock-runtime \
      --subnet-ids subnet-0aaa111 subnet-0bbb222 \
      --security-group-ids sg-0ccc333 \
      --private-dns-enabled
  6. Turn on invocation logging before anything ships. In the Bedrock console under Settings, enable model invocation logging to S3 or CloudWatch Logs. You’ll need these logs for cost attribution, debugging, and audits.

  7. Deploy an agent on AgentCore. For Bedrock AgentCore OpenAI agents, write the agent in the OpenAI Agents SDK as usual and wrap it in the AgentCore runtime entrypoint:

    pip install bedrock-agentcore openai-agents
    from bedrock_agentcore.runtime import BedrockAgentCoreApp
    from agents import Agent, Runner
    
    app = BedrockAgentCoreApp()
    
    agent = Agent(
        name="ops-assistant",
        instructions="Answer infrastructure questions. Be specific and cite AWS service names.",
    )
    
    @app.entrypoint
    async def invoke(payload):
        result = await Runner.run(agent, payload.get("prompt", ""))
        return {"result": result.final_output}
    
    if __name__ == "__main__":
        app.run()

    Then configure and launch it with the AgentCore starter toolkit. AgentCore provides session isolation, scaling, and tracing. To bill inference through AWS as well, point the agent’s model client at Bedrock (step 4).

  8. Set a cost guardrail. Create an AWS Budget scoped to Amazon Bedrock with an alert at 80 percent:

    aws budgets create-budget \
      --account-id 123456789012 \
      --budget '{"BudgetName":"bedrock-openai","BudgetLimit":{"Amount":"500","Unit":"USD"},"TimeUnit":"MONTHLY","BudgetType":"COST","CostFilters":{"Service":["Amazon Bedrock"]}}' \
      --notifications-with-subscribers '[{"Notification":{"NotificationType":"ACTUAL","ComparisonOperator":"GREATER_THAN","Threshold":80},"Subscribers":[{"SubscriptionType":"EMAIL","Address":"team@example.com"}]}]'

How it compares

The real question isn’t which model is best. It’s which channel to buy OpenAI access through:

Factor OpenAI on Amazon Bedrock OpenAI API (direct) Azure OpenAI / AI Foundry Google Vertex AI
Identity and access AWS IAM OpenAI project keys Microsoft Entra ID Google Cloud IAM
Billing AWS bill, counts toward EDP Separate OpenAI invoice Azure bill, counts toward MACC Google Cloud bill
OpenAI model coverage Growing; newest models may lag Full catalog, first access Broad, usually close to launch Open-weight OpenAI models; proprietary coverage limited
Private networking PrivateLink / VPC endpoints Limited Private endpoints Private Service Connect
Multi-vendor models, same API Yes (Claude, Llama, Nova, Mistral) No Yes, growing Yes (Gemini, Claude, Llama)
Managed agent runtime Bedrock AgentCore Agents SDK, Responses API tools Foundry Agent Service Vertex AI Agent Engine
Best for AWS-native enterprises Startups, fastest feature access Microsoft-centric orgs GCP-native teams

On AWS vs OpenAI API pricing: per-token list prices through the two channels tend to land close together, so don’t pick on sticker price alone. The difference lies elsewhere: committed-spend credits, batch and provisioned-throughput discounts, and the engineering hours you save by not running a second vendor. Rates change, so compare current per-model prices on both pricing pages before you commit.

What’s next

Watch how quickly new models arrive. The direct OpenAI API has historically received new models and features first, with cloud partners following weeks or months later. If AWS closes that gap to days, the case for a direct OpenAI account weakens sharply for enterprise teams. If the gap stays wide, expect many teams to run a hybrid: Bedrock for production workloads and the direct API for prototyping on the newest releases.

Second, watch feature parity on the agent side. OpenAI keeps adding capability through the Responses API, built-in tools such as web and file search, and fine-tuning. How much of that reaches Bedrock, versus being rebuilt with AgentCore’s own gateway, memory, and tool primitives, will decide whether “OpenAI agents on AWS” means the same thing as OpenAI agents anywhere else.

Finally, expect prices to keep falling. Claude, Llama, Nova, and OpenAI models now compete inside one catalog, and switching between them takes one line of code. That puts steady downward pressure on per-token prices. Teams that build a thin model-routing layer now, using Converse or the OpenAI-compatible endpoint, will benefit every time prices drop.

Frequently Asked Questions

Do I need an OpenAI account to use OpenAI models on Amazon Bedrock?

No. Access, authentication, and billing all go through your AWS account. You enable model access in the Bedrock console and call the models with IAM credentials or a Bedrock API key.

Is my data used to train OpenAI’s models when I go through Bedrock?

Bedrock’s standard terms say your prompts and completions are not used to train the underlying models and are not shared with model providers. Bedrock has held this position consistently across providers, but confirm the current terms for each model with your legal team.

Can I reuse my existing OpenAI SDK code?

Mostly, yes. Bedrock’s OpenAI-compatible Chat Completions endpoint lets you keep the official OpenAI SDK and change only the base URL, API key, and model ID. Features specific to OpenAI’s own platform, such as some Responses API tools, may not work, so test your full request surface before migrating.

What’s the difference between OpenAI gpt-oss on Bedrock and OpenAI’s proprietary models?

gpt-oss models are open-weight: OpenAI published the weights under a permissive license, so you can also self-host them. They handle reasoning and tool use well and are cheap to run. OpenAI’s proprietary models generally perform better on hard tasks but cost more, and their weights are not available. Many teams send routine traffic to gpt-oss and escalate harder requests to a stronger model.

Is Bedrock cheaper than the OpenAI API?

Not necessarily per token, since list prices are often comparable. Bedrock usually costs less in total when you have AWS committed spend to burn down, need batch or provisioned throughput, or want to avoid reviewing and managing a second vendor.

Which regions support OpenAI models on Bedrock?

Coverage starts in a few US regions and expands over time, and each model may support a different set of regions. Run aws bedrock list-foundation-models --by-provider openai in your target region, or check the Bedrock console, before you design around a particular model.

Go deeper than this article

This article covers the essentials. Our premium eguide library gives you the full step-by-step playbooks — prompts, workflows, and copy-paste recipes you can put to work today.

Browse Premium Eguides →

SSL SecurePrivacy Protectedvisamastercardamericanexpressdiscovergooglepay
Scroll to Top