Model reference · open weights
Llama-4-Scout-16E is an open-weight language model from Meta. Llama-4-Scout-17B-16E-Instruct (BF16) weighs 217 GB; it needs more than the reference configurations below.
Summary of the meta-llama/Llama-4-Scout-17B-16E-Instruct model card, 2026-10-01
What it is
| Released by | Meta |
|---|---|
| Released | 2025-04-02 |
| Parameters | 108.6B |
| VRAM | 217 GB for the weights |
What it runs on
How much memory each request adds isn't estimated yet for this architecture. The weights need at least the cards below, plus room for the context.
| Card | Weights alone |
|---|---|
| RTX 3060 12 GB … 8× B200 180 GB 16 smaller cards | does not fit |
Builds
| Build | Params | Precision | Weights | Smallest setup |
|---|---|---|---|---|
| Llama-4-Scout-17B-16E-Instruct (above) ↗ | 108.6B | BF16 | 217 GB | none of the reference configurations |
| Llama-4-Scout-17B-16E-Instruct-GGUF ↗ packaged by unsloth 27 builds: TQ1_0 29.3 GB … BF16 216 GB |
— | GGUF | 65.4 GB | H100 80 GB |
| Llama-4-Scout-17B-16E-Instruct-quantized.w4a16 ↗ packaged by RedHatAI |
109.4B | INT4 | 64.9 GB | H100 80 GB |
From the model card
| MoE Bits | Type | Disk Size | HF Link | Accuracy |
|---|---|---|---|---|
| 1.78bit | IQ1_S | 33.8GB | Link | Ok |
| 1.93bit | IQ1_M | 35.4GB | Link | Fair |
| 2.42-bit | IQ2_XXS | 38.6GB | Link | Better |
| 2.71-bit | Q2_K_XL | 42.2GB | Link | Suggested |
| 3.5-bit | Q3_K_XL | 52.9GB | Link | Great |
| 4.5-bit | Q4_K_XL | 65.6GB | Link | Best |
Currently text only is supported.
Chat template/prompt format:
The Llama 4 collection of models are natively multimodal AI models that enable text and multimodal experiences. These models leverage a mixture-of-experts architecture to offer industry-leading performance in text and image understanding.
These Llama 4 models mark the beginning of a new era for the Llama ecosystem. We are launching two efficient models in the Llama 4 series, Llama 4 Scout, a 17 billion parameter model with 16 experts, and Llama 4 Maverick, a 17 billion parameter model with 128 experts.
Model developer: Meta
Model Architecture: The Llama 4 models are auto-regressive language models that use a mixture-of-experts (MoE) architecture and incorporate early fusion for native multimodality.
109B (Total)
400B (Total)
Supported languages: Arabic, English, French, German, Hindi, Indonesian, Italian, Portuguese, Spanish, Tagalog, Thai, and Vietnamese.
Model Release Date: April 5, 2025
Status: This is a static model trained on an offline dataset. Future versions of the tuned models may be released as we improve model behavior with community feedback.
License: A custom commercial license, the Llama 4 Community License Agreement, is available at: https://github.com/meta-llama/llama-models/blob/main/models/llama4/LICENSE
Where to send questions or comments about the model: Instructions on how to provide feedback or comments on the model can be found in the Llama README. For more technical information about generation parameters and recipes for how to use Llama 4 in applications, please go here.
Intended Use Cases: Llama 4 is intended for commercial and research use in multiple languages. Instruction tuned models are intended for assistant-like chat and visual reasoning tasks, whereas pretrained models can be adapted for natural language generation. For vision, Llama 4 models are also optimized for visual recognition, image reasoning, captioning, and answering general questions about an image. The Llama 4 model collection also supports the ability to leverage the outputs of its models to improve other models including synthetic data generation and distillation. The Llama 4 Community License allows for these use cases.
Out-of-scope: Use in any manner that violates applicable laws or regulations (including trade compliance laws). Use in any other way that is prohibited by the Acceptable Use Policy and Llama 4 Community License. Use in languages or capabilities beyond those explicitly referenced as supported in this model card**.
**Note:
1. Llama 4 has been trained on a broader collection of languages than the 12 supported languages (pre-training includes 200 total languages). Developers may fine-tune Llama 4 models for languages beyond the 12 supported languages provided they comply with the Llama 4 Community License and the Acceptable Use Policy. Developers are responsible for ensuring that their use of Llama 4 in additional languages is done in a safe and responsible manner.
2. Llama 4 has been tested for image understanding up to 5 input images. If leveraging additional image understanding capabilities beyond this, Developers are responsible for ensuring that their deployments are mitigated for risks and should perform additional testing and tuning tailored to their specific applications.
Please, make sure you have transformers v4.51.0 installed, or upgrade using pip install -U transformers.
from transformers import AutoProcessor, Llama4ForConditionalGeneration
import torch
model_id = "meta-llama/Llama-4-Scout-17B-16E-Instruct"
processor = AutoProcessor.from_pretrained(model_id)
model = Llama4ForConditionalGeneration.from_pretrained(
model_id,
attn_implementation="flex_attention",
device_map="auto",
torch_dtype=torch.bfloat16,
)
url1 = "https://huggingface.co/datasets/huggingface/documentation-images/resolve/0052a70beed5bf71b92610a43a52df6d286cd5f3/diffusers/rabbit.jpg"
url2 = "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/datasets/cat_style_layout.png"
messages = [
{
"role": "user",
"content": [
{"type": "image", "url": url1},
{"type": "image", "url": url2},
{"type": "text", "text": "Can you describe how these two images are similar, and how they differ?"},
]
},
]
inputs = processor.apply_chat_template(
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.
How it works