AI memory planner: GPU VRAM & unified memory
Estimate model weights, KV cache and runtime memory for an AI workload. Keep GPU VRAM and unified system memory separate, with documented assumptions and sources.
Compute & memory
AI model memory planner
Separate weights, architecture-specific KV cache and runtime allocations in a discrete or unified memory budget.
Example inputs · Replace these with your measurements to build your plan.
MLA, latent/compressed caches and special architectures require a measured manual allocation.
Method, example and sources
- Convert parameter count and stored bits into a weights-only byte lower bound.
- Add explicit metadata and either a measured KV allocation or the entered MHA/GQA shape: 2 × layers × KV heads × head dimension × tokens × sequences × bytes.
- Add runtime workspace and subtract only the OS/shared allocations belonging to this same memory pool.
- Compare one device’s budget; retain unknown allocations and validate the exact runtime before choosing hardware.
Worked example. Seven billion weights at 4 bits occupy about 3.260 GiB before metadata. Adding 0.5 GiB metadata, 2 GiB KV and 2 GiB runtime gives 7.760 GiB; a 24 GiB device with 1 GiB reserved leaves 23 GiB to compare.
Planning result · confirm model details
Compare the declared working set with the available budget
Discrete VRAM: one device, with OS/shared allocations counted once. Weights alone are a lower bound.
- Weights lower bound
- 3.26GiB
- KV cache
- 2GiB
- Declared model/runtime total
- 7.76GiB
- Budget after other allocations
- 23GiB
- Remaining budget
- 15.24GiB
- Weights3.26 GiB
- Metadata0.5 GiB
- KV cache2 GiB
- Runtime2 GiB
- OS / other1 GiB
- Unmeasured or omitted allocations prevent a confirmed-fit result.
- Do not add multiple GPUs or Spark nodes into a single flat memory pool. Standard KV math applies only to the entered MHA/GQA shape, without cache sharing, sharding or compression.
From the catalog
Graphic Cards
Explore related listings, then confirm the exact model requirements against your plan. These listings are not an automatic compatibility or capacity verdict.
- AdvantechAdvantech NVIDIA Quadro A1000 Graphic Card - 8 GB GDDR6 - Half-height/Low-profile - 7680 x 4320 - 128 bit Bus Width - PCI Express 4.0 x8 - 4 x Mini DisplayPort - Mini DisplayPortSKY-QUAD-A1000-8
$873.85
Back-orderedBack-ordered — estimated OEM lead time 3–8 weeks (Dec 4, 2026 – Jan 8, 2027 if ordered today).
- AdvantechAdvantech NVIDIA Quadro A2000 Graphic Card - 8 GB GDDR6 - 7680 x 4320 - 1.12 GHz Core - 1.61 GHz Boost Clock - 128 bit Bus Width - DisplayPort - 4 x DisplayPort - HDMI - 2 Year WarrantySKY-MXM-A2000-8SDA
$1,379.26
Back-orderedBack-ordered — estimated OEM lead time 3–8 weeks (Dec 4, 2026 – Jan 8, 2027 if ordered today).
- AdvantechAdvantech NVIDIA Quadro RTX 2000E Ada Graphic Card - 16 GB GDDR6 - Low-profile - 7680 x 4320 - 128 bit Bus Width - PCI Express 4.0 x8 - 4 x Mini DisplayPort - Mini DisplayPort - Single Slot Space Required - Active Cooler - 2 Year WarrantySKY-QUAD-2000EA-16
$1,066.72
Back-orderedBack-ordered — estimated OEM lead time 3–8 weeks (Dec 4, 2026 – Jan 8, 2027 if ordered today).
- AdvantechAdvantech NVIDIA Quadro RTX 4000 Ada Graphic Card - 20 GB GDDR6 - Full-height - 7680 x 4320 - 160 bit Bus Width - PCI Express 4.0 x16 - DisplayPort - 4 x DisplayPortSKY-QUAD-4000A-20
$1,923.74
Back-orderedBack-ordered — estimated OEM lead time 3–8 weeks (Dec 4, 2026 – Jan 8, 2027 if ordered today).
- AdvantechAdvantech NVIDIA Quadro RTX 4500 Ada Graphic Card - 24 GB GDDR6 - Full-height - 7680 x 4320 - 320 bit Bus Width - PCI Express 4.0 x16 - DisplayPort - 4 x DisplayPort - Dual Slot Space Required - Active Cooler - 2 Year WarrantySKY-QUAD-4500A-24
$3,481.81
Back-orderedBack-ordered — estimated OEM lead time 3–8 weeks (Dec 4, 2026 – Jan 8, 2027 if ordered today).
- AdvantechAdvantech NVIDIA Quadro RTX 5000 Ada Graphic Card - 32 GB GDDR6 - Full-height - 7680 x 4320 - 384 bit Bus Width - PCI Express 4.0 x16 - DisplayPort - 4 x DisplayPort - Dual Slot Space Required - Active Cooler - 2 Year WarrantySKY-QUAD-5000A-32
$6,372.93
Back-orderedBack-ordered — estimated OEM lead time 3–8 weeks (Dec 4, 2026 – Jan 8, 2027 if ordered today).
What the result means
Model weights, attention cache and execution workspace occupy memory for different reasons. Changing stored weight precision does not automatically change the KV data type or remove quantization metadata. The shape calculation explicitly asks for KV heads, which can differ from query heads in grouped-query attention. A latent or compressed cache needs its own measured allocation instead of this standard shape.
Before choosing a product
Discrete GPU memory is separate from ordinary host RAM. A coherent unified system instead shares one pool between CPU, GPU and other processes, so system allocations reduce the same budget. Manufacturer capacity is not measured available memory, and adding node capacities does not establish supported model partitioning. Treat this worksheet as a requirement record, then test the model, context and concurrency on the chosen runtime.
Worked example
Seven billion weights at 4 bits occupy about 3.260 GiB before metadata. Adding 0.5 GiB metadata, 2 GiB KV and 2 GiB runtime gives 7.760 GiB; a 24 GiB device with 1 GiB reserved leaves 23 GiB to compare.






