Learning resourcesReviewed · Together AI

Together AI dedicated endpoints: route traffic to a deployment

This Together AI documentation page shows developers and operators how to send traffic to deployments on a dedicated endpoint. Its main catch is that it covers basic weights, the order in which requests are routed, and stickiness in detail, but describes the advanced strategies only briefly and links to separate pages for more. It has no instructions for installation, authentication, pricing or the HTTP API. It explains that a deployment marked READY still gets no requests until traffic is routed to it. The one exception it documents is the CLI deploy command, which automatically routes 100% of traffic to a deployment it creates. It also explains that a deployment's capacity is its weight times its ready replicas, that its share of traffic is proportional to that capacity, and how the prompt_cache_key and user fields keep related requests on one deployment.

Researched 15 Nov 2026

In short.

This Together AI documentation page shows developers and operators how to route traffic to deployments on a dedicated endpoint. Its main catch is that it covers basic weights, the routing order and stickiness in detail, but describes the advanced strategies only briefly and links to separate pages for more. It has no instructions for installation, authentication, pricing or the HTTP API. Technically, it says a deployment does not receive requests until traffic is routed to it, even when it is marked READY. The documented exception is that when the CLI deploy command creates a deployment, it routes 100 percent of traffic to it automatically. A deployment's capacity is its weight times its number of ready replicas, and its share of traffic is proportional to that capacity. The page gives a CLI command and Console steps for changing weights. It also describes a three-step routing sequence, including how requests to an A/B test control are re-sampled among the control and its variants, and notes that shadow experiments copy a sampled fraction of traffic without changing which deployment serves the response. It gives a rule for choosing a sampling key: prompt_cache_key first, then user, then the request content. That rule keeps related requests on the same deployment so prompt caches stay warm. The routing behaviour described in this report is what the captured page documents. The two-deployment calculation in the example section is an illustration built from the page's capacity formula, not something the page shows. Nothing was run or tested.

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

The scope is the complete single documentation page at [https://docs.together.ai/docs/dedicated-endpoints/route-traffic.md], captured as selected-page.txt. Linked pages were not captured and are not assessed; these are the split traffic, rollouts, A/B tests and shadow experiments pages, the Console endpoints page and the documentation index. The page has no licence text, price list, version or date, so rights, costs and freshness are unknown. Nothing was executed. The CLI commands, Console steps, routing behaviour and cache claims are Together AI's own description and were not tested.

The overview

What this resource is

This is one documentation page from Together AI, titled Overview, at [https://docs.together.ai/docs/dedicated-endpoints/route-traffic.md]. It sits in the Dedicated Endpoints section. It describes how to route traffic to a deployment and which strategies change how traffic moves over time. The page footer says the documentation is built and hosted on Mintlify.

It is a guide, not software. It describes how the Together AI dedicated endpoints service and its command line tool behave; the page calls the tool tg. The page does not name an author, a version or a publication date.

Overall assessment

The page is a short, clear explanation of the basic routing model for Together AI dedicated endpoints. It is most useful for one fact that is easy to miss: a deployment marked READY still receives no requests until traffic is routed to it. The documented exception is the CLI deploy command, which automatically routes 100 percent of traffic to a deployment it creates. The page also explains that a deployment's capacity is its weight times its ready replicas, and that its share of traffic is proportional to that capacity. Its explanation of the stickiness rule is clear enough to plan around.

It is not a complete operating guide. It gives one CLI command pattern, a Console path and a description of the routing order. The page has no instructions for installing or authenticating the CLI, no pricing, no HTTP API instructions and no troubleshooting. This assessment is based only on the captured text. Nothing was executed, so the described behaviour is Together AI's own description and has not been checked.

Who it is for

The page suits developers and platform or machine learning operations staff who host, or plan to host, a model on a Together AI dedicated endpoint and need to decide where requests go. Typical cases in the text are putting a new deployment into service, taking one out of the split, and running several deployments behind one endpoint.

Beginners can follow the main idea. Each deployment gets a weight, and weights together with ready replica counts set each deployment's capacity, which determines its share of requests. The page does not explain how to create a deployment in the first place. Experienced developers will care most about the capacity formula, the three-step sampling sequence and the sampling-key order, which are stated precisely.

What the page covers

Basic routing: assign each deployment a weight in the endpoint's traffic split. A deployment's share is proportional to its capacity, defined as its weight times its number of ready replicas. For a single deployment, any non-zero weight sends it all traffic.

Removing a deployment from the split: set its weight to 0. The page says this removes it from the split and keeps the other deployments' weights. The deployment keeps running, so it can be scaled or brought back later with a non-zero weight.

Routing strategies, which the page briefly describes and links to separate pages for further details: split traffic (several deployments on one endpoint, with requests divided by weight), rollouts (step-by-step shifts with checks between steps), A/B tests (a fixed split between a control and variants; the routing order section explains that a request sampled to a control is re-sampled among the control and its variants by the test's percentages) and shadow experiments (a sampled fraction of traffic copied to a target for observation without changing which deployment serves the response).

Routing order: first, a candidate is sampled from the traffic split by capacity. If the candidate is the control of an A/B test, the endpoint samples again among the control and its variants using the test's percentages. The request then goes to a cluster inside the final deployment.

Stickiness: requests with the same sampling key always go to the same deployment while the split is stable. The page says this keeps prompt caches warm.

Using it

Requirements

The page implies, but does not list, these prerequisites: a Together AI account, a dedicated endpoint, and at least one deployment on it. The CLI route needs the tg command line tool. The page does not say how to install or authenticate it, or which version supports the endpoints update command and the --traffic-weight option, so those are unknown from this evidence.

The Console route needs access to [https://api.together.ai/endpoints], which the page links. The page does not say which account roles or permissions are needed to change weights, so that is unknown.

To control stickiness yourself, your requests must carry the prompt_cache_key or user field. The page calls these request fields but does not say which request types or API routes accept them.

How routing works

Each request reaches one deployment through a series of sampling decisions. Step one samples among deployments in the traffic split in proportion to capacity (weight times ready replicas). Step two applies only if the sampled deployment is the control of an A/B test. In that case the endpoint samples again among the control and its variants, using the percentages set for the test. Step three sends the request to a cluster within the chosen deployment. The page does not describe how a cluster is picked inside a deployment.

Sampling is deterministic, not a fresh random draw for each request. The endpoint derives a sampling key from each request and always sends the same key to the same deployment while the split is stable. The key is the request's prompt_cache_key if set, otherwise its user field if set, otherwise a value derived from the request content. The page does not describe how that value is derived from the content.

The stated reason is cache reuse. If follow-up turns of a conversation reach the same replica as earlier turns, the cached prompt prefix can be reused, which the page says lowers latency and cost. The page gives no measurements of that effect.

Shadow experiments sit outside this path. They copy a sampled fraction of traffic to a target for observation and do not change which deployment serves the response.

One consequence follows from the stated formula: weights and ready replica counts together set capacity-based shares. Changing ready replica counts can change relative traffic shares when multiple deployments have positive capacity. The page does not say whether a change in ready replica count reassigns sampling keys. It only says that some keys are reassigned when you edit weights or add or remove a deployment.

Setup steps the page describes

CLI: when the CLI deploy command creates a deployment, it automatically routes 100 percent of traffic to it. To change an existing split, run endpoints update with the deployment ID (which starts with dep_) and --traffic-weight. The CLI finds the parent endpoint itself and keeps the other deployments' weights. Each weight must be non-negative and finite.

Console: on the endpoint's Overview tab, select Edit traffic weights, set the weight, and select Save changes. Alternatively, open the deployment, select Edit on the Deployment configuration card, set Traffic weight, and save. These controls are unavailable while a rollout is active, until you complete or cancel the rollout.

Automatic routing is documented for CLI deploy; routing defaults for other creation methods are unknown. The page does not describe the API or other tools, so how weights are set there is also unknown.

Worked example

The page's own example puts a single deployment live with the command: tg endpoints update dep_abc123 --traffic-weight 1. For a single deployment, any non-zero weight routes all traffic to it. To take another deployment out of rotation without touching the rest of the split, the page shows: tg endpoints update dep_def456 --traffic-weight 0.

The following illustration applies the page's formula but is not taken from the page and was not run. Suppose two deployments both have weight 1, one with 2 ready replicas and one with 1. Their capacities are 2 and 1. Across many distinct keys, the first would be sampled about two thirds of the time and the second about one third. Any single key would stay on the deployment it was assigned to while the split is stable.

For a multi-turn chat, the page advises setting prompt_cache_key to the same value on every turn so the turns route together. The page shows no request body, so the exact request format for that field is not covered.

Assessment & evidence

Limitations and unknowns

Scope: this is an overview page. It links to separate pages on split traffic, rollouts, A/B tests and shadow experiments, but those pages were not captured, so their behaviour is not assessed.

The page does not state: how to install or sign in to the tg CLI; which CLI versions are supported; any HTTP API or SDK method for setting weights; how quickly a weight change takes effect; what happens if every deployment has weight 0 or no ready replicas; how a cluster is chosen inside a deployment; how a sampling key is derived from request content; any limits on the number of deployments or weights; or any pricing.

Stickiness is conditional. The page says it holds only while the split is stable, and that some keys move to another deployment when weights change or a deployment is added or removed. The page qualitatively describes cache reuse and reduced latency and cost; it provides no cache-hit rates or measurements.

Nothing was executed. The commands, Console paths and routing behaviour are as Together AI describes them and were not tested.

Why the routing model matters

Being ready and receiving traffic are separate on these endpoints. A deployment marked READY receives no requests until traffic is routed to it. The documented exception is a deployment created by the CLI deploy command, which automatically gets 100 percent of traffic. Anyone who creates a deployment and sees no requests arriving needs this fact first.

A deployment's capacity is its weight times its ready replicas, and its share is proportional to that capacity. So when several deployments share an endpoint, the traffic each one takes depends on scaling as well as on the weights you set. Operators need to account for both when planning how much traffic each deployment will handle.

Stickiness affects caching and change planning. The page says pinning each sampling key to one deployment while the split is stable is how prompt caches stay warm, and that editing weights or adding or removing a deployment reassigns some keys. Setting prompt_cache_key gives callers direct control over which requests route together.

The page is useful but narrow. It explains the model and gives two ways to change weights, but it lacks the installation, authentication, pricing, HTTP API and troubleshooting details needed to run production traffic changes from this page alone.

Alternatives and related options

Within the same product, the page links four strategies for needs beyond a plain weight. Split traffic divides several deployments by weight. Rollouts move traffic from one deployment to another in controlled steps, with checks between steps. A/B tests hold a fixed split between a control and variants to compare candidates on live traffic. Shadow experiments copy traffic to a target without affecting responses. Their details are on separate pages that were not reviewed here.

This evidence does not identify any external alternatives or what they can do, so no comparison is made.

Evidence used

The only evidence is the captured text of [https://docs.together.ai/docs/dedicated-endpoints/route-traffic.md], stored as selected-page.txt (6235 bytes) and captured on 15 November 2026. It includes the routing text, the two CLI examples, the Console steps, the source of the routing flowchart, the stickiness rules and the note on key reassignment.

The evidence is a single page written by Together AI. No independent test, benchmark, source code, changelog or third-party review was available, so claims about performance, cache benefits and reliability have no independent support.

Access & freshness

Costs

The page states no prices, billing rules or free tier, so the cost of dedicated endpoints, deployments and replicas is unknown from this evidence. The page says a deployment with weight 0 keeps running but does not say whether it is billed. Check Together AI's pricing information separately before relying on that.

The only cost statement is qualitative: routing related requests to the same replica lets a cached prompt prefix be reused, which the page says lowers latency and cost. It does not say how large any saving is.

Rights and reuse

The captured page contains no licence or reuse terms. The only attribution is a footer saying the documentation is built and hosted on Mintlify. That describes the hosting platform and is not a licence for the content. The evidence therefore does not establish any right to copy, adapt or redistribute the text.

Readers can link to the page and apply the described behaviour to their own Together AI deployments. For anything beyond that, check Together AI's terms of service and documentation terms.

Freshness

The page was captured on 15 November 2026. It shows no publication date, last-updated date or version number, so this evidence cannot show how current it is compared with the live product.

The page describes rollouts disabling the weight controls while active, and CLI behaviour tied to the tg tool. Both are product details that can change, so recheck the live page and the CLI help before relying on exact command syntax or Console labels.

Suggested next steps

If a new deployment is READY but receives no requests, check its traffic weight first. Set a non-zero value with tg endpoints update and the deployment ID, or in the Console from the endpoint's Overview tab.

If you serve multi-turn conversations, set the same prompt_cache_key on every turn of a conversation so the turns route together. If it is not set, the user field decides the key, and if that is not set either, the request content does.

Expect some conversations to move to another deployment when you edit weights or add or remove a deployment, and plan weight changes with that in mind. Read the Rollouts page at [https://docs.together.ai/docs/dedicated-endpoints/rollouts.md] before shifting live traffic between deployments.

Before leaving a deployment at weight 0, check Together AI's pricing information, because this page does not say whether a deployment is billed while it keeps running.

Evidence for this report

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