All glossary terms

Pricing

Capacity planning

The arrival-rate arithmetic that decides how many cards to rent before the first bill arrives: peak arrivals, seats granted per card, and one spare.

Serving capacity is priced by the node, not the request: cards rent by the hour and bill whether busy or idle, so the job is to size the fleet to the peak minute you intend to survive. The inputs are measured, not guessed: the peak arrival rate, how long a request holds its seat from admission to completion, and how many concurrent requests one card can grant given its KV cache budget. The seats, not the tokens, decide the node count.

The arithmetic is one multiplication and one ceiling division. Arrival rate times time-in-system gives the resident request count at the peak - which is a queueing identity, not a coincidence, and it is why the same formula warns of saturation from the other direction when queue depth is measured instead. Divide the resident count by seats per card, round up to whole cards, and decide how much headroom to rent for a card loss or an arrival spike.

What separates a good plan from a spreadsheet is honesty about the distributions behind the averages. Peak is not the mean - launches land in bursts, agent traffic multiplies tokens per request, and a pool sized to the average bills cheaply until the one hour a month that pays the whole invoice. So the plan states its percentile: cover the 99th-percentile minute and accept the idle rent the other 98.9 percent of minutes pay for, or design shedding around what you chose not to cover.

A worked example

A tier sees a peak of 10 requests per second, each request holds its seat for 2 seconds end to end, and each replica grants 10 concurrent seats. One card rents at $2.50 per hour.

  1. Resident demand at the peak: arrival rate x time in system = 10 x 2 = 20 concurrent requests.
  2. Replicas: 20 / 10 = 2, plus one spare for a card loss, so the run set is 3 cards.
  3. Bill: 3 x $2.50 = $7.50 per hour, and $7.50 x 24 x 30 = $5,400 a month for the standing fleet.

Peak arrivals x sojourn time fixes demand at 20 seats, which is 2 replicas plus a spare, $5,400 a month - capacity is arithmetic until the arrival distribution is a judgment call.

Where this shows up

Related terms