Scout and Maverick architecture in numbers
Meta released Llama 4 Scout and Llama 4 Maverick on 5 April 2025. Both are mixture-of-experts models with natively multimodal input (text and images) and text output. The model card lists Scout as 17B active and 109B total parameters with 16 experts and a 10M-token context, and Maverick as 17B active and 400B total with 128 experts and a 1M-token context.
The two share a backbone in config.json: 48 layers, a hidden size of 5,120, 40 query heads, 8 key-value heads and a head dimension of 128, with one routed expert per token. Scout uses an MoE block in every layer; Maverick alternates dense and MoE layers. Hugging Face counts 108.6B parameters for Scout and 401.6B for Maverick in BF16.
Every expert must be resident in GPU memory, because the router can pick any of them for the next token. So the compute per token looks like a 17B model while the memory looks like a 109B or 400B one. The license is the Llama 4 Community License, which allows commercial use and requires a separate license from Meta above 700 million monthly active users.
| Property | Llama 4 Scout | Llama 4 Maverick |
|---|---|---|
| Total parameters | 108.6B (card: 109B) | 401.6B (card: 400B) |
| Active parameters per token | 17B | 17B |
| Experts | 16, 1 routed per token | 128, 1 routed per token |
| Layers / KV heads / head dim | 48 / 8 / 128 | 48 / 8 / 128 |
| Context length | 10M tokens | 1M tokens |
| Released weights | BF16 | BF16 and FP8 |
| License | Llama 4 Community License | Llama 4 Community License |
References: Llama 4 Scout 17B-16E Instruct model card · Llama 4 Scout config.json · Llama 4 Maverick config.json
Chunked attention and the KV cache
Llama 4 interleaves global attention layers with chunked local attention layers at a 1:3 ratio, according to vLLM’s launch write-up. The local layers attend within non-overlapping chunks; config.json sets the chunk size to 8,192 tokens. So only 12 of the 48 layers need keys and values for the whole context.
If an engine stored every layer for every token, KV cache would be 2 × 48 layers × 8 KV heads × 128 × 2 bytes = 196,608 bytes, about 0.2 MB per token in BF16. vLLM’s hybrid KV cache manager names Llama 4 as its local-chunked-attention example and frees blocks local layers no longer need. That brings the long-context cost close to 49,152 bytes per token for the 12 global layers, plus about 1.2 GB per sequence for the local layers’ last chunk.
For 8 concurrent requests at 32,768 tokens (262,144 cached tokens), the full-storage upper bound is 51.5 GB in BF16, and the chunk-aware figure is about 22.5 GB. An FP8 KV cache halves either number; vLLM says --kv-cache-dtype fp8 can roughly double usable context for Llama 4.
References: vLLM blog: Llama 4 in vLLM · Llama 4 Scout config.json · vLLM design: Hybrid KV cache manager · vLLM quantized KV cache
VRAM by precision for Scout and Maverick
Weights are parameters times bytes: 2 in BF16, 1 in FP8 and about 0.5 at 4 bits plus scales. Published files run larger than theory: NVIDIA’s Scout FP8 checkpoint is 111.6 GB, Meta’s Maverick FP8 checkpoint is 416.8 GB, and Ollama’s q4_K_M builds are 67 GB for Scout and 245 GB for Maverick, partly because some layers stay at higher precision.
The cache column uses the scenario above with chunk-aware storage and an FP8 cache, about 11 GB. Use the VRAM calculator with your own context and concurrency, and read LLM quantization for inference before choosing a 4-bit build.
| Model and precision | Weights | KV cache (scenario, FP8) | Total before overhead |
|---|---|---|---|
| Scout BF16 | 217.3 GB | ≈11 GB | ≈229 GB |
| Scout FP8 | 108.6 to 111.6 GB | ≈11 GB | ≈120 to 123 GB |
| Scout INT4 | 54.3 to 67 GB | ≈11 GB | ≈65 to 78 GB |
| Maverick BF16 | 803.2 GB | ≈11 GB | ≈814 GB |
| Maverick FP8 | 401.6 to 416.8 GB | ≈11 GB | ≈413 to 428 GB |
| Maverick INT4 | 200.8 to 245 GB | ≈11 GB | ≈212 to 256 GB |
References: NVIDIA Llama 4 Scout FP8 checkpoint · Llama 4 Maverick FP8 checkpoint · Ollama library: llama4 tags · vLLM design: Hybrid KV cache manager
Llama 4 GPU requirements by setup
Meta’s card says Scout fits a single H100 with on-the-fly INT4 quantization, and that Maverick’s FP8 weights fit on a single H100 DGX host of eight GPUs. vLLM’s launch post adds context limits: on 8× H100, Scout reaches 1M tokens and Maverick about 430K; on 8× H200, Scout reaches 3.6M and Maverick 1M. Scout’s full 10M context needs multiple nodes.
Rows marked "arithmetic" are our sums from the table above, not tested configurations. FP8 math needs Hopper, Ada or Blackwell; A100 runs FP8 checkpoints only as weight-only W8A16 in vLLM. Neither model is a good fit for 24 or 32 GB consumer cards.
| Model | Setup | Precision | Basis |
|---|---|---|---|
| Scout | 1× H100 or A100 80 GB | INT4 | Meta model card (H100) |
| Scout | 1× RTX PRO 6000 96 GB | INT4 | Arithmetic |
| Scout | 1× H200 141 GB or 1× B200 180 GB | FP8 | Arithmetic; vLLM recipe uses FP8 on Hopper, FP4 on B200 |
| Scout | 2× H100 80 GB | FP8 | Arithmetic |
| Scout | 8× H100 / 8× H200 | BF16, 1M / 3.6M context | vLLM launch post |
| Maverick | 8× H100 80 GB | FP8, ≈430K context | Meta model card, vLLM launch post |
| Maverick | 8× H200 141 GB | FP8, 1M context | vLLM launch post |
| Maverick | 4× B200 (720 GB) | FP8 | Arithmetic |
| Maverick | 8× B200 (1,440 GB) | BF16 | Arithmetic |
References: Llama 4 Scout 17B-16E Instruct model card · vLLM blog: Llama 4 in vLLM · NVIDIA H100 specifications · NVIDIA H200 specifications · NVIDIA DGX B200 specifications · NVIDIA A100 specifications · NVIDIA RTX PRO 6000 Blackwell specifications · vLLM FP8 W8A8 quantization
How to serve Llama 4 with vLLM, SGLang and Ollama
vLLM’s launch post gives these commands. Scout on 8× H100: vllm serve meta-llama/Llama-4-Scout-17B-16E-Instruct --tensor-parallel-size 8 --max-model-len 1000000. Maverick on 8× H100: vllm serve meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8 --tensor-parallel-size 8 --max-model-len 430000. Accept the license on Hugging Face and set HF_TOKEN first, since the repositories are gated.
For smaller footprints, vLLM’s current Scout recipe serves NVIDIA’s FP8 checkpoint on Hopper and its FP4 checkpoint on Blackwell, with tensor parallel size 1 for FP4 and 2 for FP8 at maximum throughput on B200. Set --max-model-len to your real need; reserving millions of tokens of context costs memory you may never use.
SGLang lists Llama 4 among its supported models and takes the same IDs with --tp 8 and --context-length. For a single workstation, ollama run llama4:scout pulls the 67 GB q4_K_M build and llama4:maverick the 245 GB one.
References: vLLM blog: Llama 4 in vLLM · vLLM recipes: Llama 4 Scout · vLLM documentation: vllm serve CLI arguments · SGLang supported generative models · Ollama library: llama4 tags
Illustrative cost per hour and per million tokens
These numbers are illustrative, not quotes or measurements. They assume $3.50 per GPU-hour for an H200 and $2.50 for an H100; check GPU prices for current rates. Cost per million tokens is hourly cost divided by tokens per hour, times one million.
Llama 4’s low active parameter count tends to help throughput per GPU, but this guide does not quote a figure. Measure tokens per second with vllm bench serve at your own prompt and output lengths, then read across the table.
| Setup (assumed rate) | Cost per hour | Per 1M tokens at 1,000 tok/s | At 5,000 tok/s |
|---|---|---|---|
| Scout FP8, 1× H200 ($3.50/GPU-hour) | $3.50 | $0.97 | $0.19 |
| Scout FP8, 2× H100 ($2.50/GPU-hour) | $5.00 | $1.39 | $0.28 |
| Maverick FP8, 8× H100 ($2.50/GPU-hour) | $20.00 | $5.56 | $1.11 |
| Maverick FP8, 8× H200 ($3.50/GPU-hour) | $28.00 | $7.78 | $1.56 |
References: vLLM serving benchmark options
Fine-tuning memory for Llama 4
Full fine-tuning with AdamW in mixed precision costs about 18 bytes per parameter before activations, per Hugging Face’s memory guide. That is roughly 2 TB for Scout and 7.2 TB for Maverick, which means sharded training across several 8-GPU nodes.
LoRA keeps the base frozen, so memory is roughly the BF16 weights plus adapters and activations: about 217 GB for Scout, which fits 2× H200, 2× B200 or 4× H100. A 4-bit QLoRA base cuts Scout to roughly 55 to 67 GB, within one 80 GB GPU at modest sequence lengths. Mixture-of-experts fine-tuning support varies by framework, so check your trainer’s Llama 4 notes first.
References: Hugging Face Transformers: GPU memory usage in training · Hugging Face PEFT: LoRA
Checklist and next step
Choose Scout unless you need Maverick’s quality. Size from total parameters, not active ones. Decide precision, then context and concurrency, and remember only a quarter of the layers hold long-context cache in vLLM. Set --max-model-len, enable an FP8 cache, and benchmark before you add GPUs.
NeuraMesh rents H100, H200 and B200 GPUs by the hour, including full 8-GPU servers. Choose a GPU, plan, count, hours and region on rent GPUs or start at H200 rental; you receive a confirmed quotation, typically within one business day, and pay only when you approve.
NeuraMesh prices for these GPUs
| GPU | Memory | Data center | Value |
|---|---|---|---|
| RTX 4090 | 24 GB | $0.46 | $0.40 |
| L40S | 48 GB | $1.26 | $0.54 |
| A100 | 80 GB | $1.56 | $0.98 |
| H100 | 80 GB | $2.88 | $2.00 |
Every order is confirmed in a quotation before you pay. See all GPU prices.
Questions readers ask
Can Llama 4 Scout run on a single GPU?
Yes, with 4-bit weights. Meta’s model card says Scout fits a single H100 with on-the-fly INT4 quantization. In FP8 it needs about 112 GB of weights, so one H200 or B200, or two H100s.
What are the Llama 4 GPU requirements for Maverick?
Maverick’s FP8 weights are about 417 GB. Meta says they fit one 8× H100 host, and vLLM reports about 430K tokens of context on 8× H100 and 1M on 8× H200. BF16 needs about 803 GB, so 8× B200 or 8× H200.
Why does Llama 4 need so much memory if only 17B parameters are active?
The router can send any token to any expert, so all experts stay loaded. Active parameters set compute per token; total parameters set memory.
Can I run Llama 4 on an RTX 4090 or RTX 5090?
Not on one card. Even Scout’s 4-bit builds are 55 to 67 GB. Several consumer cards with a layer-splitting runtime can hold it, but data-center GPUs with 80 GB or more are the practical choice.
How much context can Llama 4 Scout use in practice?
The model supports 10M tokens, but vLLM reports 1M on 8× H100 and 3.6M on 8× H200, with longer contexts needing multiple nodes. Most deployments set a far shorter limit to save memory.
Sources and editorial notes
- Llama 4 Scout 17B-16E Instruct model card
- Llama 4 Scout config.json
- Llama 4 Maverick config.json
- vLLM blog: Llama 4 in vLLM
- vLLM design: Hybrid KV cache manager
- vLLM quantized KV cache
- NVIDIA Llama 4 Scout FP8 checkpoint
- Llama 4 Maverick FP8 checkpoint
- Ollama library: llama4 tags
- NVIDIA H100 specifications
- NVIDIA H200 specifications
- NVIDIA DGX B200 specifications
- NVIDIA A100 specifications
- NVIDIA RTX PRO 6000 Blackwell specifications
- vLLM FP8 W8A8 quantization
- vLLM recipes: Llama 4 Scout
- vLLM documentation: vllm serve CLI arguments
- SGLang supported generative models
- vLLM serving benchmark options
- Hugging Face Transformers: GPU memory usage in training
- Hugging Face PEFT: LoRA
Primary documentation reviewed November 24, 2026. Provider descriptions reflect published documentation. Recommendations are our analysis; worked figures are illustrative unless explicitly stated otherwise. No independent provider benchmark or uptime ranking is claimed.
Need this GPU? Rent it from NeuraMesh: choose a GPU and plan, get a confirmed quotation, and pay only when you approve. See pricing.


