Video summary

Run 400B+ LLM Models on Your 4GB Laptop AirLLM

Main summary

Key takeaways

Technology

Summary

The video investigates AirLLM’s viral claim that it can run extremely large language models with very little GPU memory. Its conclusion is that the memory claim is real, but it says little about practical speed. The main constraints are model size, available system RAM, storage and memory bandwidth, and how the inference engine loads model data.

How AirLLM saves GPU memory

AirLLM loads and processes a model one layer at a time, rather than keeping the entire model in GPU memory. The video cites figures from AirLLM’s README of roughly 4 GB of GPU memory for a 70B model, 8 GB for Llama 3.1 405B, 12 GB for DeepSeek V3, and 3.72 GB for Kimi K3. This approach can make large models load on modest GPUs, but it does not eliminate the work required to generate text.

Each generated token requires another pass through the model. If the model is not cached in RAM, its layers must be read from storage again for every token. For Llama 3.1 405B, the video cites an 811 GB model file and estimates these best-case read times:

  • 55 seconds per token on a 14.7 GB/s SSD
  • 109 seconds per token on a 7.45 GB/s SSD
  • 232 seconds per token on a 3.5 GB/s SSD

These are theoretical minimums; real performance can be slower. At 109 seconds per token, a 500-token answer would take about 15 hours.

RAM, caching, and GPU bottlenecks

Because AirLLM reads model layers using ordinary file operations, the operating system may cache them in available RAM. If the full model fits in free RAM, later tokens can avoid repeated SSD reads. The video cites a user test on an RTX 3050 in which a 32B model took just over two minutes per token from a hard drive, compared with 13 seconds from a RAM disk.

However, having enough RAM does not necessarily make AirLLM the fastest option. The video argues that transferring data from RAM to a laptop GPU over PCIe can be slower than letting a CPU-based inference engine use RAM directly. It recommends considering llama.cpp or Ollama when the model fits in memory.

The video also flags a reported AirLLM cleanup routine that runs after each layer. In one cited test, disabling cleanup reduced generation time for 32 tokens from 123 seconds to 7.8 seconds. The video presents this as a potentially significant performance issue, while noting that the default behavior was still in place in the cited reports.

Compression and “no quantization”

AirLLM advertises 4-bit and 8-bit compression as potentially faster. However, a benchmark cited in the video, run on NVIDIA GB10 hardware with a Qwen 2.5 32B model, reported:

  • No compression: 13.3 seconds per token
  • 8-bit compression: 50.5 seconds per token
  • 4-bit compression: 106.7 seconds per token

The video attributes the slowdown to decompression overhead and to compression disabling prefetching. It argues that the advertised speed benefit may be outdated for modern NVMe drives.

The “no quantization” claim also needs qualification: AirLLM may not add further quantization, but some official model releases already use reduced-precision formats. The video notes that AirLLM’s linked Llama 405B example appears to use a 4-bit model file, and that it found no published 405B timing in that notebook.

Kimi K3 and model-specific loading

Kimi K3’s low memory figure is explained by its Mixture of Experts (MoE) design. Although it has many experts, only 16 are selected for a given token. According to the video, AirLLM implements per-expert loading for Kimi K3, but not for other MoE models such as DeepSeek V3 or Qwen 3 235B. Those models are loaded a layer at a time, including inactive experts.

The video cites an AirLLM Kimi K3 result of 292 seconds per token, compared with 0.29 tokens per second—about 3.4 seconds per token—for the separate DeltaFin engine on an M1 Max. It attributes the large difference to memory capacity and bandwidth, as well as DeltaFin’s handling of active experts. These are reported figures from different tools and setups, not a controlled head-to-head test.

Suitability, limitations, and practical guidance

The video says AirLLM may make sense for offline batch processing, privacy-sensitive work, experimentation, or potentially large-model LoRA fine-tuning. Batching can amortize the cost of reading layers: a cited AirLLM fork reportedly improved a 34B model from 35 seconds per token for one prompt to 5.3 seconds per token for a batch of 50.

AirLLM is presented as a poor fit for ordinary chat, fast interactive use, or agent workflows. Other caveats include:

  • Model files may exceed available RAM, forcing repeated storage reads.
  • AirLLM splits models into layer files and may retain the original download, requiring substantial disk space. The video estimates about 1.62 TB for the cited 405B example.
  • Some model and hardware combinations may require specific software versions or may fail to use the GPU as expected.
  • The video says AirLLM does not provide a built-in server endpoint for local apps that expect an OpenAI-compatible API.
  • Repeated reads are not the main SSD-endurance concern. The video says SSD write endurance is affected by downloading and splitting the model, not by repeatedly reading it.

The video’s decision guide is to check, in order:

  1. Whether the model fits in RAM.
  2. The model’s size divided by SSD read speed, to estimate a best-case token time.
  3. Whether an MoE engine loads only active experts.
  4. Whether the task is batch processing or interactive chat.

If the model fits in RAM, the video recommends trying a CPU-oriented engine first. If the estimated generation time is already hours, AirLLM is unlikely to be useful for that task.

Overall assessment

AirLLM is described as a legitimate tool that achieves unusually low VRAM use, but the video argues that low VRAM requirements should not be confused with usable speed. Its strongest use cases are specialized, patient, privacy-conscious, or batched workloads.

Main speaker and sources

  • Main speaker: Kai, presenting a technical analysis and practical guide.
  • Sources discussed: AirLLM’s README, code, and release notes; GitHub issues and pull requests; user-reported benchmarks; and comparisons with llama.cpp, Ollama, DeltaFin, and Colibri.

Rate this summary

Your feedback will help improve summaries.

Improve this summary

Reprocess with a stronger model when the summary feels incomplete or inaccurate.

Pro

Translate summary in another language

Pro

Ask questions to this video

Chat for follow-up questions, clarifications, and source-backed answers.

Coming soon

Share this summary

Original video