# Mission 0.2: My Mac is faster than in the course. Is the course wrong?

Part of the course “AI from Zero to Autonomous Agents” (https://llm.yoga/en). Page for humans: https://llm.yoga/en/einsatz-0-2

Belongs to [Chapter 0: How to use this course](https://llm.yoga/en/00-kurs-nutzen.md).

Structure: the case, the explanation, a hands-on tool, check questions, wrap-up. The answers to all questions are collected at the end.

## The case

**Lea**, presales:

> “For qwen3:8b the course says ‘measured on an M4 with 24 GB’: 4.4 tokens per second. My MacBook also has an M4 and gets 15 with the same model. I want to show this to a customer tomorrow. Can I trust the numbers in the course at all?”

Tokens are the word pieces a model splits text into, so tokens per second measure writing speed. qwen3:8b is an openly available model, and the test Mac is the MacBook on which I re-measure everything.

Course: qwen3:8b writes 4.4 and 3.7 tokens per second on the test Mac, measured under load, that is, while many other programs were running.

Lea: 15 tokens per second on her M4 (example value).

**Question 1 (prediction):** What do you tell Lea?

- A) The course got its measurement wrong; 4.4 versus 15 is too much for the same chip.
- B) Lea measured wrong; an M4 can’t do more than 4.4.
- C) Both can be right: speed depends heavily on what else is running, and I measured under load.

## What’s behind it

Think of a car’s fuel consumption. “6 liters” says little as long as you don’t know whether it was measured on an empty country road or in a traffic jam with a roof box. A number needs its origin and its conditions.

That’s why every claim in the course that you might reuse carries a label. **Measured on an M4 with 24 GB** means run on the test Mac itself. The Mac wasn’t idle at the time, so speed values are cautious. Memory values and ratios are reliable. **Checked against the documentation, not run here** means the command is in the official docs like that, but wasn’t tried out. Small differences between versions are possible. **Unconfirmed** marks claims without a primary source, meaning without an original source like the maker’s page or official docs; you don’t pass those on without checking.

On top of that come estimates and calculations, which the text names as such. The “two thirds of the memory” for 8 and 16 GB is a cautious assumption; measurements were only made on 24 GB. And an upper limit like “at most about 23 tokens per second” is calculated, not measured.

For Lea this means her 15 doesn’t contradict the course. Speed depends on what else is running, how warm the computer is and which version of Ollama, the program that runs the models, is in use. She can check two things. Does her value stay below the upper limit? And does the ratio come out similar, for example that the small model qwen3:1.7b writes several times faster than qwen3:8b? For the customer, it’s best to use her own measurement, with the date and a note on what else was running.

### In more detail: the upper limit for writing speed

When writing, a dense model has to read all its weights from memory once for every token. So the upper limit is memory bandwidth divided by file size: 120 GB/s ÷ 5.2 GB ≈ 23 tokens per second for qwen3:8b on an M4. For qwen3:1.7b at 1.4 GB it’s about 86. In practice you stay below that; on the DGX Spark, measured values were about 70 percent of the limit.

Under load, the test Mac reached only 16 to 19 percent of it with the 8B model. Lea, with 15 tokens per second, would be at about 65 percent.

## Try it

**Sort: where does the claim come from?**

**Task:** Six claims from the course. Match each one to its origin.

Categories: measured · checked against docs · estimate

1. On a Mac with 16 GB, about two thirds, roughly 10.5 GB, are available for the model.
2. qwen3:1.7b takes up 1.5 GB of memory with 4,096 tokens of context, read from Ollama’s list of loaded models.
3. On the DGX Spark, an AI computer from NVIDIA, a check command from NVIDIA shows the graphics unit.
4. qwen3:8b writes 4.4 tokens per second, under load.
5. With qwen3:8b, an M4 manages at most about 23 tokens per second.
6. A setting in Ollama stores the cache for the context (KV cache) with 8 instead of 16 bits, saving space.

## Check

**Question 2 (check question):** The next day Lea measures 40 tokens per second and writes: “With qwen3:8b on my M4.” What do you do?

- A) Be happy, her Mac is just less busy today.
- B) Ask back, because 40 is above the upper limit of about 23 for this chip.
- C) Correct the course; the 4.4 there are obviously too low.

**Question 3 (check question):** Which values from the course should come out roughly the same for Lea?

- A) All values, since the chip and the model are the same.
- B) Only the speed values; memory is used differently on every Mac.
- C) Memory values and ratios, such as the small model being several times faster.

**Question 4 (check question):** A claim is labeled “unconfirmed”. What does that mean for Lea’s customer meeting?

- A) No original source was found, so Lea doesn’t pass it on without checking.
- B) It’s wrong and is only there as a warning.
- C) The command wasn’t tried out, but it is in the docs.

## Done

**What you can do now**

- You read the three labels in the course correctly and recognize estimates and calculations in the text.
- You know that speed values only hold under their measuring conditions, while memory values and ratios carry over.
- When a customer or colleague quotes a speed figure, you ask about the chip, the model and what else was running, and check it against the upper limit from bandwidth and file size.

### Two cards for review

**Card 1:** True or false? “If I measure a different speed on my Mac than the course does, the course is wrong.”

**Card 2:** What does the label “checked against the documentation, not run here” mean?

- A) The command was measured on the test Mac.
- B) The claim couldn’t be backed by any primary source.
- C) The command is in the official docs like that, but wasn’t tried out for the course.

- [Next mission: Does the chatbot know our price list now?](https://llm.yoga/en/einsatz-1-1.md)
- [Read chapter 0](https://llm.yoga/en/00-kurs-nutzen.md)

## Read more in the chapter

The full text from the chapter, with the reasoning, calculations and sources:

- [How to read the labels](https://llm.yoga/en/00-kurs-nutzen.md)
- [Common misconceptions](https://llm.yoga/en/00-kurs-nutzen.md)
- [Chapter 6: inference, upper limit and measuring under load](https://llm.yoga/en/06-inferenz.md)

## Answers: only reveal them after the learner has answered or explicitly asks

**Question 1:** The correct answer is C.
- A: The difference is large, but it can be explained. The test Mac was very busy during the measurement, with a bot, iOS simulators and other programs running at the same time. That’s noted next to the speed values.
- B: Her 15 is quite possible. According to Apple, an M4 has 120 GB/s of memory bandwidth, the amount of data it can read from memory per second. For qwen3:8b that gives an upper limit of about 23 tokens per second. 15 is below that.
- C, correct: A speed value only holds under the conditions it was measured in. Memory values and ratios, on the other hand, should come out similar for Lea as in the course.

- Card 1: **estimate:** Chapter 10 cautiously assumes two thirds for 8 and 16 GB; measurements were only made on 24 GB. Apple gives no fixed percentage.
- Card 2: **measured:** Run on the test Mac itself. Memory values hardly depend on what else is running. Lea should see almost the same number here.
- Card 3: **checked against docs:** The Spark commands in the course come from NVIDIA’s documentation and guides (playbooks). Measurements were only made on the test Mac.
- Card 4: **measured:** Measured here, but only valid under that load. This is exactly the number that puzzled Lea. A speed value isn’t a datasheet value for the chip.
- Card 5: **estimate:** Calculated, not measured: 120 GB/s of bandwidth according to Apple, divided by the 5.2 GB file size. An upper limit that real measurements don’t quite reach.
- Card 6: **checked against docs:** The setting is in Ollama’s FAQ and takes effect when the server starts; it wasn’t tried on the test Mac.

**Question 2:** The correct answer is B.
- A: Less load explains higher values, but only up to the upper limit. 40 is well above the roughly 23 that 120 GB/s allow with 5.2 GB. Something about the claim is off.
- B, correct: A measurement can’t be above the upper limit. Possible reasons: qwen3:1.7b ran instead of qwen3:8b, or her computer has an M4 Pro, which according to Apple has 273 GB/s.
- C: The 4.4 were measured under load and are labeled as such. Only what’s wrong gets corrected. Here, Lea’s claim needs checking first.

**Question 3:** The correct answer is C.
- A: Speed values depend on load, temperature and the Ollama version. Identical chips therefore don’t deliver the same tokens per second.
- B: It’s the other way around. How much memory a loaded model takes up depends on the model and the context length, hardly on the load. Speed, on the other hand, varies a lot.
- C, correct: Memory use depends on model and context, not on load; that’s what chapter 0 says about the labels. Lea’s absolute tokens per second may differ, but the ratio between two models should stay similar.

**Question 4:** The correct answer is A.
- A, correct: Such claims only appear in the course when they help understanding. Red here means “not backed by a source”, not “wrong”.
- B: Unconfirmed doesn’t mean wrong. It means no primary source was found. The claim may be true; it just isn’t backed up.
- C: That’s the label “checked against the documentation, not run here”. Unconfirmed goes further: there is no primary source at all.

**Card 1:** **False.** Speed values only hold under the conditions they were measured in. The test Mac was very busy, and that’s noted. Memory values and ratios carry over. If a value is above the upper limit from bandwidth and file size (for an M4 with qwen3:8b, about 23 tokens per second), something about the measurement is off.

**Card 2:** Correct: C, The command is in the official docs like that, but wasn’t tried out for the course. The command was looked up in the official documentation, but not run. Small differences between versions are possible. “Measured” means run here, “unconfirmed” means without a primary source.
