Daily Tech Briefing
AI 科技速览
每天 5 分钟内学习 AI。获取最新的人工智能新闻,理解其重要性,并学习如何将其应用于您的工作。
Together AI · 2026/7/31 00:00:00

Autoscaling endpoints for LLM inference
AI 中文解读
Together AI这次给大模型推理装上了“智能红绿灯”,最吸引人的是:它能根据AI推理引擎真正懂的业务指标自动扩缩容,不再像传统方法那样“瞎猜”。通俗讲,以前给AI服务配服务器就像开餐厅,客人多就临时加桌,但等桌子摆好客人早走了;客人少服务器又闲着烧钱。这次的新功能把判断依据换成了“正在处理的请求数”“首个字返回延迟”“GPU利用率”这些核心指标,相当于让系统看清厨房到底忙不忙再决定开几个灶。它还解决了大模型“起床慢”的问题——冷启动要加载几十G参数,所以系统会提前嗅到流量上升的苗头,而不是等拥挤了才手忙脚乱。对普通用户来说,用AI应用时响应速度会更稳,深夜高路灯少时不用为闲置算力买单,价格也可能更亲民;对开发者和企业,则能省下真金白银的GPU成本,同时保证用户不会因为排队等AI回复而流失。这算把AI服务的“供需平衡”从玄学变成了科学。
SummaryWith Dedicated Model Inference on the Together AI platform you can get your deployments to autoscale on metrics the inference engine actually understands, such as in-flight requests, TTFT, GPU utilization, token throughput. You can set replica bounds, pick a metric and target, and then tune two windows that control how eagerly it scales up and how patiently it scales down. Understanding and choosing the right metric is important because it determines how your deployment will behave under peaky traffic and impacts the latency your users will see. Below we'll cover how to choose the right metric to autoscale on and show an experiment where the same load was replayed under three different autoscale policies.Over- and under-provisioning are both expensiveWith dedicated inference you pay per replica-minute, which makes capacity planning a balance between two failure modes:Over-provision - you're paying for GPUs to sit at 15% utilization just so that you can handle the peak traffic when/if it arrives. Almost never viable, especially in the current GPU constrained environment.Under-provision - your p95 degrades sharply the moment traffic exceeds what your replicas can batch. LLM serving degrades nonlinearly: a replica at its concurrency limit doesn't get "a bit slower," it starts queueing, and TTFT can blow up from 200ms to 15s."Just autoscale it" is the obvious answer, and for stateless web services it mostly works. But LLM serving is a different beast and it breaks the two assumptions that classic autoscaling leans on:CPU-style metrics lie about load. A GPU can read 60% utilized while the engine's request queue is already backing up and utilization is measuring arithmetic intensity, not pressure. Scaling deployments on the wrong signal means that the system will respond to a number that doesn't describe the actual problem.Cold starts can take several minutes. A new replica has to be placed on a GPU node, pull tens of gigabytes of weights, load them into VRAM, and warm up. This means that you can't scale your way out of a spike because by the time it arrives it’s already too late to scale up. This then means that a good autoscaler's job is to act early on leading signals.Due to these nuances and the varying requirements of each customer our platform gives you a catalog of inference-native metrics and allows you to choose how your deployment scales. This post helps you choose well!How it worksEach deployment carries an autoscaling policy: replica bounds, one or more scaling metrics with targets, and timing windows.The control loop goes as follows: observed metric → desired replicas (ceil(N × observed/target)) → timing windows dampen → clamp to bounds → GPU placement. Observed load feeds back and the loop evaluates continuously with the traffic split following capacity automatically.The core loop is proportional, meaning that if you target 8 in-flight requests per replica and you're observing 16, the system will want twice the replicas(assuming the 2x replicas are within the min, max bounds). The timing windows can be used to add a de-bouncing effect so that the replica count doesn't oscillate:scale_up_window: how long the pressure must persist before adding replicas. Keep it short; the cost of a false scale-up is just a few replica-minutes, whereas the cost of a missed one is increased user-facing latency.scale_down_window (default 5m): how long things must stay calm before removing replicas. Keep it longer than your traffic's natural rhythm; the cost of a false scale-down could be a cold start right when the next peak arrives.This asymmetric tradeoff of an eager up and patient down autoscale window is very important to tune and requires an intuitive understanding of your particular traffic distribution. Up-window mistakes cost dollars while down-window mistakes cost latency and dollars (because you'll just want to scale right back up, paying the cold start on the way back up).Setting it is one PATCH:
tg beta endpoints upd
分享
阅读原文 ↗