AI inference capacity planning

AI Accelerator Sizing Expert

Which accelerators can serve your model to your users at the speed they need, and how many cards does each one take?

Experimental tool · Not vendor-endorsed · Illustrative configurations only

Presets ▾

Recommended configuration

Accelerators compared

Select an accelerator to see the working behind its figures. A layout is one or more groups of cards: 2 × 4-card means two groups of four cards. Each group runs its own copy of the model, and users per group is how many users each one serves.

Indicative cost for each sized configuration

Normalisation and assumptions

Each accelerator is sized on two limits. Memory: a group of cards must hold the model weights at the chosen precision (plus 5% for the runtime), room for one request at the maximum context window, and the KV cache of a typical request (prompt + answer) for every other user it serves, within 90% of card memory. The KV cache is 2 × layers × KV heads × head dimension × bytes per value for each token, so long prompts and many users can need more memory than the model itself. Serving software such as vLLM allocates the cache by the tokens a request actually uses, which is why typical requests, not the maximum window, set the user count. Speed: generating each token reads the active weights and every served user’s KV cache from memory, unless the arithmetic takes longer. While an answer is written its cache grows from the prompt to the prompt plus the answer, so the read uses the average: prompt + half the answer. Decode time per token is the larger of bytes read ÷ (memory bandwidth × 70%) and 2 × active parameters × users ÷ (dense TFLOPS × 50%), plus, for a group of cards, the time the group spends synchronising: two all-reduces per layer at every step, about 15 µs + 6 µs per doubling of cards each over NVLink (estimated at 1.5 times that over Ethernet and twice over PCIe). That fixed cost matters most with few users per group, where it can halve the speed. With a gap between requests, only part of the active users are generating at any moment (answer time ÷ (answer time + gap) of them), and only they are in each decode step; memory still holds every active user’s cache. Each user’s speed is one token per decode step, less the time the cards spend on new prompts: a group serving n users receives n ÷ (answer length ÷ speed + seconds between requests) new prompts a second, each needing 2 × active parameters × prompt tokens of compute. That share of the group’s effective compute slows every user’s generation by the same share.

More cards serve more users in two ways: separate copies of the model (each card or group serves its own users) or tensor parallelism (one copy split across a group of cards, which adds bandwidth and memory but loses some throughput to card-to-card communication: about 2–5% per doubling over NVLink, Infinity Fabric or Ethernet, and 14% over PCIe). The tool tries each group size up to the largest modelled for the card, finds how many users a group can serve at the target, and keeps the layout with the fewest cards: that is Cards needed. Where several layouts need that many cards (two single cards or one 2-card group, say), it keeps the one with the fastest full answer: on cards with slow memory a group often wins, because each card reads only part of the weights; on fast cards separate copies usually win, because they avoid the time cards spend synchronising. The users are shared evenly across the groups in that layout, and speeds, memory and answer times are for it. SXM and OAM cards are sold on 4- or 8-card boards and SambaNova as 16-chip racks, so more cards may be bought than the layout uses; those extra cards add cost and power (unless apportioned) but are not used to speed up this workload, as organisations often isolate cards between workloads and business units. The recommendation follows “Recommend by”.

Target speed. The target is the minimum speed per user: tokens a second while the answer streams. For chat, around 15–20 tokens a second keeps ahead of reading. For a time limit on the whole answer, set the speed to answer tokens ÷ (seconds − first token): a 500-token answer within 10 s with a 0.5 s first token needs about 53 tokens a second. Time between requests sets how many users are generating at once: users × answer time ÷ (answer time + time between requests), solved together with the speed. Use 0 only for automated or batch work, where every user is always generating.

Calibration. The 70% bandwidth figure and the synchronisation time were checked against SemiAnalysis InferenceMAX results for Llama 3.3 70B at FP8 with 8K prompts and 1K answers (October 2025 runs). Reading its per-GPU throughput as prompt plus answer tokens, its B200 points at 45, 76 and 108 tokens/s per user imply groups of 2 and 4 GPUs with 32, 28 and 9 users; the tool reproduces them within 1%, and its H200 points, not used for fitting, within 10%. Without the synchronisation time the tool overstated speed by 17–100%, most with few users per group. Smaller models, PCIe cards and other serving stacks were not part of that check.

Mixture-of-experts models hold all their parameters but compute with the active ones; with several users per step, more experts are read, so their memory traffic rises towards the full model. FP8 weights halve memory and traffic against BF16 and use FP8 arithmetic where the card supports it; INT4 is weight-only, with BF16 arithmetic. With FP8 the KV cache is also stored in FP8 on cards that support it, halving it; A100 keeps it at FP16, and BF16 and INT4 keep it at 16-bit. Each accelerator’s working says which it used. First-token time is the typical prompt’s compute time for one request with no queue; when prompts take more than a quarter of the cards’ time, expect 1.5–2× at busy moments.

Time to full answer per transaction is model calls × (network round trip + first token + answer tokens ÷ speed per user), with the calls made one after another. Every accelerator is reached over the network at the round trip you choose (1 ms in the same data centre, 10 ms from another site, 40 ms from a public cloud). It is the time until the whole answer has arrived: in a streamed chat the user starts reading at the first token, so for chat the first token and the speed per user matter more, while automated work waits for the full answer. It is an estimate with no queueing; it assumes a kept-open connection and excludes TLS set-up, load balancers and API gateways, which add more in practice.

The answer time usually dominates: 300 tokens at 20 tokens a second takes 15 seconds, against a few milliseconds of network. Speed per user follows memory bandwidth, so a card with much more bandwidth finishes sooner even across a longer network path. Each layout is sized to meet the target, but a single large GPU often far exceeds it, while smaller cards land close to it, so a faster response than the target is not by itself an advantage the workload needs. The network’s share is largest for short answers (classification, scoring, extraction) and for transactions that make several calls, which is where running on the same system as the data shortens the response most.

Costs are indicative: cards at street prices, plus host servers for GPU and Gaudi cards (one per eight cards, excluding the accelerators), plus energy for the period. Energy is board power × 1.25 for the rest of a GPU server × PUE × hours × price. By default cost and power cover the full deployment: SXM and OAM accelerators (A100, H100, H200, B200, MI300X, MI325X, Gaudi 3) are sold on 4- or 8-card baseboards and SambaNova as 16-chip racks, so whole boards, racks and servers are priced and every card bought is counted at full power, even when the workload needs fewer. Tick “Apportion cost and power to the cards required” to cost and power only the cards needed and their share of a server, as when spare capacity runs other work or capacity is rented by the card. Apportioning changes cost and power only, never the layout, speeds or answer times. Software subscriptions, support, networking, floor space and staff are not included. Prices move quickly and vary by volume and vendor relationship, so use quotes for any real proposal.

Card figures are published dense specifications (no sparsity); B200 and B300 memory is shown as configured in HGX systems (1.4 TB and 2.1 TB over 8 GPUs). B300 has the same dense FP8 and BF16 throughput as B200; its gains are in FP4, which this tool does not model. NVIDIA publishes no B300 price, so its $50k is an estimate. Real throughput depends on the serving stack, batching, prompt mix and quantisation quality. Prefix caching (reusing the processed start of prompts that many requests share) is not modelled: it shortens prompt processing and first-token time on every platform alike, so it changes absolute figures more than the comparison. Validate with a benchmark of your own prompts before buying.

SambaNova SN40L figures come from SambaNova’s SN40L paper (Prabhakar et al., arXiv 2405.07518): 638 BF16 TFLOPS, 64 GB of HBM at 1.8 TB/s, plus 520 MB of on-chip SRAM and up to 1.5 TB of DDR, which this tool does not model; it sizes the SN40L on its HBM like the other cards. SambaNova publishes neither a per-chip power figure nor a price: power here is each chip’s share of a 16-chip SambaRack (about 10 kW, hosts included), and the SN40L is not costed or ranked on cost. SambaNova’s own published speeds use speculative decoding, which this tool does not model for any card. The SN50 is not included yet because its memory bandwidth and compute are not published in a form this tool can use.