- Home
- Guides
Guides
Straightforward, math-backed answers to local AI bottlenecks—each ending with an interactive calculator preset.
Troubleshooting & Concepts
How to Fix CUDA Out of Memory Errors in Local LLMs
A CUDA out-of-memory (OOM) error means your model weights plus KV cache and runtime overhead exceed available GPU VRAM. Lowering context length or dropping one quantization step usually fixes it; otherwise you need more VRAM.
GGUF Quantization Explained: Q4 vs Q6 vs Q8
GGUF tags like Q4, Q6, and Q8 indicate the average bits stored per weight. Q8_0 stays nearly lossless at large file sizes, while Q4_K_M and dynamic community quants (UD-Q4_K_XL) cut memory roughly in half with minimal quality loss.
Running Heavy Image & Video Models on a 16GB GPU
With ComfyUI Dynamic VRAM and 64GB of system RAM, 16GB NVIDIA cards like the RTX 5080, 5070 Ti, and 5060 Ti can run MiniMax H3, LTX-2.5, Wan2.2, and Ideogram 4.0 locally.
Why Longer Context Windows Overflow Your VRAM
Every extra token in your context window expands the KV cache stored in memory. A 27B model typically uses around 0.25 GB per 1K tokens, so jumping from 8K to 32K context adds roughly 6 GB of VRAM demand.
Discrete GPU VRAM vs Unified Memory (Mac & AI Mini PC)
Discrete GPU VRAM offers extreme speed in smaller capacities (8GB–32GB), while unified memory on Apple Silicon and AMD Ryzen AI Max systems offers huge capacity (64GB–512GB) at lower bandwidth. GPUs win under 27B; unified memory unlocks 100B+ models.
Why Mixture-of-Experts (MoE) Models Are Huge Yet Fast
An MoE model loads all parameters into memory, but activates only a small subset per token. Capacity is dictated by total parameters, while speed is dictated by active parameters.
Hardware Picks by Budget & Workload
Local LLM Hardware Under $1,000
The 16GB GPU sweet spot. Ranked by speed and fit for 20B-class models without breaking the budget.
Mid-Range Local LLM Picks ($1,000–$2,000)
The tier where 27B models finally fit cleanly inside memory without slow CPU offloading.
High-Memory & Flagship GPUs ($2,000–$4,000)
High-capacity unified memory desktops alongside top-tier discrete GPUs for heavy daily workloads.
Workstations for 100B+ Models ($4,000+)
Single-machine rigs with enough unified or workstation memory to run 100B+ open-weight models locally.
16GB GPUs for Image & Video Generation
With ComfyUI Dynamic VRAM and 64GB system RAM, modern 16GB NVIDIA cards can run MiniMax H3, LTX-2.5, and Wan2.2.
16GB NVIDIA RTX vs 32GB VRAM GPUs
Deciding at the same price bracket between CUDA speed for image/video generation and 32GB VRAM for 27B–35B LLMs.
Best Hardware for Local Coding LLMs
Code completion needs fast tokens per second. Ranked by throughput on 30B-class coding models.
Low-Power 24/7 Local AI Home Servers
Filtered to systems under 300W max TDP—ideal for always-on personal inference nodes.