← Back to all announcements
★★★★★ 21/05/2026

Amazon SageMaker AI now supports OpenAI-compatible APIs for inference endpoints

Swap one URL and your OpenAI SDK calls run on your own GPU instances inside your VPC — no rewrites, no SigV4, full control.

View original announcement →

Visual Summary

graph TD A{{SageMaker OpenAI-Compatible APIs}}:::announced B((Developer Apps)):::external C([OpenAI SDK / LangChain]):::feature D([Bearer Token Auth]):::feature E(SageMaker Endpoints):::compute F([Multi-Model Hosting]):::feature G(GPU Instances / VPC):::compute H([Streaming Support]):::feature I((Strands Agents)):::external B ==>|"changes URL only"| C C ==>|"chat/completions"| A I -->|"invokes"| A A -->|"authenticates"| D A -->|"routes requests"| E E -->|"runs on"| G E -.->|"serves"| F A -->|"passes through"| H classDef announced fill:#ff9900,stroke:#ec7211,color:#fff,font-weight:bold classDef compute fill:#e3f2fd,stroke:#1565c0,color:#1565c0 classDef storage fill:#e8f5e9,stroke:#2e7d32,color:#2e7d32 classDef feature fill:#fff3e0,stroke:#e65100,color:#e65100 classDef external fill:#f5f5f5,stroke:#616161,color:#616161

What's New

Amazon SageMaker AI now exposes an OpenAI-compatible API path (/openai/v1/chat/completions) on real-time inference endpoints, enabling developers to invoke SageMaker-hosted models using the OpenAI SDK, LangChain, Strands Agents, and any other OpenAI-compatible client. The only change required is swapping the endpoint URL — no custom integration code, SigV4 wrappers, or SDK rewrites are needed. This brings the familiar OpenAI developer experience to SageMaker's enterprise-grade infrastructure, including VPC isolation, custom GPU selection, and fine-tuned model support.

How It Works

  • SageMaker endpoints now expose an /openai/v1/chat/completions path that accepts standard Chat Completions requests and returns responses directly from the container, including streaming support.
  • Authentication uses short-lived bearer tokens generated from existing AWS credentials via the generate_token function in the SageMaker Python SDK; tokens are valid for up to 12 hours and require sagemaker:CallWithBearerToken and sagemaker:InvokeEndpoint IAM permissions.
  • SageMaker routes requests based on the endpoint name embedded in the URL, so any OpenAI-compatible client resolves the correct backend without additional configuration.
  • The feature is automatically enabled on all existing and new SageMaker real-time endpoints and inference components — no opt-in or redeployment is required.
  • Multi-model deployments using inference components are fully supported, allowing multiple models (e.g., Llama, Mistral, a classifier) to be hosted on a single endpoint and addressed through the same OpenAI SDK interface.
  • Streaming responses are passed through as-is from the container, preserving existing streaming logic in client applications without modification.

Why It's Important

  • Eliminates the primary friction point for teams migrating from OpenAI or other hosted LLM APIs to self-managed infrastructure — the API contract stays identical, reducing migration risk and developer effort.
  • Enables agentic frameworks (LangChain, Strands Agents, Vercel AI SDK, LLM gateways) to treat SageMaker endpoints as drop-in replacements for OpenAI, unlocking enterprise data-residency and compliance requirements without framework rewrites.
  • Organizations can now run fine-tuned or open-source models on dedicated GPU instances inside their own VPC while preserving the same application code that previously called OpenAI's hosted API.
  • Bearer token authentication eliminates the need to manage long-lived API keys or implement complex SigV4 signing in third-party tools, reducing operational overhead and security surface area.
  • Multi-model hosting through inference components with a single unified interface reduces application-layer routing complexity and consolidates infrastructure costs.

How It's Different

  • Unlike calling OpenAI's hosted API, SageMaker keeps all inference traffic within the customer's own AWS account and VPC, satisfying data-sovereignty, HIPAA, and other compliance requirements that prohibit sending data to third-party endpoints.
  • Unlike previous SageMaker invocation (which required SigV4 signing or the Boto3 SDK), the new path uses standard bearer token authentication that any HTTP client or OpenAI-compatible framework can use natively.
  • Unlike Amazon Bedrock's OpenAI-compatible layer, SageMaker's implementation supports fully custom or fine-tuned models stored in S3, not just AWS-curated foundation models.
  • Unlike managed inference services (OpenAI, Azure OpenAI), SageMaker gives customers direct control over instance type, auto-scaling policy, and model weights, enabling cost and latency optimization not possible with black-box APIs.
  • Unlike wrapping SageMaker with a proxy or middleware layer, this is a native platform capability with no additional hop, reducing latency and eliminating a failure point.

When to Prefer It

  • When your team has existing applications or agentic pipelines built against the OpenAI SDK and you need to move inference in-house for data privacy, cost control, or regulatory compliance.
  • When you are deploying fine-tuned or proprietary open-source models (e.g., domain-adapted Llama or Mistral variants) that are not available through any managed API provider.
  • When you need predictable, dedicated GPU capacity with custom auto-scaling policies rather than shared, rate-limited hosted inference.
  • When integrating SageMaker into an LLM gateway or routing layer (e.g., Bifrost, LiteLLM) that speaks the OpenAI Chat Completions protocol and cannot easily accommodate custom signing logic.
  • When running multi-model workloads where different models serve different tasks and you want a single, consistent API surface across all of them without per-model client configuration.
  • When operating in regions or industries where data must not leave a specific AWS region or VPC boundary, making third-party hosted APIs non-viable.

Availability

  • Status: Generally Available (GA) as of May 21, 2026.
  • Supported Regions: US East (N. Virginia), US East (Ohio), US West (Oregon), Europe (Ireland), Europe (Frankfurt), Europe (London), Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific (Mumbai), Asia Pacific (Jakarta), South America (São Paulo), and Canada (Central).
  • Pricing: No additional charge for the OpenAI-compatible API path itself; standard SageMaker real-time inference instance and data transfer costs apply.
  • Supported Endpoint Types: Real-time inference endpoints and inference components; batch transform and asynchronous inference endpoints are not mentioned as supported.
  • API Scope: Currently exposes the /openai/v1/chat/completions path (Chat Completions); other OpenAI API endpoints (embeddings, completions, images, etc.) are not listed as supported at launch.
  • Container Requirement: The underlying container must itself return OpenAI-compatible responses; SageMaker passes responses through as-is, so containers serving non-compatible formats will not automatically conform.
  • Token Expiry: Bearer tokens have a maximum validity of 12 hours and a minimum of 1 second, configurable via the expiry parameter in generate_token.

Tags

Servicessagemaker
Typenew-featureintegration
Conceptsinferencellm
Use Casesdeveloper-toolsopen-source
Providersopenai
GeographyAMERICASAPJEMEA

Related Resources

AI Radar AWS

AWS AI/ML news — curated, researched, explained

An automated intelligence platform that curates, researches, and analyzes AWS AI/ML/GenAI announcements daily. Every report is backed by real research — the system reads linked blog posts and documentation to provide accurate, in-depth analysis.

How Each Report Is Generated

  1. Collection — Daily monitoring of the AWS "What's New" RSS feed
  2. Filtering — AI-powered relevance detection for AI/ML/GenAI topics
  3. Taxonomy Tagging — LLM-based classification across 6 dimensions
  4. Importance Scoring — Point-based system with tag bonuses (1-5 stars)
  5. Research Phase — Follows links to blog posts and documentation
  6. Report Generation — Claude Sonnet produces structured 6-section analysis
  7. Visual Summary — Claude Opus generates Mermaid diagrams for key items
  8. Publishing — Static website rebuilt and deployed via CloudFront

Features

  • Faceted filtering by service, type, concept, and more
  • Multi-dimensional taxonomy with 80+ tags across 6 dimensions
  • Geographic availability badges (Global, APJ, EMEA, AMER) with filtering
  • Timeline visualization of announcement volume
  • PDF export for offline reading
  • Mermaid visual summaries for key announcements
  • Daily automated updates — no manual curation
What makes this different: Each report involves a dedicated research phase where the system reads linked blog posts and AWS documentation pages. This produces analysis that goes beyond the original announcement text.

Technology

Built with Python, AWS Lambda, Amazon Bedrock (Claude Sonnet 4.6, Opus 4.6, Haiku 4.5), S3, CloudFront, WAF, EventBridge, and CDK.

Open Source

This project is open source. Fork it, customize it for your needs, and deploy your own instance.
📦 github.com/bbonik/ai-radar-aws

How Importance Scoring Works

Each announcement receives a point score based on multiple factors. The total score maps to a 1-5 star rating:

1★ < 2 pts 2★ ≥ 2 pts 3★ ≥ 3.5 pts 4★ ≥ 5 pts 5★ ≥ 6.5 pts

Point Breakdown

FactorPointsWhen
Core AI service (Bedrock, AgentCore, SageMaker AI)+4Service named in title
Key AI service (SageMaker, Kiro, QuickSight)+2Service named in title
Other AI-related service+1Default
Blog post link+3Link to aws.amazon.com/blogs/
GitHub samples link+2Link to github.com/aws*
Documentation link+1Link to docs.aws.amazon.com/
New model+1.5Tagged as "new-model"
New service+1Tagged as "new-service"
New feature+0.5Tagged as "new-feature"
Anthropic / OpenAI provider+2Provider explicitly mentioned
Instance / notebook announcement-2Hardware/capacity, not feature
Performance / pricing / security-0.5Incremental updates
Region expansion to APJ+1Expands to Asia Pacific
Region expansion (non-APJ only)-1.5Only expands to other regions

Geographic Relevance Badges

Each announcement card shows a small badge indicating whether the feature is available in your region:

🌐 Global Available in all regions
🌏 APJ Asia Pacific
🌍 EMEA Europe / Middle East / Africa
🌎 AMER Americas (US, Canada, South America)
No badge Geography unknown
How geography is detected: The system detects ALL geographies mentioned in each announcement. If the text mentions specific regions (Tokyo, Frankfurt, Oregon, etc.), the corresponding geography badges are shown. If it says "all regions" or is a new feature with no region specified, it gets the Global badge. Geography is also filterable — click a geo chip to see only announcements available in that region.