# Model Loading

- **Canonical URL:** https://getaimath.com/dictionary/model-loading/
- **Topics:** [AI Infrastructure & Runtime](https://getaimath.com/dictionary/category/ai-infrastructure-and-runtime/)
- **Last updated:** 2026-11-25

## What is Model Loading?

**In one sentence:** Model loading is the step of reading a model's weights from storage into memory so it can run.

For large models, loading can take seconds to minutes, depending on disk speed, file format and whether the model is being converted.

![AI Runtime Engines: Sharing the Oven So Nobody Waits in Line — Simple cartoon showing 4 users ordering at a coffee counter: instead of making everyone wait behind one huge order, a smart Runtime Engine serves all 4 side-by-side at the same time.](https://getaimath.com/diagrams/ai-infrastructure-and-runtime.png)
*Napkin Diagram (AI Infrastructure & Runtime): A runtime engine is the traffic controller that lets one AI chip serve dozens of people at once without anyone getting stuck.*

## What is an example of Model Loading?

Waiting 20 seconds after selecting a 30 GB model before you can chat is model loading time.

## Why does Model Loading matter?

Fast loading improves startup time and helps scale services quickly.

## Related Concepts

- [Memory Mapping (mmap)](https://getaimath.com/dictionary/memory-mapping-mmap/): Memory mapping, or mmap, lets a program treat a file on disk as if it were already in memory, loading pieces only when needed.
- [Cold Start](https://getaimath.com/dictionary/cold-start/): A cold start is the delay when a model or server has to start from scratch before it can answer a request.
- [GPU Offloading](https://getaimath.com/dictionary/gpu-offloading/): GPU offloading moves work from the CPU to the GPU to make it faster.
- [Warm Start](https://getaimath.com/dictionary/warm-start/): A warm start is when a model is already loaded and ready, so requests are answered right away.
- [CPU Offloading](https://getaimath.com/dictionary/cpu-offloading/): CPU offloading moves some model layers or data from the GPU to the CPU and system RAM.
- [Batch Processing](https://getaimath.com/dictionary/batch-processing/): Batch processing runs many tasks together as a group, often not in real time.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/model-loading/)
