SGLang Presets
32B AWQ 4-Bit Budget Preset on NVIDIA L4 24 GB
Squeeze 32B coding and SQL capability onto a single $0.59/hr 24 GB GPU for low-concurrency internal tools.
22.4 GB Peak VRAM · 8 Concurrent · --quantization awq_marlin
Tight KV Budget Rules
With 18.5 GB consumed by 32B AWQ weights, only ~3.5 GB remains for KV blocks on a 24 GB L4. Pair --kv-cache-dtype fp8_e5m2 with --max-running-requests 8 and high system prompt hit rates.
When to Step Up to L40S 48 GB
If p95 batch concurrency exceeds 12 requests or context crosses 16k tokens, move to a 48 GB L40S running 32B FP8.
Measured Thresholds & SGLang Flag Matrix
| Flag / Parameter | Recommended Value | VRAM Impact |
|---|---|---|
| Model Weights (AWQ 4-bit) | 18.5 GB | Marlin kernel zero-overhead unpack |
| --kv-cache-dtype | fp8_e5m2 | Essential to fit 8-slot KV in remaining 3.5 GB |
| --mem-fraction-static | 0.88 | Tight 2.8 GB buffer for activations |
| --max-running-requests | 8 | Prevents radix eviction thrashing |