SGLang 1.0 NVMe SSD Offloading: Running DeepSeek-V4-Flash 284B on a 16 GB GPU

Released December 4, 2026 across 1,835 PRs from 418 contributors, SGLang 1.0 adds a disk tier (--paged-experts-enable-disk, PR #49195) behind GPU VRAM and host RAM. On a 16 GB RTX 5070 Ti, 62 GB DDR5 RAM, and a PCIe 5.0 NVMe SSD, it serves the 167 GB DeepSeek-V4-Flash (284B-A13B) MoE at ~14 tok/s and 97.5% GSM8K accuracy.
SGLang 1.0 NVMe SSD Offloading: Running DeepSeek-V4-Flash 284B on a 16 GB GPU: Released December 4, 2026 across 1,835 PRs from 418 contributors, SGLang 1.0 adds a disk tier (--paged-experts-enable-disk, PR #49195) behind GPU VRAM and host RAM. On a 16 GB RTX 5070 Ti, 62 GB DDR5 RAM, and a PCIe 5.0 NVMe SSD, it serves the 167 GB DeepSeek-V4-Flash (284B-A13B) MoE at ~14 tok/s and 97.5% GSM8K accuracy. Designed as a zero-dependency, open-source TypeScript architecture under the MIT License with native Model Context Protocol (MCP) support and deterministic phase state machines.
- Three-Tier Expert Hierarchy: Streams 137.1 GiB of MoE routed experts across NVMe SSD -> 62 GB host DDR5 (~45 GiB pinned, 71/256 experts in most layers) -> 16 GB GPU VRAM slots.
- 14.11 tok/s on Consumer Hardware: Sustains 13.84–14.11 tok/s decode and 8.5s TTFT (1,500-token prompts reading ~93 GB at ~11 GB/s) on an RTX 5070 Ti 16 GB.
- Strict 1.x Config Discipline: Replaces silent 0.5 flag overrides with explicit startup errors, separates --admin-api-key for weight/LoRA/profiling endpoints, and swaps Model Gateway for sgl-router 0.1.0.
- Zero Quality Degradation: Achieves 97.5% on 200 GSM8K evaluation questions while running models that previously refused to boot on 64 GB RAM workstations.
import { createAgent } from '@smoke-monkey/harness';// Connect Smoke Monkey Harness to SGLang 1.0 local server with --paged-experts-enable-diskconst agent = createAgent({agentId: 'sglang-disk-tier-deepseek-agent',provider: 'openai-compatible',baseUrl: 'http://127.0.0.1:30000/v1',model: 'deepseek-ai/DeepSeek-V4-Flash-0731',workspacePath: process.cwd(),permissions: {read_file: 'allow',write_file: 'allow',run_command: 'ask',},});async function main() {const result = await agent.run('Audit package.json dependencies, identify unused TypeScript exports, and prepare a cleanup patch.');console.log('SGLang 1.0 Agent Output:', result.summary);}main().catch(console.error);
Watch: Related Video Guides
Never Install DeepSeek r1 Locally before Watching This!
SGLang Cookbook Full Tutorial: Your One-Click Model Deployment Guide
How Does SGLang 1.0 --paged-experts-enable-disk Run 167 GB Models on 16 GB VRAM?
SGLang 1.0 Paged Experts Disk Tier (PR #49195 and PR #48642) extends MoE expert paging beyond host RAM by spilling cold experts onto an NVMe SSD as a third memory tier. On first launch, SGLang materializes per-layer expert files (taking 288.9 s once for DeepSeek-V4-Flash's 137.1 GiB experts), dropping subsequent warm starts to 80.6–81.9 s.
At inference time, active layers keep frequently hit experts pinned in host RAM (e.g., 71 of 256 experts in most layers, all experts in three dense/shared layers, totaling ~45 GiB) and stream missing routed experts on demand from PCIe 5.0 storage into GPU slots:
| Model & Hardware Setup | VRAM / Host RAM | Decode Speed | TTFT (1.5K Prompt) | Disk / Notes |
|---|---|---|---|---|
| DeepSeek-V4-Flash (284B-A13B, 167 GB) | 16 GB RTX 5070 Ti / 62 GB DDR5 | 13.84–14.11 tok/s | 8.5 s (~93 GB read) | PCIe 5.0 NVMe (~11 GB/s), 97.5% GSM8K |
| Qwen3.8-Flash-Next-FP8 | 16 GB RTX 5070 Ti / 62 GB DDR5 | ~15 tok/s | ~18 s | Disk-backed Paged Experts |
| Qwen3-Next-80B-A3B-Instruct-NVFP4 | 8 GB RTX 4070 Laptop / 54 GB RAM | ~16 tok/s | — | Laptop workstation configuration |
Upgrading From SGLang 0.5 to 1.0: Breaking Flags & Admin Security
SGLang 1.0 enforces a strict *"a silent override is a bug"* policy across CUDA 13.0+ environments: any deprecated 0.5 flag now aborts startup with an explicit error naming its replacement. Notably, --disable-cuda-graph is replaced by --disable-decode-cuda-graph --disable-prefill-cuda-graph, SGLang Model Gateway is replaced by sgl-router 0.1.0, and sensitive endpoints (LoRA loading, weight updates, profiling) now return 403 Forbidden unless authenticated via --admin-api-key:
# 1. Install SGLang 1.0 (requires CUDA 13 driver & toolkit >= 13.0 on NVIDIA GPUs)
pip install --upgrade "sglang==1.0.0"
# 2. Launch DeepSeek-V4-Flash with SSD expert tier and separated admin auth
python3 -m sglang.launch_server \
--model-path deepseek-ai/DeepSeek-V4-Flash-0731 \
--paged-experts-enable-disk \
--host 127.0.0.1 --port 30000 \
--api-key "$SGLANG_USER_KEY" \
--admin-api-key "$SGLANG_ADMIN_KEY"
# 3. Verify inference endpoint (normal --api-key works for completions, not admin ops)
curl -fsS http://127.0.0.1:30000/v1/models -H "Authorization: Bearer $SGLANG_USER_KEY"Security Advisory Note for Multi-Tenant Deployments
SGLang Issue #49361 (prefix cache cross-client exposure) remained open at v1.0.0 release. Bind SGLang 1.0 to 127.0.0.1 for single-tenant Smoke Monkey agents or disable shared radix prefix caching in untrusted multi-tenant gateways.
Combining SGLang Disk Tiering With Smoke Monkey Escalation Workflows
Because a 1,500-token prefill on DeepSeek-V4-Flash activates nearly every MoE expert across layers (reading ~93 GB from SSD in ~8.5 s), prompt churn hurts throughput far more than long single-pass reasoning. In Smoke Monkey Harness, keep repository context compact via incremental file reads rather than re-sending massive file dumps per turn.
This lets a single-GPU workstation run frontier 284B-class reasoning for complex architectural audits overnight at zero API cost.
Frequently Asked Questions
Q:How fast is DeepSeek-V4-Flash in SGLang 1.0 with SSD offloading?
On an RTX 5070 Ti (16 GB VRAM), 62 GB DDR5 RAM, and a Kingston PCIe 5.0 NVMe SSD, SGLang 1.0 achieves 13.84 to 14.11 tokens per second on 320-token completions with an 8.5-second time to first token for 1,500-token prompts.
Q:Why does first startup take 288.9 seconds with --paged-experts-enable-disk?
On first run, SGLang splits and writes the 137.1 GiB of routed experts into per-layer disk files (PR #48642). Subsequent starts reuse those pre-split files and boot in 80.6 to 81.9 seconds.
Q:What changed for admin endpoints and API keys in SGLang 1.0?
Passing --api-key alone no longer authorizes admin endpoints like LoRA adapter loading, weight updates, or profiling. You must pass --admin-api-key or those endpoints return HTTP 403 Forbidden.
Q:What CUDA version does SGLang 1.0 require on NVIDIA GPUs?
The official SGLang 1.0.0 PyPI package requires a CUDA 13 driver and CUDA Toolkit 13.0 or newer.
Related Alternatives & Comparisons
Related Architecture Guides
View all guidesBest Open Source Coding Agents in 2026: Free, Local & Fully Hackable Harnesses
MCP Server Security Best Practices: Hardening Model Context Protocol Agents in 2026
Open Source Coding Agent Harness: Build a Forkable, Local AI Engineering Runtime
Build with Smoke Monkey Harness
Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.