SGLang Presets
8B BF16 High-Accuracy Agent Preset on NVIDIA L4 24 GB
Fit unquantized 8B BF16 weights plus 65%+ RadixAttention shared system prompts inside a $0.59/hr Vultr L4 24 GB node.
19.8 GB Peak VRAM · 32 Concurrent · $0.59/hr (508h Free Credit)
Maximizing 24 GB L4 Prefix Capacity
Running 8B in native BF16 leaves roughly 8 GB of GDDR6 on an NVIDIA L4. Enabling --kv-cache-dtype fp8_e5m2 doubles the radix tree token capacity, keeping system prompts cached across 32 concurrent agents.
Vultr $300 Credit Burn Rate
At $0.59/hr, a single Vultr L4 24 GB instance runs for 508 continuous hours on the $300 starter credit, giving teams three weeks of uninterrupted staging and load validation.
Measured Thresholds & SGLang Flag Matrix
| Flag / Parameter | Recommended Value | VRAM Impact |
|---|---|---|
| Model Weights (BF16) | 16.0 GB | Zero quantization perplexity loss |
| --kv-cache-dtype | fp8_e5m2 | Cuts 32-batch KV pool to ~2.0 GB |
| --mem-fraction-static | 0.88 | Leaves 2.8 GB for CUDA graphs & prefill |
| --chunked-prefill-size | 4096 | Prevents 8k prompt OOM spikes on 24 GB |