An illustrated summary of a hands-on analysis of AirLLM: how it fits huge models into small GPU memory, why the real limit is your drive and RAM, which of its headline claims hold up, and who should actually use it.
Reading map
- What AirLLM does — one layer at a time.
- The real bottleneck — your drive, your RAM and a simple formula.
- Hidden slowdowns — default settings that cost time.
- Claims checked — compression, quantization and the Kimi K3 number.
- Who should use it, a decision flow and FAQ.
What AirLLM Does

AirLLM is free (Apache 2), has over 42,000 stars on GitHub and installs with a single pip command: you pass a Hugging Face model name and it runs, with nothing leaving your machine. Its readme lists a 70B model on about 4 GB of GPU memory, Llama 3.1 405B on about 8 GB, DeepSeek V3 (671B) on about 12 GB and Kimi K3 (2.8 trillion parameters) on under 4 GB.

The trick is that a model is a stack of layers, like an assembly line. Normally the whole line is loaded into GPU memory. AirLLM loads one layer, runs it, throws it away and loads the next, so only one layer is ever in GPU memory. For Llama 405B the file is about 811 GB across 126 layers, roughly 6.4 GB per layer, which with some overhead gives the readme’s 8 GB.
The Real Bottleneck

A model writes one token at a time, and each token needs a pass through every layer, so for each word all 126 layers come off the drive again. AirLLM’s own notes call this disk bound. The speed was never about your GPU; it is about your drive. The estimate is simple: seconds per token = model size ÷ drive read speed.
| Drive | Read speed | Best-case time per token (405B, 811 GB) | 500-token answer |
|---|---|---|---|
| PCIe 5 (e.g. Samsung 9100 Pro) | 14.7 GB/s | about 55 s | about 7.6 h |
| Good PCIe 4 (e.g. 990 Pro) | 7.45 GB/s | about 109 s | about 15 h |
| Older drive (e.g. 990 EVO Plus) | about 3.5 GB/s | about 232 s | about 32 h |

RAM is the hidden requirement
The operating system caches recently read files in spare memory. If the whole split model fits in free RAM, only the first token reads the drive. One GitHub user measured an RTX 3050 with 32 GB of RAM and a 17.6 GB model: a spinning hard drive gave just over two minutes per token, a RAM disk 13 seconds, about nine times faster. But a 400B-class model never fits in 16, 32 or even 64 GB of RAM, and the project’s own Kimi K3 notes mention a 64 GB machine. As one comment put it, most people have 8 to 16 GB and the titles never mention it.
Even with 128 GB of RAM, each layer must still cross to the GPU for every token: about 15.75 GB/s at best over PCIe 4 x8, versus about 89.6 GB/s from dual-channel DDR5 to the CPU, roughly 5.7 times narrower. That is why llama.cpp and Ollama run on the CPU when a model fits in memory. An unmerged pull request that skips streaming in that case took a 1.5B model from 0.1 to 32 tokens per second.
Hidden Slowdowns

After every layer, for every word, AirLLM sweeps Python memory and empties the GPU cache, about 0.1 seconds per sweep. In a pull request with timing data, a compressed 8B model on a laptop RTX 2070 Max-Q took 123 seconds for 32 tokens with the cleanup and 7.8 seconds without, about 16 times faster. The default is still on, and one user’s tiny 3B model still ran at about 28 seconds per token.
Claims Checked

Compression makes it up to 3x faster. A user tested Qwen 2.5 32B on an Nvidia GB10 (the DGX Spark chip): 13.3 seconds per token with no compression, 50.5 with 8-bit and 106.7 with 4-bit, with the same correct output. Every layer must be decompressed and prefetching is turned off. The claim dates from 2023, when drives were slow, and an open issue says it is outdated.
No quantization. True in that AirLLM adds none, but Llama 405B ships in 16-bit, DeepSeek V3 in 8-bit and Kimi K3’s experts in a 4-bit format (about 4.46 bits per parameter): that is the maker’s quantization. The readme’s 405B example also links to a notebook that loads a 215 GB 4-bit build, with no output in any cell, so the project has never published a 405B timing.

Kimi K3 in under 4 GB. Kimi K3 is a mixture-of-experts model: 93 layers, each with 896 experts, of which a router picks 16 per token. A token needs about 1 GB per layer, not the full 55 GB. AirLLM does this per-expert loading for exactly one model class, Kimi K3. DeepSeek V3 loads whole layers (688 GB over 61 layers), about 92 seconds per token on a good drive instead of about 5 with active-expert loading. Even Kimi K3 was measured at 292 seconds per token on AirLLM, while another engine, Deltafin, runs the full model at about 0.29 tokens per second on an M1 Max laptop (3.4 seconds per word), roughly 85 times faster.

| 500 tokens from Kimi K3 | Time / cost |
|---|---|
| AirLLM (measured) | About 40.5 hours plus 15 minutes of setup |
| Deltafin on an M1 Max | About 29 minutes |
| Moonshot’s own API | Less than three quarters of a cent |
Privacy is the one reason this maths leaves standing. Also: SSD endurance counts writes, not reads; splitting a 405B model writes about 1.62 TB, roughly 0.14% of a 2 TB Samsung 990 Pro’s rating, so the drive will be fine. Some setups are out entirely: on a Mac AirLLM only supports Llama- and Mistral-style models (Kimi K3 is rejected), one AMD-on-Windows user’s GPU sat at zero load, Kimi K3 needs flash attention, a CUDA 12 PyTorch build and a specific Transformers version, and there is no server mode, so Ollama, Open Web UI or Claude Code cannot connect. For agents, 50 tokens per step at 292 seconds per token is about 4 hours per step.
Who Should Use It

- Batch jobs. In a fork with batching, a 34B model on a 16 GB MacBook Pro took 35 seconds per token for one prompt but 5.3 seconds per token for 50 prompts, 6.5 times faster, because each layer is read once for the whole batch.
- Fine-tuning. Version 4 added streamed training, claiming a LoRA on a very large model in under 6 GB of VRAM; the notes give memory, not time, so test on a small dataset first.
- Curiosity. Ask a frontier-sized model one question overnight and decide in the morning whether the API is worth paying for.

Decision flow
- Does the model fit in your RAM? Then use llama.cpp or Ollama instead.
- Divide file size by drive speed; if the result runs past a few hours, stop.
- For a mixture-of-experts model, does the engine load only the active experts?
- Batch work or chat? For chat, an API is better.
- Storage: splitting keeps the original too, so 405B needs about 1.62 TB.
Final Perspective
AirLLM is not a scam and not a bad project: the memory claim is real, the code is real and there are real uses. But speed was never about VRAM. It comes down to how many bytes are moved per word, whether RAM can cache the model and whether you can wait forty hours for one answer. The headline counts the memory you need; the bill comes in hours.

FAQ
Can I really run a 405B model on a 4 GB GPU with AirLLM?
Yes, in terms of memory, because only one layer is loaded at a time. But each token needs a pass through all layers read from your drive, so one word can take minutes.
What decides AirLLM’s speed?
Mostly your drive’s read speed and whether the model fits in your RAM, not your GPU. A rough estimate is model size divided by drive speed, per token.
Does compression make AirLLM faster?
In one user’s test on a modern chip it made it slower (3.8x with 8-bit, 8x with 4-bit). The 3x claim dates from 2023 when drives were slower.
When is AirLLM a good choice?
Batch jobs run overnight, experimenting with fine-tuning on small hardware, or asking a huge model one question to decide whether an API is worth paying for.
Quick Reference
| Question | Short answer |
|---|---|
| How does it fit big models? | Loads one layer at a time |
| What limits speed? | Drive read speed and RAM |
| Rough formula | Model size ÷ drive speed = seconds per token |
| Best use | Batch jobs and overnight experiments |
| Better when it fits in RAM | llama.cpp or Ollama |
Further Reading and Notes
- All timings are third-party calculations and GitHub user reports; they are not independent benchmarks. Diagrams are original.
For education and commentary. Figures are third-party calculations and numbers from user reports on GitHub, not independent benchmarks; they depend on drives, RAM and software versions and may change as the project is updated.
