Lesson 28.2 · 2 of 7 · 5 min read · Reviewed 24 Nov 2026
Model families, sizes and licences
By the end, you can
- Describe how open model families differ.
- Read sizes and licences correctly.
Sizes
Model size is the number of parameters, written like 8B (8 billion) or 70B.
| Size band | Rough fit |
|---|---|
| Under ~4B | Phones, edge devices, simple classification |
| ~7B to 14B | Laptops and single GPUs; decent general chat and extraction |
| ~30B to 70B | Workstation or server GPUs; stronger reasoning |
| Hundreds of billions | Multi-GPU servers; closest to frontier ability |
Some models are mixture-of-expertsMixture-of-experts (MoE): A model design where each layer has many expert blocks and a router that sends each token to only a few of them.: a large total parameter count, but only part of it is active for each tokenToken: The unit a model reads and writes: a word, part of a word, a space or a symbol, mapped to an integer id., so they run faster than their size suggests (though they still need memory for all of it).
Variants
| Variant | What it is |
|---|---|
| Base | Pretrained only; continues text, doesn’t follow instructions reliably |
| Instruct / chat | Tuned to follow instructions and hold conversations |
| Specialised | Tuned for code, maths, a language, or tool use |
| Quantized | Smaller, lower-precision versions for local use (30.2) |
Licences: what to check
- Is commercial use allowed?
- Are there limits on number of users or company size?
- Is there an acceptable-use policy you must pass on to your users?
- Can you redistribute fine-tunedFine-tuning: Continuing to train a model on your own examples to change its behaviour or specialise it. versions?
- Do you need to credit the model?
Licence terms change between releases of the same family, so check each version.
Families change fast
New families and versions appear every few months. Rather than memorise a list, learn to read a model cardModel card: A document describing a model’s intended use, training data, evaluations, limitations and licence. (28.3) and test on your own tasks.
Key points
- Open model families come from several labs and are released in sizes, measured in billions of parameters.
- Bigger models are usually more capable but need more memory and are slower.
- Families ship base models (raw next-token predictors) and instruct or chat models (tuned to follow instructions).
- Licences range from permissive to restricted; check commercial use, user limits and acceptable-use rules.
Estimate memory for model sizes
Work out roughly how much memory a model needs from its parameter count and precision, including mixture-of-experts models.
You will have: A table of estimated memory for several sizes and precisions, with a fit check against a 24 GB GPU.
Steps
- Write a function: parameters x bytes per weight, plus about 20% overhead for the runtime and context.
- Fill a table for 8B, 14B and 70B models at 16-bit, 8-bit and 4-bit.
- Add a mixture-of-experts model with a large total and a small active count; use the total for memory.
- Mark which rows fit on a 24 GB GPU.
- Write one sentence on why the MoE model is fast but still needs a lot of memory.
Done when
- An 8B model at 4-bit is about 4.8 GB and fits.
- A 70B model at 16-bit is about 168 GB and does not fit.
- The MoE row uses the total parameter count for memory.
Open in the Playground No API key needed.
Starter code (Python)
BYTES = {"16-bit": 2.0, "8-bit": 1.0, "4-bit": 0.5}
MODELS = [("8B", 8e9, None), ("14B", 14e9, None), ("70B", 70e9, None), ("MoE 100B total, 12B active", 100e9, 12e9)]
GPU_GB = 24
def memory_gb(params, precision):
# TODO: params x bytes per weight, plus 20% overhead, in GB (1e9 bytes)
return 0.0
for name, total, active in MODELS:
for prec in BYTES:
gb = memory_gb(total, prec)
print(f"{name:28} {prec:7} {gb:7.1f} GB")
# TODO: mark rows that fit on GPU_GB
Show a solution
BYTES = {"16-bit": 2.0, "8-bit": 1.0, "4-bit": 0.5}
MODELS = [("8B", 8e9, None), ("14B", 14e9, None), ("70B", 70e9, None), ("MoE 100B total, 12B active", 100e9, 12e9)]
GPU_GB = 24
def memory_gb(params, precision):
return params * BYTES[precision] * 1.2 / 1e9
for name, total, active in MODELS:
for prec in BYTES:
gb = memory_gb(total, prec)
fit = "fits" if gb <= GPU_GB else "too big"
print(f"{name:28} {prec:7} {gb:7.1f} GB {fit}")
print("MoE: memory follows the total count; speed follows the 12B active per token.")