Skip to content

Deployment Playbooks & Copy-Paste Launch Recipes

  1. Under $1,000 (12–16 GB VRAM Desktop): Pair a used RTX 3060 12 GB (~$280–$350) or new RTX 5060 Ti 16 GB ($429 MSRP / ~$618 street) with 64 GB DDR5 and an AM5 CPU [9, 104]. Run Gemma 4 12B or Qwen3.5-9B (Q5_K_M / UD-Q4_K_XL) via Ollama or llama.cpp, or fit Qwen3.8-27B inside 16 GB via ISTA-DASLab GSQ-RCO IQ3_S (11.8 GB) or ExLlamaV3 4.0 bpw (12.5 GB with DRAM embeddings) [16, 29, 78].
  2. $1,000–$2,500 (24–32 GB Enthusiast Single-GPU): Prioritize an RTX 5090 near $1,999 MSRP, a new Radeon AI PRO R9700 32 GB ($1,299 MSRP, Linux ROCm 10.1 / Vulkan), or an Intel Arc Pro B70 32 GB ($949 MSRP) over inflated $1,400–$1,550 used RTX 3090s unless you specifically need dual-card CUDA [11, 26]. Standardize on Qwen3.8-27B, Inkling 2 Mini, and Gemma 4 31B—using ExLlamaV3 or llama.cpp + MTP + K8V4 KV cache—and deploy Magnitude or Strata for 125B–552B MoE streaming [1, 3, 8].
  3. $3,800–$10,800 (128–256 GB Unified Memory for 100B–320B MoEs): Pick AMD Strix Halo 395 128 GB (~$4,000) with Hallogen/Vulkan for price/performance, Mac Studio M5 Max 128 GB ($5,099) for silent single-user bandwidth, or Mac Studio M5 Ultra 256 GB ($9,499) with oMLX for Qwen3.8-Flash-Next, DeepSeek-V4-Flash, and GLM-5.3-Flash natively in RAM [41, 85]. Pick DGX Spark GB10 128 GB when CUDA parity, TensorFold prefill, or multi-agent concurrency beats raw single-user bandwidth [85].
  4. Team or Homelab Multi-User Serving: Run vLLM (or SGLang for branching agent trees) on NVIDIA or AMD GPUs with FP8 (Ada/Hopper) or NVFP4 W4A4 + Humming (Blackwell), FP8 KV cache, LMCache, and MTP / DFlash speculative decoding—capping Tensor Parallelism at TP=2 on PCIe systems without NVLink [5, 105, 128].

llama.cpp v1.0 (llama-server) — Optimal Single-GPU with K8V4 KV Cache

Section titled “llama.cpp v1.0 (llama-server) — Optimal Single-GPU with K8V4 KV Cache”
Terminal window
llama-server \
-m Qwen3.8-27B-UD-Q4_K_XL.gguf \
-ngl 99 \
-c 32768 \
-fa on \
-ctk q8_0 -ctv q4_0 \
--port 8080

llama.cpp — RAM-Expert MoE Offload (24–32 GB GPU + 64–128 GB RAM)

Section titled “llama.cpp — RAM-Expert MoE Offload (24–32 GB GPU + 64–128 GB RAM)”
Terminal window
llama-server \
-m Qwen3.8-Flash-Next-Q4_K_M.gguf \
-ngl 99 \
-ot ".ffn_.*_exps.=CPU" \
-c 32768 \
-fa on \
-ctk q8_0 -ctv q4_0 \
--port 8080

Ollama — Override Silent 4K Context Cap + Enable Flash Attention & Q8 KV

Section titled “Ollama — Override Silent 4K Context Cap + Enable Flash Attention & Q8 KV”
Terminal window
OLLAMA_CONTEXT_LENGTH=32768 \
OLLAMA_FLASH_ATTENTION=1 \
OLLAMA_KV_CACHE_TYPE=q8_0 \
ollama run qwen3.8:27b

Apple Silicon (oMLX / mlx-lm) — Use -DWQ at 4-bit

Section titled “Apple Silicon (oMLX / mlx-lm) — Use -DWQ at 4-bit”
Terminal window
# Single user:
mlx_lm.server --model mlx-community/Qwen3.8-Flash-Next-4bit-DWQ --port 8080
# Multi-agent concurrency (continuous batching + persistent KV cache):
omlx serve mlx-community/GLM-5.3-Flash-4bit-DWQ --port 8080

vLLM V1 — Multi-User Blackwell Serving with Humming & FP8 KV

Section titled “vLLM V1 — Multi-User Blackwell Serving with Humming & FP8 KV”
Terminal window
vllm serve nvidia/Nemotron-3.5-Super-VL-NVFP4 \
--linear-backend humming \
--moe-backend humming \
--kv-cache-dtype fp8 \
--enable-prefix-caching \
--tensor-parallel-size 2
  • Q4_K_M / Q5_K_M / Q6_K: Standard llama.cpp K-quants (M = medium mixed precision; safe universal default).
  • UD-Q4_K_XL / UD-IQ4_XS: Unsloth Dynamic calibrated per-layer GGUFs (strong at 4–8 bpw; avoid _XL with ik_llama.cpp).
  • GSQ-RCO IQ3_S / IQ2_XS: ISTA-DASLab learned-grid stock GGUFs (best ultra-low-bit compression at 2.5–3.5 bpw).
  • -DWQ (MLX): Distilled / Dynamic-weighted 4-bit MLX builds (far lower KLD than plain 4-bit MLX affine).
  • MXFP4 / NVFP4: Native FP4 microscaling formats (keep natively trained MXFP4 models like gpt-oss in MXFP4).