Home icon

Amazon SageMaker AI Async Inference now supports inline request payloads

Machine Learning Blog



This article announces inline payload support for Amazon SageMaker AI Async Inference, allowing customers to send inference payloads directly in API requests without uploading to S3 first.

  • New Body parameter accepts payloads up to 128,000 bytes inline in InvokeEndpointAsync API calls
  • Eliminates mandatory S3 upload step, reducing latency by one network round-trip per request
  • Body and InputLocation parameters are mutually exclusive; API rejects requests setting both
  • Simplifies client code by removing S3 bucket provisioning, IAM permissions, and cleanup logic
  • Reduces costs by eliminating S3 PUT charges for input uploads on inline invocations
  • Available in 31 commercial AWS Regions with no changes needed to endpoint configuration or models
  • Backward-compatible; existing InputLocation workflows continue unchanged

Inline payloads are ideal for small JSON prompts and structured data, while S3 uploads remain recommended for payloads exceeding 128KB or when audit trails are required.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

May 21
2026
Amazon SageMaker AI now supports OpenAI-compatible APIs for inference endpoints
May 4
2026
Amazon SageMaker AI Now Supports Capacity-Aware Inference with Automatic Instance Fallback
Apr 21
2022
Amazon SageMaker Serverless Inference is now generally available
Nov 25
2025
Amazon SageMaker AI Inference now supports bidirectional streaming

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.