Meta's Llama (Large Language Model Meta AI) is a family of open-weight large language models that has evolved from a research-only release in 2023 into one of the most widely deployed model families in the world. Llama models range from compact 1B-parameter edge models to massive mixture-of-experts architectures exceeding 400B total parameters, enabling deployment on a single smartphone all the way to multi-GPU server clusters. What makes the family distinctive is open weights under a commercial-friendly community license, allowing developers to fine-tune, self-host, and build products without vendor lock-in. Understanding the family requires tracking several parallel axes at once: model generation (3.1, 3.2, 3.3, 4), size tier, modality (text-only vs. vision), and variant type (base vs. instruct) β each combination has distinct capabilities, prompt formats, and deployment requirements.
What This Cheat Sheet Covers
This topic spans 15 focused tables and 98 indexed concepts, 82 flashcards. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.
A jump-to index of every table row in this cheat sheet.
An interactive map of every table and concept in this topic.
Table 1: Model Generations and Release Timeline
Each Llama generation introduced a major architectural or capability leap. Knowing which generation a model belongs to immediately signals its context window, multimodal support, and license terms.
| Model | Example | Description | |
|---|---|---|---|
meta-llama/Meta-Llama-3-8B-Instruct | β’ 8B and 70B dense decoder-only transformers β’ 128K-token vocabulary (up from 32K in Llama 2) β’ 8K context β’ trained on ~15T tokens β’ GQA across all sizes β’ strong reasoning and code | ||
meta-llama/Llama-3.1-405B-Instruct | β’ Adds 405B, expands context to 128K tokens, multilingual support (8 languages), native tool/function calling β’ 405B intended as teacher model for distillation β’ same dense architecture as Llama 3. | ||
meta-llama/Llama-3.2-11B-Vision-Instruct | β’ Adds 1B and 3B lightweight edge models + 11B and 90B vision models β’ first multimodal Llama β’ 128K context β’ vision models use cross-attention adapter architecture | ||
meta-llama/Llama-3.3-70B-Instruct | β’ Single-size 70B release matching near-405B performance at 70B compute cost β’ 128K context β’ 8-language support β’ text-only β’ released Dec 6, 2024. | ||
meta-llama/Llama-4-Scout-17B-16E-Instruct | β’ First MoE Llama β’ 17B active / 109B total params β’ 16 experts β’ 10M-token context window (iRoPE architecture) β’ natively multimodal β’ fits on single H100 with INT4. | ||
meta-llama/Llama-4-Maverick-17B-128E-Instruct | β’ 17B active / 400B total params β’ 128 routed experts β’ 1M-token context β’ alternating dense and MoE layers β’ beats GPT-4o and Gemini 2.0 Flash on key benchmarks | ||
N/A β still training as of 2025 | β’ 288B active / ~2T total params β’ 16 experts β’ used as teacher model for Scout and Maverick co-distillation β’ STEM benchmarks exceed GPT-4.5 and Claude 3.7 Sonnet β’ no public release date | ||
Sizes: 7B, 13B, 33B, 65B | β’ Original research-only release β’ 2K context window β’ non-commercial license β’ 1β1.4T token training corpus β’ weights initially leaked, later superseded by Llama 2. | ||
Sizes: 7B, 13B, 70B | β’ First commercially permissive release β’ 4K context window β’ trained on 2T tokens β’ introduced instruction-tuned chat variants (RLHF/SFT) β’ 40% more training data than Llama 1. |