Skip to content

Lesson 3 ยท Models and Licenses

The Llama Model Family

A map of Llama generations and sizes, from Llama 2 to Llama 4 Scout and Maverick, with context lengths, text and vision models and how to read model names.

"Llama" is not one model. It is a series of generations, each with several sizes and variants. This lesson gives you a map so that a name like Llama-3.2-3B-Instruct means something. The facts below come from Meta's official llama-models repository and model cards, checked as of December 2026. Meta may publish new models at any time, so check its official pages first.

Generations at a glance

Generation Released Sizes Context length
Llama 2 July 2023 7B, 13B, 70B 4K
Llama 3 April 2024 8B, 70B 8K
Llama 3.1 July 2024 8B, 70B, 405B 128K
Llama 3.2 September 2024 1B, 3B (text) 128K
Llama 3.2 Vision September 2024 11B, 90B 128K
Llama 3.3 December 2024 70B 128K
Llama 4 April 2025 Scout, Maverick 10M (Scout), 1M (Maverick)

As of December 2026, Llama 4 is the newest generation listed in that repository. A newer generation number does not replace every older size. For example, if you need a very small model for a laptop or phone, the 1B and 3B models from Llama 3.2 are the smallest ones in this table.

Llama 4: mixture of experts

Llama 4 uses a mixture-of-experts design and accepts images as well as text, with text output.

Model Total parameters Active parameters Experts
Scout 109B 17B 16
Maverick 400B 17B 128

The "17B" in the official name Llama-4-Scout-17B-16E is the active count. It does not mean the model fits where a 17B dense model fits. You must store about 109B parameters for Scout. Meta's model card says Scout can fit on a single H100 GPU when quantized to 4 bits on the fly. That is a data-center GPU, not a laptop part.

The advertised maximum context (such as 10M tokens) is a property of the model. Whether you can use it depends on your hardware and serving software, which often allow far less.

Both Llama 4 models have a knowledge cutoff of August 2024. The model card lists 12 supported languages, including English, Arabic, German, Hindi, Spanish and Vietnamese. Meta's documentation says image understanding is supported in English only.

Reading a model name

Names on download sites are made of parts:

  • Family and generation: Llama-3.2
  • Size: 3B
  • Variant: Instruct (chat), Vision, or no suffix (often the base model)
  • Packaging: GGUF, a quantization label such as Q4_K_M, or an uploader's own tag

Community uploads add their own names. A quantized file from a third party is not an official Meta release, even if the name looks official. See quantization and GGUF.

Python Parse a model name into its parts

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Look at the last result. The parser reports 17B, which is the active count, not the total. Names are hints, and the model card is the source of truth.

Languages and vision

Supported languages differ by generation. The Llama 3.2 1B and 3B model card lists eight officially supported languages: English, German, French, Italian, Portuguese, Hindi, Spanish and Thai. It also gives a knowledge cutoff of December 2023. A model may produce text in other languages, but quality and safety are less tested there. Test your own language before you promise anything.

Llama 3.2 Vision (11B and 90B) and Llama 4 handle images. Their license has a special restriction related to the European Union, explained in the license lesson.

Safety models are part of the family

Meta also publishes safety models such as Llama Guard (a classifier for unsafe content) and Prompt Guard (a detector of prompt injection and jailbreaks). They are tools you place around a chat model, not chat models themselves. See Llama Guard and Prompt Guard.

Which parts of a name matter to your code

When you write code or configuration, treat the full model identifier as a setting, not as text scattered through your program. Keep it in one place, together with the revision or file checksum. Then a model change is a visible, testable edit. Also keep the chat template and stop-token settings with it, because they can change between generations.

Picking a generation as a newcomer

If you are learning, start with a small instruct model that your computer handles comfortably. You can run many experiments, and every concept in this course carries over to larger sizes. Move up only when your tests show that the small model fails on the job.

Keeping up with new releases

When a new model appears, check four things before you get excited: who published it, which license it uses, what the model card says about size, context and languages, and whether your runtime supports it yet. Then run your own test set. An announcement describes what a model can do in general, not how it handles your task.

One habit to keep. Whenever you quote a size or a context length, note the exact model and the date you checked it.

Practice idea. Add a name of your own to the parser and check which parts it misses.

Common mistakes

Do not judge hardware needs from the number in a Llama 4 name. Use the total parameter count, and do not assume that the maximum context works on your machine.

  • Picking a base model for a chatbot.
  • Treating a community re-upload as official.
  • Quoting a context length from one generation for another.

Check your understanding

Quick check ยท 3 questions

of 3 answered You scored / 3 ยท perfect!

  1. 1. Which Llama 3.2 text sizes are small enough to be aimed at laptops and small devices?

    Llama 3.2 added 1B and 3B text models. The 11B and 90B models are the vision ones.
  2. 2. What does 17B mean in Llama-4-Scout-17B-16E?

    Scout has 17B active and 109B total parameters.
  3. 3. Where should you confirm details about a specific model?

    File names are hints and model self-descriptions are unreliable.

Summary

  • Llama is a series of generations with different sizes, context lengths and abilities.
  • Llama 4 Scout and Maverick are mixture-of-experts models with image input.
  • Active parameters differ from total parameters, and memory follows the total.
  • Check the model card for languages, cutoff and limits.

Next: Llama Licenses and Acceptable Use

Your progress is saved in this browser. No account needed.