AI Cloud Architect

Deploy GPT-OSS models with Amazon Bedrock Custom Model Import

AWSHow-to by Prashant Patel, Ainesh Sootha and Sandeep AkhouriAWS Artificial Intelligence Blog

In this post, we show how to deploy the GPT-OSS-20B model on Amazon Bedrock using Custom Model Import while maintaining complete API compatibility with your current applications.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Bedrock Custom Model Import now accepts GPT-OSS-20B and GPT-OSS-120B weights from S3, and the imported model answers through the OpenAI Chat Completions format.

Who it is for

Architects and developers who run OpenAI-style apps and want to move open-weight GPT-OSS models onto Bedrock with minimal code changes.

Key points

  • Import is tested in US East (N. Virginia) only; GPT-OSS models initially launch there.
  • The model index file needs a metadata field; Hugging Face extras such as total_parameters must be removed.
  • Post's example uses a fine-tuned medical variant, Tonic/med-gpt-oss-20b, and does not give Bedrock prices.

Timeline

Posts about Amazon Bedrock Custom Model Import, oldest first.

  1. Blog postUnlock model insights with log probability support for Amazon Bedrock Custom Model Import · AWS · Blog post
  2. Customer storyHow Amazon Bedrock Custom Model Import streamlined LLM deployment for Salesforce · AWS · Customer story
  3. What it explainsAmazon Bedrock Custom Model Import now supports OpenAI GPT OSS models · AWS · Announcement
  4. This postDeploy GPT-OSS models with Amazon Bedrock Custom Model Import

Go deeper