File size: 1,421 Bytes
a68cf9b
 
c75a170
 
 
a68cf9b
 
 
 
c75a170
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
title: Inference Capacity Planner
emoji: 🧮
colorFrom: indigo
colorTo: blue
sdk: static
pinned: false
---

# Inference Capacity Planner

An interactive, browser-only planning aid for reasoning about token throughput, replica count, batching, queue pressure, approximate p95 latency and hourly infrastructure cost.

## What it does
- Estimates offered token load from request rate and average prompt/completion sizes.
- Compares demand with nominal aggregate tokens/second capacity.
- Lets you adjust replicas, batch size, concurrency and an explicit per-replica hourly price.
- Flags capacity overload and whether the rough latency estimate meets a chosen target.

## Run
Open `index.html` in a browser. The page has no external dependencies or network calls. Check the Python reference calculation with `python -m unittest -v`.

## Important limits
This is a transparent synthetic planning model, not a serving benchmark, autoscaler, model comparison, cloud quote or production SLO guarantee. Hardware-specific throughput, prefill/decode behavior, token distributions, batching scheduler, cold starts, failures, cache hits, network overhead and bursty arrivals are not modeled. Its queue and p95 values are deliberately rough heuristics; measure the selected model and deployment under representative traffic before making capacity decisions. The example hourly price is user-editable and is not a provider quote.