Why a model file’s size is not its GPU memory requirement
3 October 2026 · 4 min read · AI Wire · AI-assisted
A simple weight-memory calculation, its limits, and the measurements to record before choosing hardware.
Scope and sources: Educational analysis with illustrative arithmetic. Memory figures describe hypothetical raw weights only, not tested models or a hardware purchase recommendation.

Begin with a deliberately incomplete estimate
For a hypothetical model with seven billion stored parameters, multiplying the parameter count by two bytes gives about 14 billion bytes at 16-bit precision. At four bits per parameter, the raw arithmetic gives about 3.5 billion bytes. These are decimal gigabytes: one GB means one billion bytes. They are weight-storage estimates, not a promise that the model will fit in a GPU with that capacity. The calculation deliberately omits metadata and the other allocations needed to run a model.
| Hypothetical parameters | 16-bit raw weights | 4-bit raw weights |
|---|---|---|
| 3 billion | 6 GB | 1.5 GB |
| 7 billion | 14 GB | 3.5 GB |
| 13 billion | 26 GB | 6.5 GB |
Quantisation is one part of the story
Quantisation changes how numerical values are represented. QLoRA research combines a quantised pretrained model with trainable low-rank adapters for efficient fine-tuning. Its experimental results concern a particular training method; they are not a universal memory guarantee for every inference setup. Our interpretation is to avoid treating a precision label as a complete specification. Check the actual model format and runtime, then measure the workload you plan to serve. A smaller download can be helpful while still leaving unanswered questions about memory use and output quality.
Sources: Dettmers et al. — QLoRA: Efficient Finetuning of Quantized LLMs
The workload changes the allocation
Running a model also involves state associated with processing the input and producing output. For a language-model application, context length and simultaneous requests are therefore important parts of the experiment. Instead of testing only a short greeting, use a realistic document or conversation length. Repeat the test at the concurrency you expect. Keep a note of whether requests finish, slow down or fail. The purpose is to discover the operating boundary of your configuration, rather than infer it from the name of the model.
Check where execution happens
Ollama documents that its processor indicator can show full GPU placement, CPU placement or a combination. It also allows context configuration. A successful run does not necessarily mean the workload ran entirely on the GPU. Our suggested measurement sheet records the exact model, runtime version, precision, context setting, placement information, first-response time and sustained response behaviour. Measure these under the same conditions when comparing configurations. If one setup uses a different model or context limit, explain that difference before presenting a speed comparison.
Sources: Ollama — FAQ on model placement and context configuration
Inference and training need separate budgets
A machine capable of producing answers is not automatically suitable for your intended training experiment. Training methods involve additional state and different allocation patterns. Parameter-efficient adaptation can change those requirements, but it still needs measurement for the model and training recipe in use. Start with a bounded experiment and preserve its configuration. Do not turn a successful inference demonstration into a blanket claim that the same hardware can fine-tune any model of a similar parameter count.
Use the estimate to choose a test, not a purchase
The arithmetic table is useful for spotting implausible assumptions and narrowing experiments. It does not include every runtime overhead, and it does not substitute for measurements on the intended system. Before choosing hardware, test a representative model and workload on available equipment or obtain a reproducible demonstration of that configuration. Compare answer quality as well as performance. A model that fits comfortably but fails the task is not a useful deployment; a larger model is not automatically necessary if a smaller one meets the same acceptance criteria.
Sources and further reading
- Dettmers et al. — QLoRA: Efficient Finetuning of Quantized LLMs
- Ollama — FAQ on model placement and context configuration
Sources checked 3 October 2026. Editorial recommendations and hypothetical examples are distinguished from documented facts. Source pages may change.
Suggest a correction · All guides and analysis