AI Interviews · Question

Decide when a customer with a tail-latency requirement gets a dedicated endpoint versus a slot in the shared GPU pool.

System design question reported at Together AI (2026). Sources, confidence and an answer card.

Researched · updated

infra-049 AI Infra Engineer GPU fleet scheduling & fairness System design Low confidence
On this page

What they’re really asking

If you only remember one thing, say this in the first minute: “A dedicated endpoint buys isolation and a tail latency I can promise, and it costs utilisation: the customer pays for their quiet hours too. A shared pool is cheaper because different customers’ bursts mostly don’t line up. So I’d ask for their load numbers and decide by a rule: dedicate when their own peak fills most of a GPU, when their promise is tighter than the pool can hold, or when isolation is in the contract. Otherwise sell them a priority tier in the shared pool, and put a price on both.”

The rest of this page explains each part of that answer.

The interviewer wants to see whether you can put a number on isolation.

You’ve made this call before with databases: a customer asks for their own instance instead of a shared cluster. The same logic applies here, with two differences. The unit of capacity is a GPU replica (one running copy of the model), which is expensive: an H100 rents for dollars an hour. And the promise customers care about is the tail latency: the p99, the time that 99% of requests beat. A shared pool can hold a p99 for everyone only if their bursts don’t all arrive at once.

The prompt comes from one prep article on Together AI, phrased as a customer wanting “a dedicated endpoint with tight tail-latency guarantees” (techinterview.orgsecondary · 2026). A strong answer turns the choice into a rule and a price.

Clarify first

  • The customer’s load. Steady load, burst size, and how bursty, measured in replicas.
  • The p99 target, and whether isolation is contractual (compliance, worries about noisy neighbours).
  • Do their bursts line up with everyone else’s? Business hours in one time zone is the usual case.
  • What a replica costs. “I’ll assume one H100 per replica.”

Answer

Why sharing is cheaper

Every customer’s load goes up and down. If you give each customer their own capacity, each needs headroom for its own peak. In a shared pool, one customer’s peak usually lands while others are quiet, so bursts partly cancel. The pool needs much less total headroom. This is called statistical multiplexing, and it is the whole reason shared pools exist.

Dedicated:  [A][A-headroom]  [B][B-headroom]  [C][C-headroom]  ...  20 replicas

Pooled:     [ A + B + C + ... ][ shared headroom ]                  9 replicas
            bursts that don't line up share the same headroom

Follow one set of customers

Take 20 customers. Each uses on average 0.3 of a replica, swings by a typical 0.2 replica (one standard deviation), and needs headroom of three standard deviations for the latency target. All of these are assumptions.

OptionCapacityWhat to say in the interview
Dedicated0.3 + 3 × 0.2 = 0.9, rounded up to 1 replica each, 20 in all”Each customer needs a whole replica for a 0.9 peak.”
Pooled9 replicas for all 20”Bursts that don’t line up share headroom.”
One customer’s fair share of the poolabout 0.43 replica”Dedicated costs this customer about 2.3× their pooled share.”

The assumption that breaks: this only works if bursts are independent. If all 20 customers peak at 9 a.m. in the same time zone, or one viral launch hits several of them, the bursts don’t cancel and the pool needs more headroom. Say this before the interviewer does.

The rule

Dedicate when:

  • the customer’s own peak fills most of a whole replica, so little is wasted;
  • their p99 is tighter than the pool can hold when bursts line up; or
  • isolation is in the contract.

Otherwise sell a priority tier in the shared pool. Their requests go first, lower tiers absorb bursts, and you measure their p99 against the promise.

Price it

A dedicated H100 endpoint lists at $5.49 per GPU-hour on Together’s page, about $4,008 a month always on (Together pricing, fetched 2026-10-12). The customer pays for their quiet hours; say so in the offer.

What changes on a dedicated endpoint

  • No fair queue across tenants. There’s only one tenant.
  • Autoscaling on their own queue depth and time to first token (how long until the first word of a reply appears).
  • Upgrades start the new copy first (surge), so their replica never has a gap while a new version loads.
  • An extra replica (N + 1) if the promise must survive a GPU failure. A single dedicated replica has no failure headroom.

Say: “Dedicated isn’t a yes-or-no favour. It’s a tier with a price, and the price comes from how much of a replica their own load fills.”

The arithmetic behind the numbers (for a Staff-level follow-up)
Dedicated versus pooled capacity
dedicated_i = ⌈μ_i + z × σ_i⌉;  pool = Σμ + z × √(Σσ²);  share_i = μ_i + z × σ_i² ÷ √(Σσ²)
μ_i, σ_i
customer i's mean and standard deviation of load, in replicas
z
headroom for the latency target; 3 assumed
share_i
customer i's share of pooled capacity; shares sum to the pool
Worked example

20 independent customers, μ = 0.3, σ = 0.2 each (assumed): dedicated 0.9 → 1 replica each, 20 total

Pooled: 6 + 3 × 0.894 = 8.68 → 9 replicas; one customer's share ≈ 0.43, so dedicated costs about 2.3×

  • √(Σσ²) = 0.2 × √20 ≈ 0.894. Share = 0.3 + 3 × 0.04 ÷ 0.894 ≈ 0.43. 1 ÷ 0.43 ≈ 2.3.
  • Monthly price: $5.49 × 730 hours ≈ $4,008.

Senior vs Staff

Dedicated or shared

Senior

  • Explains utilization loss versus isolation and proposes a priority tier.

Staff

  • Quantifies pooling, names independence as the assumption that breaks, and turns the decision into pricing tiers rather than exceptions.

The difference in plain words: a Senior answer knows sharing is cheaper and offers a middle option. A Staff answer says how much cheaper, says when that stops being true, and turns the answer into products the sales team can sell.

Small-team version

You’re usually the customer here. Start on a shared per-token (serverless) endpoint. Buy a dedicated one when your measured p99 misses your target, or when your steady volume fills a GPU.

At about $4,008 a month for one dedicated H100, the threshold is concrete: compare it with your per-token bill for the same traffic. If your bill is a fraction of that and your p99 is fine, stay shared.

Pitfalls

  • Deciding by intuition. Without the customer’s load numbers you can’t say whether dedicating wastes a lot or a little.
  • Assuming bursts are independent. Customers in one time zone peak together, and the pool’s savings shrink.
  • Forgetting that one dedicated replica has no failure headroom. A promise that survives a GPU failure needs N + 1.

Go deeper

Family