Module 1 · Why local

Machine requirements: what fits on each computer

Lesson 3 of 15 8 min lesson Updated on October 30, 2026
Progress in the course20%

In this lesson

The machine comes in at the end of the project. The task comes first.

A lot of people send me a photo of an expensive computer and ask: "is it good for AI?". It depends on the task. In this lesson you learn to measure before you buy.

A restaurant kitchen

Picture a kitchen. The memory is the size of the counter. The memory bandwidth is the speed of the helper who brings the ingredients from the pantry. The processing is the number of cooks.

The model is an ingredient that has to be on the counter whole. That is why memory comes first. If it does not fit, nothing else matters.

What fits where

These are practical reference points from the 2026 guides. Always check the model card.

MachineMemoryModel that usually fits
Ordinary laptop16 GB of RAMAbout 8B
Desktop with a graphics card24 GB on the card27B to 30B
Workstation32 to 48 GB on the cardAbout 30B, with room to spare

Macs with an Apple chip use unified memory: the processor and the graphics card share the same memory. That is why a small box can run a big model.

The back-of-the-napkin math

Add up three things:

  1. The size of the model. The download size on Ollama is a good approximation.
  2. The headroom for the context. A whole contract in the conversation takes up far more than a one-line question.
  3. The headroom for the system and for each person using it at the same time.

Went over the memory? Choose a smaller model, a more compressed version, or accept that it will be slow.

A law firm was going to buy a server to read contracts. First, it tested on a computer it already had, with a 24 GB card. It was slow for ten people, but it did the job for the three who read contracts. The server was not bought.

How many people at the same time?

A machine that responds well for one person may choke with five. Each person chatting at the same time needs their own context space. If the AI is going to serve the whole team, size for the peak, not for the average.

Speed: when it matters

For chatting, it is enough for the model to write faster than the person reads. For batch work, such as classifying a thousand invoices overnight, speed becomes total time. If each invoice takes a few seconds, it fits in one night. If it takes a minute, it does not. Measure on your machine, with your model. Do not trust someone else's numbers.

The boring method that works

  1. Define the task and the model.
  2. Test on the machine you already have.
  3. Measure quality, speed and people at the same time.
  4. Only then buy, knowing exactly what is missing.

If the candidate model is too big for any machine you have, you can rent a machine with a graphics card by the hour, just for the test, using sample documents and never the real ones.

What the pros know

To write each word, the model has to reread its billions of parameters. That is why, when it is writing, speed is usually limited by memory bandwidth, and not by computing power. A formula for the cap, for use by one person: tokens per second are at most equal to the bandwidth divided by the size of the model (a token is a piece of a word). A 16 GB model on memory with 160 GB per second does not go past about 10 tokens per second. It is a cap, not a forecast. But it explains why memory bandwidth weighs so much on speed.

Practice · 10 min

  1. Write down your computer's RAM, graphics card and free disk space.
  2. On ollama.com, check the download size of your two candidates.
  3. Do the back-of-the-napkin math and write: it works, it does not work or only with a smaller model.

Summary

Sources

Read on October 30, 2026.

  1. Together AI: text generation is limited by memory bandwidth; cap on tokens per second equal to the bandwidth divided by the size of the model.

Lesson quiz

Three situations to apply what you learned.

Lesson 3 of 15

Before moving on to the next lesson

Put what you saw into practice. The boxes stay checked in this browser, so you can come back later.

Have a question about this lesson? The IV Help team answers personally on WhatsApp.

Ask on WhatsApp