Cloud vs. Rig TCO
Plot cumulative 36-month API spending against hourly RunPod/H100 rentals and owned RTX/Mac hardware with electricity and resale value.
Sizing MoE active parameters (37B active) and extreme 2-bit IQ2_XXS weights on 192 GB Unified Memory.
OLLAMA_FLASH_ATTENTION=1 OLLAMA_KV_CACHE_TYPE=q8_0 \ ollama run deepseek-r1:671b-instruct-iq2_xxs --ctx-size 4096
| Quantization | Memory Needed | Speed Est. | Placement |
|---|---|---|---|
| FP16 / BF16 (16-bit)Reference Lossless | 1343.68 GB | OOM | OOM |
| Q8_0 (8-bit)Near-Lossless | 714.61 GB | OOM | OOM |
| Q6_K (6-bit K-Quant)Studio Fidelity | 551.9 GB | OOM | OOM |
| Q5_K_M (5-bit Medium)Minimal Loss | 479.76 GB | OOM | OOM |
| Q4_K_M (4-bit Sweet Spot)Recommended Default | 408.47 GB | OOM | OOM |
| IQ3_XS (3.3-bit I-Quant)Noticeable Degradation | 286.85 GB | OOM | OOM |
| IQ2_XXS (2.1-bit Extreme)Emergency Fit Only | 186.2 GB | OOM | OOM |
| Model | Best Pure-VRAM Quant | Memory | Est. Speed |
|---|---|---|---|
| Llama 3.1 8B InstructUltra-fast RAG extraction, IDE autocomplete & classification | FP16 | 17.21 GB | 35.8 tok/s |
| Qwen 2.5 Coder 14BMid-tier local VS Code copilot balancing speed & repo accuracy | FP16 | 30.67 GB | 19.6 tok/s |
| Mistral Small 24BClean instruction following on 24 GB single-GPU workstations | FP16 | 49.21 GB | 12 tok/s |
| Gemma 2 / 3 27BMultilingual & editorial writing in single 24–32 GB GPUs | FP16 | 56.02 GB | 10.6 tok/s |
| Qwen 2.5 32B / DeepSeek-R1 32BGold-standard local coding & reasoning on RTX 3090/4090/5090 & 48GB Macs | FP16 | 66.4 GB | 8.9 tok/s |
| Mixtral 8x7B MoE (46.7B Total)Sparse Mixture-of-Experts: needs 47B RAM footprint, computes at 13B speed | FP16 | 94.85 GB | 22.3 tok/s |
| Llama 3.3 70B / DeepSeek-R1 70BGPT-4 class private local reasoning for 48 GB–128 GB rigs | FP16 | 143.02 GB | 3.7 tok/s |
| DeepSeek R1 671B MoE (Full Frontier)Cluster or Mac Studio Ultra / dual EPYC server deployment (37B active per token) | Needs Offload / Cluster | 408.47 GB | OOM |
| Qwen3-30B-A3B (MoE — 3.3B Active)Ultra-fast 30B Sparse MoE decoding at 3.3B speed; effortless fit on 24 GB cards | FP16 | 62.09 GB | 86.9 tok/s |
| Qwen3-32B (Dense Dual-Thinking)2026 dense local reasoning & coding benchmark with dual thinking/non-thinking toggle | FP16 | 67 GB | 8.8 tok/s |
| Llama 4 Scout 109B (MoE — 17B Active)Multimodal 109B MoE (17B active) built for 64–128 GB Macs, Dual-3090, or H100 pods | Q8_0 | 117.39 GB | 31.8 tok/s |
Pre-configured telemetry for DeepSeek R1 671B MoE (Full Frontier) (IQ2_XXS) on Apple Mac Studio M2 Ultra (192 GB). Requires 186.2 GB (184.53 GB weights + 0.48 GB Q8 KV cache) against 157.44 GB usable pool for ~0 tok/s decode.
Primary Technical & US Grid Benchmarks
Plot cumulative 36-month API spending against hourly RunPod/H100 rentals and owned RTX/Mac hardware with electricity and resale value.
Calculate daily, monthly, and annual kWh bills using 80+ PSU efficiency, duty cycle, optional AC cooling load, and 50 US state EIA rates.
Combine dual-GPU draw, CPU peak boost, NVMe arrays, and ATX 3.1 transient spikes to hit the 50–70% PSU efficiency sweet spot.