AWS Bedrock

How to use OpenAI models on AWS Bedrock

OpenAI GPT models now run on Amazon Bedrock. I enabled them in the console, fixed an AccessDeniedException, and called GPT-6.1 Terra from the playground, the AWS CLI and the OpenAI SDK.

6 min · 2026-11-07 · Watch on YouTube

The main idea

You can now use OpenAI models on AWS. In August 2025, the open-source GPT OSS model became available on AWS. On June 1st 2026, OpenAI GPT 5.5 and 5.4 became available. In the Bedrock console, open the OpenAI section to see which models you have access to. That can depend on what your administrator allows.

In the playground I hit an error. I found that I had put a restriction on my own account to block AI model calls, after a very large AWS bill when my agents made lots of model calls. I removed the policy for the demo and got a haiku from GPT-6.1 Terra.

The playground can export JSON and show the API request as an AWS CLI command, and I ran a story prompt that way. For an application, use the OpenAI SDK, set the provider to Bedrock and pass the Bedrock bearer token.

In compare mode I ran Terra against Sol, which is the bigger and more expensive model, on explaining Kubernetes in simple terms. The faster model took about 3 seconds against 7.4 seconds. The model catalog shows 152 models.

Key points

Chapters

  1. 0:29Finding OpenAI models in Bedrock
  2. 1:20The error and the fix
  3. 2:23Calling from the AWS CLI
  4. 3:09Using the OpenAI SDK
  5. 3:56Compare mode: Terra and Sol
Free live lesson · Dec 7The AWS AI Agent Deployment ChecklistOne hour, live, with Saurav. Free.
Save my free seat →
Get new videos and tips by emailOne short email when there is something new. Unsubscribe any time.

More CloudYeti videos