Amazon SageMaker AI introduced training session APIs that let developers control custom model-training loops while AWS operates the GPU infrastructure.
Amazon Web Services announced Amazon SageMaker AI training session APIs on October 22, 2026, giving developers a way to define custom model-training procedures in Python while SageMaker operates the GPU infrastructure. The service is designed for teams that need more control over training algorithms than preconfigured fine-tuning offers, without taking on the work of provisioning and managing GPU clusters.
A session exposes operations for sampling model outputs, calculating gradients, updating weights and saving checkpoints. Developers provide the data, training loop and task-specific reward or scoring logic; SageMaker handles GPU allocation, model and Low-Rank Adaptation (LoRA) loading, distributed execution, fault recovery and checkpoint storage. Its three SDK clients organize service setup, training and sampling. Active sessions also provide an OpenAI-compatible chat-completions endpoint.
AWS demonstrated the approach by applying Group Relative Policy Optimization to OpenAI’s GPT-OSS 20B model on GSM8K math problems. In the reported example, 10 training steps using 40 problems raised held-out accuracy from 56% to 75%. A separate competitive-programming recipe trained a rank-32 LoRA adapter for 50 steps, using 128 problems and eight responses per problem at each step. AWS reported that training reward rose from 0.46 to 0.60, while accuracy on 200 held-out problems increased from 40% to 50.5%.
The API’s per-token billing applies to GPU-bound work, according to AWS; local tasks such as reward scoring do not accrue GPU charges while they run. That distinction may matter for experiments involving expensive local evaluation or tool-based rollouts, where a GPU cluster could otherwise remain idle during scoring.
The new option sits between SageMaker’s more managed customization APIs and its Training Jobs or HyperPod offerings, where users take on more infrastructure choices. AWS also released a cookbook with example recipes for supervised fine-tuning, reinforcement learning and preference alignment.
