Learning resourcesReviewed · Together AI

Together AI: Gate rollouts with metrics

This Together AI guide teaches endpoint developers and operators to pause canary rollouts using live router metrics, but fully idle endpoints bypass the gates. It covers latency, error-rate and concurrency rules, with CLI and console configuration and guidance on measurement delays.

Researched 15 Nov 2026

In short.

This Together AI guide explains metric-based canary rollout protection for developers and operations teams, but meaningful evaluation depends on live traffic and available measurements. It documents fixed thresholds and comparisons with the source deployment, three router metrics, measurement windows and automatic pauses. A pause keeps the current traffic split. A confirmed regression needs an operator to cancel and reverse the rollout, or to resume it if the cause was external. Pauses caused by unavailable metrics are often transient and retried automatically, and need a manual resume only if they persist. The page provides concrete configuration examples; actual service behavior, effectiveness and costs have not been assessed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is limited to the complete page at [https://docs.together.ai/docs/dedicated-endpoints/rollout-metric-gates.md], including its CLI and console instructions, tables, warnings, examples, result-field descriptions, documentation-index notice and Mintlify attribution. The documentation index, rollout guide, CLI reference, console destination, API references, monitoring material and other linked pages are excluded. No code or service interaction was executed; documented behavior and operational effectiveness remain untested.

The overview

Identity

Gate rollouts with metrics is a Together AI documentation guide for configuring metric gates on dedicated-endpoint canary rollouts. The source page is [https://docs.together.ai/docs/dedicated-endpoints/rollout-metric-gates.md].

The resource teaches an existing platform feature through CLI commands, console instructions and explanations of API result fields. Linked reference pages supply additional context but are outside this report's scope.

Assessment

The guide is useful for teams that already operate Together endpoints and want a rollout to stop advancing when router health breaches a limit. Its practical value comes from explaining configuration alongside less obvious behavior: idle endpoints advance without evaluation, unavailable measurements can pause a rollout, and failed gates preserve the current traffic split.

Its guidance supports configuration and incident interpretation. It supplies no measurements demonstrating how reliably gates detect regressions or how often they pause unnecessarily.

Users

The likely audience is developers, platform engineers and operations teams responsible for changing deployments behind Together inference endpoints. The console instructions offer a route for readers who prefer forms, while CLI flags and result-field details support automation work.

Beginners need to understand that a canary rollout gradually moves traffic from an existing source deployment to a target deployment. Teams also need an operational definition of acceptable latency, errors or concurrency before choosing useful limits.

Capabilities

A threshold rule compares the target's measurement with a fixed limit using gt, gte, lt or lte. A regression rule compares the target with the source and permits a configured percentage of worsening. The page says higher values indicate worse performance for all three supported metrics.

router_latency measures router request duration per attempt in milliseconds and supports avg, p50, p90, p95 and p99. router_error_rate measures router 5xx responses divided by all inference responses; 0.02 means 2%. inflight_requests measures unfinished requests sent to replicas, averaged over the lookback window and measured per ready replica.

The CLI configures one rule. The console or API supports several rules, including threshold and regression checks on the same metric. Every rule must pass for a step to advance.

Using it

Requirements

Configuration requires a Together endpoint, source and target deployments, and a canary rollout. Blue-green and rolling strategies reject metric gates because they lack the required soak window.

Evaluation depends on usable traffic measurements. If the endpoint receives traffic but the target has no samples, the rollout pauses with an unavailable metric. If both deployments are idle, evaluation is skipped and the rollout continues. Regression checks also need a source measurement.

The page does not specify account entitlements, permissions, CLI installation steps, authentication setup or minimum software versions.

Mechanism

After each traffic-shift step, the rollout holds its current split during a soak window. At the end of that period, the gate evaluates measurements and either permits advancement or pauses the rollout.

The metric lookback window is the period used to calculate the measurement. It defaults to 300 seconds and has a 60-second minimum. The platform extends the soak window to at least the metric window plus ingestion lag, which the page estimates at about 90 seconds.

Retrieved results appear in status.steps[].metrics or status.condition.metrics with PASS, BREACHED or UNAVAILABLE verdicts. A measured targetValue can legitimately be zero. sourceValue appears only for regression checks; unavailable measurements omit the observed values while retaining the rule and its criteria.

Setup

For the CLI, use tg endpoints rollout with a target deployment identifier, --canary, a supported --metric and either threshold or regression flags. router_latency requires --metric-stat. Omit that flag for router_error_rate and inflight_requests; their aggregation is stored as AVG.

For the console, open the endpoint's Rollouts tab, select New rollout, choose Canary and add a metric gate. Set the metric, aggregation, check criteria and optional window. Add further gates there when several rules are needed.

The page recommends at least a 300-second window for latency percentiles. A 60-second window can contain too few samples because of ingestion lag and cause unnecessary pauses. For multiple rules through the API, the documented route is to create the rollout and start it manually; the linked API instructions are outside scope.

Example

The page gives this example for requiring p95 router latency below 30 seconds over a five-minute lookback window:

tg endpoints rollout dep_target456 --canary --metric router_latency --metric-stat p95 --metric-threshold 30000 --metric-operator lt --metric-window 300s

dep_target456 represents the target deployment identifier. The threshold uses milliseconds, and lt requires a value strictly below 30000. The p95 statistic describes the upper part of the observed latency distribution. The 30-second limit is illustrative and needs to match the endpoint's requirements. Nothing was executed.

Assessment & evidence

Limitations

Gates apply only to canary rollouts and only to the three listed router metrics. Other metric names are rejected with a 400 error. The page does not document checks for answer quality, safety or task accuracy.

Fully idle endpoints advance without metric protection. Missing samples, metrics-pipeline gaps or zero ready replicas can make a rule unavailable and pause progress. The guide describes automatic retries for some transient conditions, but their detailed timing is outside this page.

A failed gate leaves the current traffic split in place, allowing the target to continue receiving its existing share. Latency is measured per router attempt, and concurrency thresholds must account for the per-ready-replica measurement. These definitions limit what a passing gate establishes.

Reasoning

The page recommends p95 or higher for latency because fast rejected attempts can dominate the median and make the mean less useful for this gate. It recommends a longer percentile window so ingestion delays leave enough observations for evaluation.

An operational inference is that combining a fixed threshold with a source-relative check can cover two different concerns: exceeding an absolute service limit and worsening substantially against the existing deployment. The usefulness of that combination still depends on representative traffic and suitable criteria.

A passing result establishes only that the documented router rules passed for the available measurement window. Broader model performance and the absence of future regressions remain unassessed.

Alternatives

Within the documented feature, the main choices are a fixed threshold, a comparison with the source, or several rules together. The CLI suits a single rule; the console and API provide the documented routes for multiple rules.

Blue-green and rolling deployments are mentioned as other rollout strategies, but they reject metric gates. The page provides no comparison with external rollout tools, other inference providers or application-level evaluation systems, so their relative suitability is unknown.

Evidence

The evidence is the complete Together documentation page at [https://docs.together.ai/docs/dedicated-endpoints/rollout-metric-gates.md], retained as selected-page.txt. It includes configuration examples, metric definitions, measurement timing, retrieved-result semantics and failure guidance.

This is documentation evidence. No endpoint, CLI command, console journey or API request was run. The supplied material includes no independent benchmark, service trace or observed rollout outcome. Linked pages were not assessed.

Access & freshness

Costs

The page gives no prices for metric gates, endpoint capacity, concurrent deployments, traffic or monitoring. Gate-specific charges and total operating cost are unknown.

The documented minimum measurement period and ingestion delay affect rollout timing, but the page supplies no basis for converting that time into a monetary estimate.

Rights

The supplied page contains no explicit documentation licence or redistribution grant. Permission to redistribute its text or package the captured page is unknown.

The Mintlify hosting attribution does not state reuse terms for Together's documentation. Service terms and rights for models deployed through endpoints are not established by this page.

Freshness

The source was captured on 2026-11-15 at 12:25:33.652 UTC. Its recorded source revision is sha256:18e0a57a9aa0d7fd2a10e65e765f2c12c04273faae691c614c0f759ff9546093.

The page states no publication date, last-update date or required CLI/API version. Whether the live documentation or service behavior has changed after this capture is unknown.

Actions

Before configuring a gate, define acceptable service limits and ensure traffic can produce useful target measurements. Use the documented 300-second-or-longer recommendation for latency percentiles, express error thresholds as ratios and size concurrency thresholds per ready replica.

When a rollout pauses, inspect each rule's verdict and observed values. A metrics-regression: reason identifies breached criteria; a metrics-unavailable: reason indicates that a trustworthy measurement could not be obtained.

The page recommends investigating confirmed regressions, cancelling and reversing the rollout when the target is faulty, and resuming when an external cause explains the problem. For persistent unavailable measurements, investigate traffic, replica readiness and metric availability before manually resuming. Detailed reversal and troubleshooting procedures are in linked pages outside this report's scope.

Evidence for this report

selected-page.txtselected · checked 2026-11-15