Architecture: Dense (34.4B total params · max context 32K). At 8K context, Q4_K_M needs ~27.0 GB VRAM (1x RTX 5090 32GB / 48GB Mac / 1x L40S 48GB) and FP8 needs ~45.6 GB VRAM.
| Precision / Format | Model Weights | KV Cache + Overhead | Total Est. VRAM | Recommended GPU |
|---|---|---|---|---|
| IQ3_XS (3-bit) | 13.1 GB | 6.0 GB | 19.1 GB | 1x RTX 3090 or RTX 4090 24GB / 36GB Mac |
| Q4_K_M / AWQ (4-bit) | 20.0 GB | 7.0 GB | 27.0 GB | 1x RTX 5090 32GB / 48GB Mac / 1x L40S 48GB |
| FP8 / INT8 (8-bit) | 36.1 GB | 9.4 GB | 45.6 GB | 1x L40S / A6000 48GB or 2x RTX 4090 24GB |
| FP16 / BF16 (16-bit) | 68.8 GB | 14.3 GB | 83.1 GB | 2x A100/H100 80GB or 4x L40S 48GB |
| Hardware | Memory | Q4_K_M (8K Ctx) Fit |
|---|---|---|
| NVIDIA RTX 3090 / RTX 4090 | 24 GB VRAM | Needs +3.0 GB (use lower quant or cloud GPU) |
| NVIDIA RTX 5090 | 32 GB VRAM | Fits comfortably (headroom for 16K–32K ctx) |
| NVIDIA L40S / RTX A6000 | 48 GB VRAM | Fits comfortably (headroom for 16K–32K ctx) |
| NVIDIA A100 / H100 (Single) | 80 GB VRAM | Fits comfortably (headroom for 16K–32K ctx) |
| Apple Mac Studio (Unified) | 128 GB (approx. 96 GB GPU) | Fits comfortably (headroom for 16K–32K ctx) |
Yi-1.5-34B-Chat requires ~20.0 GB for 4-bit Q4_K_M weights plus ~7.0 GB for 8K KV cache and CUDA runtime overhead, totaling 27.0 GB VRAM.
Needs +3.0 GB (use lower quant or cloud GPU) at Q4_K_M and 8K context. For long-context serving or multi-user concurrency, consider an on-demand 48GB/80GB cloud GPU.
Total VRAM = (Total Parameters × Bytes per Parameter) + (KV Cache per 1K tokens × Context × Batch) + 15% runtime buffer. Even for Mixture-of-Experts models, all total weights (34.4B) must be loaded in memory.