Choosing and Using the ToolsLesson 41 of 76

Module 5 · Open models and your own hardware

Working out what your machine will run

In this lesson

  • 9 min read
  • 6 reading sections
  • Knowledge check
  • Lesson 3 of 9 in this chapter

This chapter’s goalWork out what your own machine will run including context and cache, read a model card and licence well enough to decide whether to build on it, choose a quantisation and format deliberately, compare hosted open-model providers on speed, precision, context and data terms, and set a routing rule between local and hosted work you can apply without thinking.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available
What an 8B model needs, beyond the weightsWeights at 4-bit4.5KV cache, 4,000 tokens ofcontext0.50KV cache, 32,000 tokens ofcontext4Runtime and operatingsystem2GB of memoryShort chats fit in about seven gigabytes; the same model handed a fifty-page report wants about tenand a half. That is the it-worked-yesterday complaint, and the fix is a smaller context setting or8-bit cache quantisation rather than a smaller model.
Short chats fit in about seven gigabytes; the same model handed a fifty-page report wants about ten and a half. That is the it-worked-yesterday complaint, and the fix is a smaller context setting or 8-bit cache quantisation rather than a smaller model.

Figure

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 7Free · no account needed
Lesson steps

The arithmetic, including the part people forget

The weights are the obvious cost. At 4-bit quantisation a model needs roughly half a byte per parameter, so an 8-billion-parameter model is about 4.5 GB on disk and a similar amount in memory.

The part that surprises people is the KV cache: the model’s working memory for the conversation so far. It grows linearly with how much text is in the context, and on a long document it can rival the weights.

Text
8B model, 4-bit weights                  ~4.5 GB
KV cache at   4,000 tokens of context    ~0.5 GB
KV cache at  32,000 tokens of context    ~4.0 GB
plus the runtime and the operating system ~2.0 GB
                                          -------
short chats:      ~7 GB       long documents: ~10.5 GB

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the AI at Work exam.

Stuck on something?Ask Rukmini, your AI tutor

How to cite: Addaly (2026) ‘Working out what your machine will run’, in Choosing and Using the Tools. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/choosing-your-tools/sizing-for-your-machine (Accessed: 27 November 2026).