Production vLLM Deployment Command (Llama 4 Maverick 400B (MoE) FP8)
The baseline configuration below launches meta-llama/Llama-4-Maverick-17B-128E-Instruct across 8x NVIDIA H100 (640GB) (TP=8) with chunked prefill enabled to bound Time-To-First-Token (TTFT) spikes under concurrent load:
python3 -m vllm.entrypoints.openai.api_server \
--model meta-llama/Llama-4-Maverick-17B-128E-Instruct \
--tensor-parallel-size 8 \
--max-model-len 32768 \
--quantization fp8 \
--gpu-memory-utilization 0.93 \
--enable-chunked-prefill \
--port 8000
Architectural Sizing Notes & FAQ
How is KV-Cache calculated for Llama 4 Maverick 400B (MoE)?
Llama 4 Maverick 400B (MoE) uses 48 transformer layers with Grouped-Query Attention (8 KV heads × 128d). In FP8 (1 byte/element) at 32,768 tokens for a single sequence, weights occupy 420.0 GB, the KV-cache consumes 3.00 GB, and CUDA runtime workspace reserves 6.4 GB—totaling 429.4 GB.
Can Llama 4 Maverick 400B (MoE) run on a single GPU?
At a 32K context with one sequence, INT4 AWQ/GPTQ weights bring the estimate down to 219.4 GB, which maps to 2x NVIDIA H200 (282GB). FP8 needs 429.4 GB (8x NVIDIA H100 (640GB)). Each additional concurrent 32K sequence adds about 3.00 GB of FP8 KV-cache. The GPU hourly rates used for the monthly column are illustrative on-demand figures, not quotes.