back to local model checker

Llama 4 Maverick 17B-128E

MoEToolsVision

Meta · 400B (17B active) · Mixture of Experts

Multimodal MoE with 128 experts — 17B active, 1M context

Llama 4 Community
Downloads

5.9K

Likes

468

Released

2025-04

Context

1M tokens

Use cases

chatvisionreasoningcode
Total experts128
Active experts1
Active params17.0B

Your hardware

16 GB Reference Desktop

Quant
Q4_K_M
Memory
205.4 GB
Speed
--
Fit
Too heavy

Quantization options

What is quantization?
QuantBitsVRAMDiskQualityStatus
Q2_K2128.6 GB122.2 GBlowToo heavy · ~1 t/s
Q3_K_M3179.8 GB171.1 GBmoderateToo heavy · ~1 t/s
Q4_K_M4205.4 GB195.6 GBgoodToo heavy · ~1 t/s
Q5_K_M5256.6 GB244.5 GBgoodToo heavy · ~1 t/s
Q6_K6307.8 GB293.4 GBexcellentToo heavy · ~1 t/s
Q8_08410.3 GB391.2 GBexcellentToo heavy · ~1 t/s
F1616820.1 GB782.3 GBlosslessToo heavy · ~1 t/s

About this model

Llama 4 Maverick 17B-128E is a 400B sparse mixture-of-experts (MoE) model activating 17B active per token from Meta in the Llama family, designed primarily for chat, vision, reasoning, code workflows. Supports structured tool calling; use Q4_K_M or higher when strict JSON schema adherence matters. Supports up to 1M context tokens; start at 4K–8K with Q8_0 KV cache on tight GPUs.

Hardware planning baselines start at 223.5 GB minimum memory and 372.5 GB recommended memory. At Q4_K_M, weights plus baseline runtime overhead use roughly 205.4 GB of RAM/VRAM and 195.6 GB of disk space. At 400B, Llama 4 Maverick 17B-128E belongs firmly in the workstation and multi-GPU tier. Running it comfortably requires 372.5 GB of total memory across dual RTX GPUs, high-memory Apple Silicon (Mac Studio Ultra/Max), or MoE hybrid CPU-RAM offloading—mobile devices and standard 16 GB laptops are too constrained for practical speeds.

Deploy Llama 4 Maverick 17B-128E locally via Ollama (`llama4:maverick`), Ollama with Flash Attention enabled. Under Llama 4 Community License Agreement, review official weight cards before commercial redistribution.

Highlights

  • Local Fit Baseline223.5 GB minimum and 372.5 GB recommended RAM/VRAM.
  • Primary QuantQ4_K_M targets 205.4 GB memory and 195.6 GB disk.
  • Context & Capabilities1M max context · Sparse MoE · Tool calling.

System requirements by device

Memory planning targets 223.5 GB minimum RAM/VRAM and 372.5 GB recommended memory. The baseline quant is Q4_K_M, estimated at 205.4 GB memory and 195.6 GB disk. Actual runtime usage shifts with context length, KV cache precision, and OS background overhead.

DeviceNotes
Mac (Apple silicon)Requires a 48 GB–192 GB Mac Studio or MacBook Pro Max/Ultra with enough unified wired budget for 205.4 GB.
Windows / Linux GPUUse dual/multi-GPU CUDA splitting (--tensor-split) or MoE CPU expert offloading (-ot) paired with 32–128 GB DDR5 system RAM.
Phones & Compact Edge BoardsNot practical on phones (223.5 GB min RAM exceeds Android LMK and iOS Jetsam limits). Pick a 2B–4B model on mobile.

Start with a short session and leave memory for the operating system. A file fitting on disk does not guarantee that it will load in memory.

Estimated memory by quantization

These are rough estimates, not tested minimum requirements. Check the actual file and runtime documentation; context, offloading and operating-system overhead can change the memory needed.

Quant TierEstimated memoryDisk SizeQuality
Q2_K128.6 GB122.2 GBlow
Q3_K_M179.8 GB171.1 GBmoderate
Q4_K_M205.4 GB195.6 GBgood
Q5_K_M256.6 GB244.5 GBgood
Q6_K307.8 GB293.4 GBexcellent
Q8_0410.3 GB391.2 GBexcellent
F16820.1 GB782.3 GBlossless

How to run Llama 4 Maverick 17B-128E on your device

Start with a short prompt and the smallest quant that still gives the quality you need. A clean first run is more useful than loading a larger file with no memory headroom.

Windows

Run Llama 4 Maverick 17B-128E on Multi-GPU or High-RAM Desktop

  1. Plan for 223.5 GB minimum combined memory and 372.5 GB recommended memory for Q4_K_M.
  2. Use llama.cpp `-ot ".ffn_.*_exps.=CPU"` or `--tensor-split` across multiple GPUs so attention and KV cache remain in fast VRAM.
  3. Enable Flash Attention (`-fa on`) and Q8_0 KV cache (`-ctk q8_0 -ctv q8_0`) to prevent context buffers from exceeding GPU headroom.
  4. Avoid attempting to run workstation-scale weights on smartphones or 8 GB laptops; use a 2B–8B checkpoint on portable devices.
Device how-to guide
Mac

Run Llama 4 Maverick 17B-128E on High-Memory Apple Silicon Mac

  1. Verify you are on a 48 GB–192 GB Mac Studio or MacBook Pro Max/Ultra capable of holding 205.4 GB in wired unified memory.
  2. Launch via `llama-server` or LM Studio with MLX/Metal enabled and set initial context conservatively to 4K–8K.
  3. Monitor Activity Monitor Memory Pressure to confirm zero SSD swap thrashing during token generation.
  4. Step down to a lighter quantization (e.g., Q3_K_M or IQ4_XS) if total memory utilization exceeds 75%.
Device how-to guide

Llama 4 Maverick 17B-128E vs alternatives

ModelParamsContextMin RAMLicense
Llama 4 Maverick 17B-128E400B (17B active)1M223.5 GBLlama 4 Community
Llama 3.1 405B405B128K226.3 GBLlama 3.1 Community
Llama 4 Scout 17B109B (17B active)128K60.9 GBLlama 4 Community
Llama 3.3 70B70B128K39.1 GBLlama 3.3 Community
Llama 3.2 11B Vision11B128K6.1 GBLlama 3.2 Community
Llama 3.1 8B8B128K4.5 GBLlama 3.1 Community

Use this table to choose the smallest nearby model that still matches the job. A related model with lower RAM can be the better local choice when the current page fits only at the edge of available memory.

Frequently asked questions

What is Llama 4 Maverick 17B-128E?
Llama 4 Maverick 17B-128E is a 400B sparse mixture-of-experts model (17B active active per token) from Meta, supporting up to 1M tokens with 223.5 GB minimum RAM and 372.5 GB recommended RAM.
How much VRAM or RAM does Llama 4 Maverick 17B-128E require?
At Q4_K_M, Llama 4 Maverick 17B-128E occupies roughly 205.4 GB of active memory and 195.6 GB on disk. Add 2–6 GB of spare headroom for KV cache buffers, runtime scratch space, and OS apps (372.5 GB recommended).
What is the best way to run Llama 4 Maverick 17B-128E locally?
Use `ollama run llama4:maverick` for a quick CLI/API setup, or load Q4_K_M in LM Studio or llama.cpp with Flash Attention enabled when you want explicit KV cache and layer control.
Can Llama 4 Maverick 17B-128E run on a consumer laptop or smartphone?
No smartphone or 8–16 GB laptop can hold Llama 4 Maverick 17B-128E cleanly in local memory. It targets multi-GPU NVIDIA workstations, high-RAM Mac Studios, or MoE CPU-RAM hybrid rigs with at least 223.5 GB total memory.
How does Llama 4 Maverick 17B-128E compare to Llama 3.1 405B?
Llama 3.1 405B (405B, 226.3 GB min RAM) sits closest in size. Compare active parameters, context ceiling (1M vs 128K), and license terms (Llama 4 Community) before switching.