COMMUNITY HUB Independent Local MoE Inference Guides, Hardware Blueprints & Benchmarks for Strata LLM
SL
STRATA LLM
Interactive Sizing Tool

MoE LLM VRAM & RAM Calculator

Estimate total weight footprint, active-expert VRAM allocation, KV cache overhead, and host DDR5 RAM requirements before downloading a 30B–125B+ Mixture-of-Experts checkpoint.

1. Model & Hardware Inputs

2. Estimated Memory Budget & Feasibility

Hybrid MoE Offload
Total Weights 70.0 GB
Hot VRAM Need 10.4 GB
Cold RAM Offload 62.2 GB
KV Cache + Runtime 2.6 GB
Memory Allocation Split Total Footprint: 72.6 GB
GPU VRAM (Shared Attention + Hot Experts + KV) System RAM (Pinned Cold Experts)
Calculating configuration...
Suggested Baseline Launch Flags (Verify against your installed Strata release)
strata serve --ctx-size 8192 --kv-cache-type q8_0 --vram-budget 11G

How MoE Memory Math Differs from Dense LLMs

In a traditional dense model such as Llama-3.3 70B, every forward pass touches 100% of the model weights. If the checkpoint exceeds your GPU VRAM, offloading layers to system RAM slows token generation dramatically because the CPU and PCIe bus must read every gigabyte for every single token.

In a sparse Mixture-of-Experts (MoE) model, total parameters may reach 125B+, while only active parameters (often 3B to 14B) execute per token. By pinning attention heads, embeddings, KV cache, and the hottest experts in GPU VRAM while streaming dormant experts from pinned DDR5 memory, consumer 12GB–16GB GPUs can maintain usable interactive throughput.

Why OS Headroom & KV Cache Matter

Never budget 100% of your advertised VRAM or system RAM for model weights. On Windows 11, the Desktop Window Manager (DWM) and browser hardware acceleration typically reserve 0.8–1.5 GB of VRAM, while the OS kernel and background services require 6–10 GB of system RAM.

Context length also scales KV cache memory linearly. Switching KV cache precision from FP16 to Q8_0 cuts KV memory in half with negligible perplexity impact—often the single easiest fix for 32K+ context OOM crashes. Read our full KV Cache Memory Math guide for exact formulas.

Worked Consumer PC Sizing Examples (Q4_K_M)

Use these three reference workstation builds to sanity-check your calculator output against real-world OS overhead, KV cache budgets, and safe daily context limits.

Workstation Profile Recommended Model Safe Context & KV Hot VRAM / Cold RAM Operational Notes
RTX 3060 12GB + 64GB DDR4 Qwen3.8-125B MoE (Q4_K_M) 8K · Q8_0 KV ~10.5 GB / ~62 GB Close heavy browser tabs before launch to avoid Windows pagefile spilling.
RTX 4070 Ti Super 16GB + 96GB DDR5 Qwen3.8-125B MoE (Q4_K_M) 16K–32K · Q8_0 KV ~14.5 GB / ~60 GB Comfortable headroom for VS Code + Continue.dev + Docker Open-WebUI simultaneously.
RTX 4090 24GB + 128GB DDR5 Qwen3.8-125B (Q5_K_M) or Qwen3-30B-A3B 32K–64K · Q8_0 KV ~22.5 GB / ~68 GB High hot-expert hit rate; 30B-A3B runs 100% resident in GPU VRAM.

Why does my actual usage differ by 1–2 GB?

Exact runtime memory varies by CUDA toolkit version, cuBLAS scratchpad workspaces, tokenizer vocabulary tables, and whether Flash Attention is enabled. Treat calculator figures as planning estimates and verify live usage via nvidia-smi.

How were these sizing formulas validated?

Weight estimates follow standard GGUF K-quant bits-per-weight ratios (4.5–8.4 bpw), while KV cache scaling uses Grouped-Query Attention (GQA) per-token footprints. See our Benchmark Methodology → for full measurement definitions.