Amazon SageMaker Inference: 2026 year-to-date launches in review
https://aws.amazon.com/blogs/machine-learning/amazon-sagemaker-inference-2026-year-to-date-launches-in-review/📌 AWS SageMaker Inference:今年七項更新怎麼幫你省下三週的調參時間
TL;DR:SageMaker AI 今年至今推出 13 項推理新功能,其中 7 項 managed endpoint 更新直接處理部署、容量、相容性與觀測性的老問題。
生成式 AI 推理有多難搞:模型動輒數十到數百 GB,延遲要用 tokens/sec 衡量,冷啟動可能長達數分鐘,GPU 容量吃緊,傳統監控工具還完全看不到 token 層級的訊號。AWS 這篇年度盤點,把 SageMaker AI 在 managed endpoint 路徑上的七項更新整理成一份清單,附帶不少實測數字。
🤔 兩條部署路徑,按 instance 計費
SageMaker AI 提供兩種部署方式:managed endpoints 讓 AWS 接手 GPU 佈建、擴縮與維運,使用者只要帶著模型和效能目標;SageMaker HyperPod Inference 則給需要 Kubernetes 原生控制權、管理專屬 GPU 叢集的團隊。兩者都是按 instance 計費而非按 token。今年至今合計交出 13 項新功能,這篇文章詳細走過 managed endpoint 那 7 項。
🧩 七項更新逐一拆解
- Inference Recommendations:自動化過去要花 2-3 週、手動跑 1000 多種組合才能決定的 instance 類型、serving 容器與最佳化設定。使用者指定模型與效能目標(成本、延遲或吞吐量),系統跑完三步驟流程後,輸出一份帶有驗證過指標的 SageMaker Model Package,包含 TTFT、ITL、P50/P90/P99 延遲百分位、吞吐量與成本預估。此功能本身不額外收費,有 ML Reservations 的客戶還能用保留容量免費跑測試。
- Capacity-aware inference(instance pools):過去 endpoint 只綁定單一 instance 類型,一旦缺貨就整個開不起來。現在可設定最多 5 種優先順序的 instance 類型,在建立、scale-out、scale-in 各階段自動 fallback;每種 pool 項目還能對應各自的最佳化設定(高記憶體用 tensor parallelism、中階用 speculative decoding、小型 fallback 用量化)。支援 single-model、inference component、async endpoint,涵蓋所有商用 AWS 區域。
- OpenAI 相容 API:新增
/openai/v1路徑,支援串流的 Chat Completions,遷移只需要改 endpoint URL,SDK 呼叫、串流邏輯、prompt 格式都不用動。用 AWS 憑證產生的 bearer token 最長可用 12 小時,省去 SigV4 簽章的複雜度。支援 vLLM、SGLang 的 AWS Deep Learning Containers 以及自建容器,涵蓋 14 個 AWS 區域。 - Container caching:自動擴縮時,新 instance 過去得先從 Amazon ECR 拉完整容器映像檔才能服務請求,超過 10 GB 的容器光拉取就多耗好幾分鐘。這項功能會預先快取映像檔,零設定、自動生效。實測案例是 Qwen3-8B 搭配 LMI 容器(壓縮後 17.7 GB)在 ml.g6.2xlarge 上,端到端啟動延遲從 525 秒降到 258 秒,降幅 51%,模型下載時間也從 168 秒降到 77 秒;早期使用客戶則觀察到 38% 到 65% 不等的改善幅度。
- CloudWatch 詳細指標與 Insights 儀表板:透過原生 OpenTelemetry 送出超過 100 項詳細推理指標,搭配預先建好的 Insights 儀表板,零額外埋點。新建的 endpoint 預設就開啟觀測性,進入 InService 狀態後兩分鐘內指標就會開始流入;同時提供 PromQL 相容端點,可直接接 Amazon Managed Grafana 或其他 PromQL 工具。
- Async inference inline payload:
InvokeEndpointAsyncAPI 現在可直接在請求中帶最多 128,000 bytes 的 Body 參數,多數 async 工作負載不再需要先把輸入上傳到 S3。好處是少一次網路往返、不用建 S3 bucket 和 IAM 授權、立即完成大小與參數驗證、省下每次呼叫的 S3 PUT 費用,且完全向下相容,涵蓋 31 個 AWS 區域。 - Prefix-aware routing:一種新的路由策略,把共用相同 prompt 前綴的請求導向同一臺 instance,藉此降低 LLM 延遲。
📊 關鍵數字一覽
| 功能 | 改善幅度 |
|---|---|
| Inference Recommendations(GPT-OSS-20B) | 相同延遲下吞吐量提升 2 倍 |
| Container caching(Qwen3-8B, ml.g6.2xlarge) | 啟動延遲 525 秒 → 258 秒(降 51%);下載時間 168 秒 → 77 秒 |
| Container caching(早期使用客戶) | 改善幅度 38%-65% |
| Async inline payload | 上限 128,000 bytes,涵蓋 31 個區域 |
⚠️ 涵蓋範圍有限
這篇文章只詳細介紹了 managed endpoint 路徑的 7 項更新,HyperPod Inference 那一側的其餘 6 項新功能素材中並未展開細節。部分功能也有區域限制,例如 OpenAI 相容 API 目前只在 14 個區域可用。
🎯 實務啟示
已經在用 SageMaker 的團隊可以優先檢查幾件事:用 Inference Recommendations 取代手動 benchmark 流程省下數週工時;用 instance pools 提升容量韌性;如果應用是建在 OpenAI SDK 之上,直接切到 /openai/v1 幾乎零成本遷移;container caching 屬於零設定自動生效,不需要額外動作就能拿到擴縮加速;小型 async 請求可以直接拿掉 S3 pre-staging 這層架構複雜度。
🔗 來源
- 標題:Amazon SageMaker Inference: 2026 year-to-date launches in review
- 作者/機構:Kareem Syed-Mohammed,AWS Machine Learning
- 連結:https://aws.amazon.com/blogs/machine-learning/amazon-sagemaker-inference-2026-year-to-date-launches-in-review/
#AWS #SageMaker #MLOps #LLMInference #GenerativeAI #CloudComputing #MachineLearning #ModelDeployment #Kubernetes #AIInfrastructure
原始資料 AWS ML · 收集於 2026-09-19
摘要原文
Generative AI inference is uniquely hard: models are tens to hundreds of gigabytes, latency requirements are measured in tokens per second, cold starts can span multiple minutes as containers and weights transfer, GPU capacity is constrained, and traditional monitoring tools expose none of the token-level signals that matter in production. Amazon SageMaker AI offers customers the ability to deploy AI models and consume them by the instance (instead of by the token), using two paths: managed endpoints for teams that want AWS to handle infrastructure and operations, and Amazon SageMaker HyperPod Inference for teams that need Kubernetes-native control over dedicated GPU clusters. Year-to-date in 2026, SageMaker AI delivered 13 new capabilities across these two paths and this post walks through these capabilities and benefits to enterprises, startups and public sector. The table below compares the two deployment paths across seven dimensions. Figure 1: Two inference paths delivered in 2026 Managed SageMaker Inference endpoints are the faster path for teams that want AWS to handle GPU provisioning, scaling, and operational monitoring. You bring the model and define the performance target. SageMaker handles the rest. The seven launches year-to-date in 2026 below address deployment, capacity, integration, scaling, observability, and async simplification. Blog: Amazon SageMaker AI now supports optimized generative AI inference recommendations Choosing the right instance type, serving container, and optimization settings for a generative AI model typically takes two to three weeks of manual benchmarking against 1000+ combinations, requiring expertise most teams do not have in-house. Inference recommendations automate this end-to-end. Customers specify a model and performance goal (cost, latency, or throughput). SageMaker then runs a three-step process: Figure 2: Inference recommendations 3-step process The output is a SageMaker Model Package with deployment-ready configurations and validated metrics: time to first token (TTFT), inter-token latency (ITL), P50/P90/P99 latency percentiles, throughput, and cost projection. In a demonstrated example, throughput optimization on GPT-OSS-20B delivered 2x tokens per second at the same request latency. There is no additional cost for generating recommendations. Customers with ML Reservations can benchmark on reserved capacity at no extra charge, and inference recommender can also be used to evaluate alternative instance types. Blog: Capacity-aware inference: automatic instance fallback for SageMaker AI endpoints When a SageMaker endpoint required a single instance type, a capacity shortage meant the endpoint failed before serving a single request. Instance pools address that single point of failure. Customers define a prioritized list of up to five instance types. SageMaker automatically works through the list at endpoint creation, during scale-out, and during scale-in. At creation, SageMaker tries the first-choice type and falls back immediately if capacity is unavailable. During scale-out, the next available type in the priority list absorbs demand. During scale-in, fallback instances are removed first, so the fleet trends back toward preferred hardware as capacity opens up. Per-instance-type CloudWatch metric dimensions enable weighted scaling policies for heterogeneous fleets. Each pool entry can reference a separate optimized model configuration (tensor parallelism on high-memory instances, speculative decoding on mid-tier, quantization on smaller fallbacks), and inference recommendations can generate these per-hardware configurations automatically. Supported for single-model, inference component, and async endpoints in all commercial AWS Regions. Blog: Announcing OpenAI-compatible API support for Amazon SageMaker AI endpoints Applications built on the OpenAI SDK, LangChain, or Strands Agents previously required custom client adapters and authentication rewrites to work with SageMaker-hosted models. That migration cost was a real barrier. SageMaker endpoints now expose an /openai/v1 path supporting Chat Completions with streaming. Migration requires changing only the endpoint URL. SDK calls, streaming logic, and prompt formatting remain identical. Authentication uses bearer tokens generated from existing AWS credentials, valid for up to 12 hours, removing SigV4 signing complexity. Multi-model endpoints allow hosting multiple models, each callable through the same OpenAI SDK with independent resource allocation. For agentic workloads, AI agents can run entirely on customer-owned GPU infrastructure using the same OpenAI-compatible interface they were built on. Available in 14 AWS Regions, with support for vLLM and SGLang AWS Deep Learning Containers and custom containers implementing the /v1/chat/completions path. Blog: Introducing container caching in Amazon SageMaker AI for faster model scaling During inference auto scaling events, new instances responding to traffic spikes previously had to pull the full container image from Amazon Elastic Container Registry (Amazon ECR) before serving requests. For large serving containers exceeding 10 GB, that pull alone added several minutes of dead time to every scale-out event. Container caching pre-pulls images automatically, so new instances launch with the container already available locally. Zero configuration, no code changes, no container modifications. It activates automatically on supported accelerator instance types. With Qwen3-8B on ml.g6.2xlarge using the LMI container (17.7 GB compressed), end-to-end startup latency dropped from 525 seconds to 258 seconds, a 51% reduction. Model download time also improved, from 168 seconds to 77 seconds, because the image is no longer competing for network bandwidth. Early access customers observed improvements ranging from 38% to 65%. Container caching is the third layer in a three-part scaling optimization suite: Blog: Monitor and debug generative AI inference with SageMaker detailed metrics and insights dashboard on CloudWatch Token-level latency, KV cache pressure, GPU memory trends, and inference component placement across Availability Zones are signals that scattered CloudWatch metrics could not surface together, forcing teams to correlate problems manually after users had already been affected. SageMaker now emits 100+ detailed inference metrics via native OpenTelemetry, paired with a pre-built Insights dashboard in Amazon CloudWatch. Zero instrumentation required. New endpoints have observability enabled by default, with metrics flowing within two minutes of reaching InService status. The dashboard covers three areas: A PromQL-compatible endpoint lets teams query SageMaker metrics directly from Amazon Managed Grafana or a PromQL-compatible tool via SigV4 authentication. Blog: Amazon SageMaker AI async inference now supports inline request payloads Async inference previously required uploading every input payload to Amazon Simple Storage Service (Amazon S3) before invoking the endpoint, even for a simple JSON prompt of a few hundred bytes, adding architecture complexity and latency on every request. The InvokeEndpointAsync API now accepts a Body parameter with payloads up to 128,000 bytes directly in the request, removing the S3 pre-staging step for the vast majority of async workloads. Key benefits: one fewer network round-trip per request, no input bucket provisioning or IAM s3:PutObject grants, immediate size and parameter validation, and avoidance of the S3 PUT charge per invocation. Fully backward compatible. Existing InputLocation workflows continue unchanged. Available in 31 AWS Regions. Resource: Reduce LLM latency with prefix-aware routing on Amazon SageMaker Inference A new routing strategy that reduces LLM latency by directing requests with shared prompt prefixes to the same instance.
由 claude-code/sonnet 自動生成