InfraCheck
Size self-hosted LLM serving before you buy the hardware: how many users, how fast, at what cost.
- React
- TypeScript
- No backend
The problem, and the rule behind the tool.
Before buying or renting GPUs for a self-hosted model, a team needs one answer: how many people can this serve, how fast, and at what cost. Most calculators multiply a model size by a GPU size and print a verdict. The two figures that decide real performance, the KV-cache geometry of the architecture and the memory bandwidth, are approximated away.
InfraCheck computes them. The KV cache comes from each model’s own configuration, decoding is modelled as a roofline where the slower of memory and compute sets the pace, prompt processing and generation share the same silicon, and mixture-of-experts models are costed on their active parameters. Every intermediate figure is shown, so you can disagree with it.
It is a starting point for a load test, not a substitute for one, and the app says so. It runs entirely in the browser: no account, nothing uploaded, and prices you can edit to match your own quote.
Built for the real case, not the slide.
- 01
Where the memory goes
Weights, runtime, KV cache and headroom in one gauge, and how many requests fit before memory runs out.
- 02
Scaling, drawn
Per-user speed and total throughput as load rises, with your speed target and the memory wall on the same chart.
- 03
Cheapest that fits
Every accelerator in the catalogue at one to eight cards, filtered to those that hold your peak, cheapest first.
- 04
Levers, ranked
Single changes ranked by the capacity they buy back: quantisation, context length, more cards. One click applies one.
5 stages, end to end.
The same discipline as every system on this site: structure first, generation from evidence only, and a result a person can check before relying on it.
Stage 01
Describe
A model, the precision of its weights and KV cache, an accelerator and how many, then the peak load with a speed and first-token target.
Stage 02
Size memory
Weights from the total parameters, KV cache per token from the architecture: 2 × layers × KV heads × head size × bytes. What is left decides how many requests fit.
Stage 03
Model decoding
Each step streams the active weights and every sequence’s cache; the slower of bandwidth and compute sets the pace.
Stage 04
Share with prefill
Prompt processing steals time from generation. Both are solved together, so long prompts visibly cost speed.
Stage 05
Verdict and levers
One sentence naming the limit, the cheapest hardware that fits, and the changes that would recover the most capacity.
Few parts, chosen on purpose.
React and TypeScript
A strictly typed engine; every view recomputes on each keystroke, with no "calculate" button.
Hand-written SVG charts
No charting library: the download is almost entirely the planner itself, about 85 kB compressed.
A catalogue from config.json
Model specs read from each architecture’s configuration. GPU prices are on-demand medians across six clouds, surveyed in September 2026, and editable.
Open to use. Try it.
The app is public and free to use, with no account. Questions, corrections or ideas are welcome by email.