Right-size generative AI endpoints with concurrency sweeps on Amazon SageMaker AI
Machine Learning Blog
This article explains how to use concurrency sweeps on Amazon SageMaker AI to right-size generative AI endpoints by finding the optimal balance between throughput and latency.
- Concurrency sweeps send controlled, increasing levels of concurrent traffic to measure throughput and latency at each level
- Deploy models using native vLLM containers with configurable environment variables for GPU memory and caching
- Define workload profiles specifying input/output token counts and streaming mode to simulate realistic traffic patterns
- Use CreateAIBenchmarkJob API to run sweeps and identify the saturation point where throughput plateaus and latency spikes
- Automated max-concurrency-under-sla recipe searches for highest concurrency meeting multiple SLA thresholds
- Analyze results by plotting throughput vs. p99 latency to find the "knee" indicating optimal operating region
Concurrency sweeps replace guesswork with data-driven insights for capacity planning, enabling confident fleet sizing before production deployment.
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
Jul 25
2024
2024
Amazon SageMaker launches faster auto-scaling for Generative AI models
Dec 6
2024
2024
Amazon SageMaker introduces new capabilities to accelerate scaling of Generative AI Inference
Jun 30
2026
2026
Amazon SageMaker AI cuts generative AI inference scale-out time by up to half with automatic container image caching
May 21
2026
2026
Announcing OpenAI-compatible API support for Amazon SageMaker AI endpoints
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.