liveBook · Manning

Parameter count

As explained in Build Applications with Local AI Models on a Mac

Model size is a measure of a language model's scale, commonly expressed by its number of learned parameters.

Parameter count is a measure of model size: it tells you how many numerical values a model learned during training. You can think of these values as stored patterns. In model names, B means billions of parameters, so 4B means 4 billion. section 12.2 section 4.1.3

Parameter count is a useful first filter when choosing a model for your computer. More parameters generally mean better quality, but also slower responses and greater memory use. The actual RAM needed also depends on quantization and model format, so treat size-based estimates as guides rather than guarantees. section 12.2 section 4.3.2

Reading a model tag

In gemma3:4b, gemma3 identifies the model family and 4b identifies its 4-billion-parameter variant. For a computer with 8 GB of RAM, this is a practical starting size; a 7B model may be tight. section 4.1.3 section 4.1.1

Table 4.1 Model sizes, approximate RAM requirements, and typical use cases

Model size

Approximate RAM needed

Typical use cases

1B–3B

2–4 GB

Quick Q&A, simple chat, text formatting

7B–9B

5–8 GB

General conversation, writing, coding help

13B–14B

10–16 GB

Complex analysis, detailed writing

27B–32B

20–32 GB

Advanced reasoning, professional tasks

70B+

40+ GB

Research, near-GPT-4 quality

Compare approximate RAM needs and typical tasks across language-model sizes before downloading. section 4.3.2

The same tradeoff appears in speech recognition. Larger Whisper models offer greater accuracy but need more memory and take longer to transcribe audio. The measured speeds below are specific to a Mac Mini M2 and a 30-second English clip. section 9.7

Table 9.2 MLX Whisper model sizes, memory requirements, and recommended use cases. The speeds were measured on a Mac Mini M2 for a 30-second English audio clip.

Model ID

Parameters

Download size

Memory (RAM)

30s audio speed

Accuracy

whisper-tiny-mlx

39 M

~75 MB

~200 MB

~1 s

Basic

whisper-base-mlx

74 M

~145 MB

~350 MB

~2 s

Good

whisper-small-mlx

244 M

~480 MB

~800 MB

~4 s

Very good

whisper-medium-mlx

769 M

~1.4 GB

~2 GB

~8 s

Excellent

whisper-large-v3-mlx

1550 M

~2.9 GB

~4 GB

~18 s

Near-human

Compare Whisper variants by parameter count, download size, memory, speed, and accuracy. section 9.7

One important exception to a simple size comparison is a mixture-of-experts model. Qwen3-Coder-Next has about 80 billion total parameters but uses only about 3 billion at a time. Check its model card or Ollama page for RAM requirements, which also depend on quantization. section 17.3.1

How Build Applications with Local AI Models on a Mac covers it

How deep it goes
Defines learned parameters and compares size tradeoffs, including total versus active parameters in a mixture-of-experts model.
Examples
Compares Gemma 3 size tags and five MLX Whisper variants with measured transcription speeds.
What you can do after
Evaluate/understand model options by parameter count, task suitability, and approximate resource requirements.
How it connects
Connects parameter count to inference speed, RAM, quantization, and mixture-of-experts architecture.

Also explained in

Compare how 3 books explain parameter count →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Build Applications with Local AI Models on a Mac. The section links point to the parts of the book it draws on.