LLM hardware calculator

Enter your model and hardware. Every input is editable.

Your configuration

All values are editable. Presets are optional.

Custom setup
Optional presets Load an example, or keep editing your own values

Load example values

Apply a model and a machine independently, then fine-tune the inputs below.

Architecture source ↗

Quantized weight profiles include an illustrative metadata allowance. Replace bytes per parameter with your actual file size / parameter count.

Generic examples, not GPU specifications or measured benchmarks. Profiles use host-staged transfers; enter your sustained bandwidth, effective compute and actual PCIe topology.

Save your own configuration ↓

Live estimate

Update any input to recalculate the complete layer chain.

Decode—
Latency / token—
Layer split · execution order—
PlacementNOT CALCULATED

Layer placement & token path

Waiting for valid inputs.

—

    Best estimated split
    0.00 t/s
    Best single GPU + CPU
    0.00 t/s

    Save, share & files

    Keep your own settings as a named configuration, JSON file or shareable link.

    Save your setup

    Memory budget

    Waiting for valid inputs.

    Model weights
    —
    KV cache
    —
    Usable GPU memory
    —
    GPU reservations
    —
    Device Layers Weights KV cache Usable Free after placement

    Uniform layer storage. GPU reservations are excluded from usable memory; CPU RAM is the usable amount you entered. Runtime buffers must be reserved separately.

    Weights and KV cache stay on the device that owns their layers. The arrows show activation transfers between consecutive blocks. Layer numbers start at 1.

    03

    How much context can you keep?

    Calculate a full-attention KV cache, then explore the same machine at longer contexts.

    Uses the — layers in your current configuration. Presets fill the KV architecture; custom models require your own head counts.

    KV storage / one sequence——

    2 × layers × KV heads × head dimension × tokens × bytes

    Assumes a fully occupied, single-sequence cache read once per generated token. Packed 4/8-bit sizes exclude scales and block metadata. Does not model sliding windows, MLA or hybrid attention. KV cache reference ↗

    Context sensitivity

    A what-if analysis using the KV architecture on the left and your current weights and hardware. Current calculator inputs stay unchanged until you apply the cache.

    Context KV cache Model + KV Decode estimate Placement

    —

    04

    Compare configurations

    Keep the alternatives worth coming back to.

    Save up to six snapshots. Loading one restores every input; comparisons stay on this browser.

    Save a configuration, change the hardware or model settings, then save another to compare.