Model guide
Llama 4 Maverick
Llama 4 Maverick is a much larger stored mixture-of-experts model than Scout, despite a similar active-parameter figure. It is a server-scale text-and-image candidate, not a routine consumer-GPU download. Confirm the distributed runner, memory allocation and multimodal path before comparing its answers with a smaller model.
At a glance
- Parameters
- 400B total / 17B active
- Accepts
- Multilingual text input · Image input (the publisher’s native workflow supports images)
- Returns
- Text, including code
- Published context limit
- 1,000,000 tokens
- Model format
- safetensors · GGUF
- Software and download hosts
- Ollama · MLX. Follow the exact setup below; this list does not establish support for every format, input type or software version.
- Suggested compression
- Q4_K_M
- Model-weight download
- Q4_K_M weights · 242.77 GB across 5 partsunsloth (community conversion)Part 1Part 2Part 3Part 4Part 5
- Image-projector download
- mmproj-BF16.gguf · 1.75 GB. Both downloads total 244.51 GB.
- Languages
- Arabic · English · French · German · Hindi · Indonesian · Italian · Portuguese · Spanish · Tagalog · Thai · Vietnamese
- License
- Llama 4 Community License
Will it fit?
Llama 4 Maverick · Q4_K_M download. Fit depends on your computer, the app you run it in and the conversation length you need. Image processing and any companion files need additional memory.
Check on your computerBest for
- Run the listed Maverick model and its matching projector on the same image you tested with Scout’s native multimodal workflow. Check the answer against the image before accepting the extra serving cost.
Choose something else when
- The listed Q4_K_M text weights total 242.77 GB. Calculate the separate multimodal setup before attempting the image test.
Using image input
Image setup: follow the image check.
First setup
Check a representative task
On an existing server, compare the same image question with Scout through a supported multimodal path.
Setup for this check: Open llama.cpp image setup and start the server with the matching projector.
In the llama.cpp vision session, attach this image and paste the question below. Keep the answer key out of the prompt. Crop to the table if you cannot save the image.
A visitor has a badge but no host. Using only the image, can they enter? What is the Friday closing time? Identify the rule behind each answer.
Check the result: The visitor still needs a host escort under Visitor exception. Friday closing is 16:00, not the normal 18:00.
The image attachment and matching image-processing components must actually be loaded. A text-only run, or an answer inferred from pasted text, does not pass the image check. This small fixture does not establish accuracy on scans, complex charts or real documents.
This creates a 4,096-token copy of llama4:maverick named llama-4-maverick-short-context. Save the following as a file named Modelfile in your working folder:
FROM llama4:maverick
PARAMETER num_ctx 4096
Then run these commands from that folder:
ollama pull llama4:maverick
ollama create llama-4-maverick-short-context -f ./Modelfile
ollama run llama-4-maverick-short-context
Run the task check. Attach the image in a client that supports image input for this model. While the model is loaded, run ollama ps in another terminal and check CONTEXT and PROCESSOR.
The recorded Ollama package is Q4_K_M: 244.84 GB of model weights. Use Ollama 0.40.18 or a supporting newer release. A Hugging Face GGUF or MLX checkpoint is a separate representation; choose the matching source and runner in the memory calculator.
See Ollama context settings and the Modelfile instructions.
Open LM Studio’s Discover tab, search for unsloth/Llama-4-Maverick-17B-128E-Instruct-GGUF, and download Q4_K_M/Llama-4-Maverick-17B-128E-Instruct-Q4_K_M-00001-of-00005.gguf (Q4_K_M, 242.77 GB across all parts). Download every part of this quantization into the same folder; open the first part. See the download files. Select the file in Chat, set context to 4,096, then load it. These instructions load text only. To run the image task check, select the llama.cpp tab and complete its matching-projector setup. Do not assume that loading this file in LM Studio also loaded its image components. If it will not load, open LM Studio Model Will Not Load.
Open a terminal in the extracted llama.cpp release folder. On Windows, replace ./llama-server below with .\llama-server.exe:
Image input with mmproj-BF16.gguf
Download mmproj-BF16.gguf into the extracted llama.cpp folder. Keep this projector paired with the model from the same repository. Start the server with this command, which loads the selected projector:
./llama-server -hf unsloth/Llama-4-Maverick-17B-128E-Instruct-GGUF -hff Q4_K_M/Llama-4-Maverick-17B-128E-Instruct-Q4_K_M-00001-of-00005.gguf --mmproj "mmproj-BF16.gguf" -c 4096 --host 127.0.0.1 --port 8080
Open http://127.0.0.1:8080 in your browser and attach the image specified in the task check. Submit that check’s prompt and compare the result with its acceptance criteria. Do not paste the input table as text or include the expected answer in the image. End this small check before adding larger pictures, several images or video.
Text only
Press Ctrl+C in the server terminal before running the text-only command below.
./llama-server -hf unsloth/Llama-4-Maverick-17B-128E-Instruct-GGUF -hff Q4_K_M/Llama-4-Maverick-17B-128E-Instruct-Q4_K_M-00001-of-00005.gguf --no-mmproj -c 4096 --host 127.0.0.1 --port 8080
This command explicitly disables the image projector with --no-mmproj; the text result does not check image input.
The server downloads the selected model. Wait for the model to load, then open http://127.0.0.1:8080 in your browser. Keep the server terminal open; press Ctrl+C there to stop the server. The file list identifies the exact download. Download every part of this quantization into the same folder; open the first part. If the command fails: Unknown architecture? Update the runner. Allocation failed? Retry with less context or a smaller weight file.
The memory figures earlier on this page cover text use. The projector, image preparation and image context use extra memory. If the runner rejects the projector or cannot process the attachment, stop and check the selected model/projector pair and runtime support. If allocation fails, reduce the image workload or choose a smaller model; an image claim on the model card does not establish that your current app loaded the necessary components. llama.cpp’s multimodal instructions explain the projector options. Press Ctrl+C in the server terminal when finished.
Load the model, start a fresh chat and time your usual prompt. Record time until the first useful word and time until the full answer. Note the processor, context and output length when comparing another run. Use the same picture at the same resolution.
