AirLLM

Framework · Text & code

Runs large language models on a computer with little memory by loading one layer at a time from disk, on a GPU or CPU.

mixed

Runs huge models on small machines, but at seconds to minutes per token

Latest · Nov 28Version 4.0.1 (23 Nov) adds a clean-memory-per-layer option, on by default; a Qwen3.5 0.8B 4-bit run on an RTX 2070 Max-Q took 123.3 s with it and 7.8 s without, 32 tokens

AccessOpen codeLicenseApache 2.0

Who says what

Opinion has settled

AirLLM's README, as quoted by Jorge Marfil

It claims compression makes inference up to 3x faster and that 4.0.0 can LoRA-tune a 125B model in under 6 GB on an RTX 3060 Ti. It gives no timings for Llama 405B and no training times.

Jorge Marfil and GitHub users, who ran it, plus Tech-Practice

Marfil measured 292 s per token on Kimi K3 and found llama.cpp or Ollama faster whenever the model fits in RAM. One GitHub user went from over 2 minutes per token on a hard disk to 13 s on a RAM disk. Another found compression made Qwen2.5 32B slower (13.3 s/token uncompressed, 106.7 at 4-bit). Tech-Practice noted it falls back to the CPU on a PS5.

Tech-Practice's early-November note and the late-November tests all describe a tool that works but is held back by disk speed.

What would settle it. Published timings for the large models it headlines, and a test of the unmerged pull request that loads small models straight into VRAM.

Seen running on

MachineSpeedHowSeen by
1 run, memory not given
RTX 3050no speed given
17.6 GB used
32BJorge MarfilSpanish · Nov 28

Evidence

  1. Nov 28
    Free, Apache 2.0, 43,391 GitHub stars on 25 Nov 2026; installs with pip and keeps all data on your machine
    Hands-on testJorge MarfilSpanish
  2. Nov 28
    Splits the model into one file per layer, loads each layer to GPU just before it runs and frees it after, prefetching the next in a thread
    Hands-on testJorge MarfilSpanish
  3. Nov 28
    Speed is disk-bound: seconds per token is roughly model size in GB divided by disk read GB/s, a best-case floor; fits-in-RAM cases are faster
    Hands-on testJorge MarfilSpanish
  4. Nov 28
    A GitHub user on an RTX 3050 with 32 GB RAM went from over 2 minutes per token (hard disk) to 13 s/token (RAM disk) with a 17.6 GB compressed Qwen2.5 Coder 32B
    Community reportGitHub usersviaJorge MarfilSpanish
  5. Nov 28
    When the model fits in RAM, llama.cpp or Ollama are usually faster than AirLLM, which still moves every layer over PCIe per token
    Hands-on testJorge MarfilSpanish
Show all 16
  1. Nov 28
    An open, unmerged pull request loads the whole model to VRAM when it fits; on an RTX 4060 8 GB with a 1.5B model it went from 0.1 to 32.2 tokens/s
    Community reportGitHub usersviaJorge MarfilSpanish
  2. Nov 28
    On an NVIDIA Grace Blackwell with Qwen2.5 32B, compression made AirLLM slower: 13.3 s/token uncompressed, 50.5 at 8-bit, 106.7 at 4-bit, against the README's up-to-3x faster claim
    Community reportGitHub usersviaJorge MarfilSpanish
  3. Nov 28
    For Kimi K3 (93 layers, 896 experts, 16 active) AirLLM loads only the needed experts, about 1 GB per layer instead of about 55 GB
    ReportedJorge MarfilSpanish
  4. Nov 28
    The 'unquantized' headline is narrowly true: AirLLM adds no quantization, but Kimi K3 ships in MXFP4 (about 4.46 bits per parameter) and DeepSeek V3 mostly in FP8
    Hands-on testJorge MarfilSpanish
  5. Nov 28
    Neither the README nor release notes publish any timing for Llama 405B; the 64 GB RAM figure repeated for Kimi K3 comes from another model's notes
    Hands-on testJorge MarfilSpanish
  6. Nov 28
    Keeps the original download by default, so Llama 405B needs about 1.62 TB; delete_original=true keeps only the layers
    Hands-on testJorge MarfilSpanish
  7. Nov 28
    Batching helps: in a fork, a 34B model on a 16 GB MacBook Pro went from 35 s/token with one prompt to 5.3 s/token with 50 prompts
    Community reportGitHub usersviaJorge MarfilSpanish
  8. Nov 28
    Version 4.0.0 added streaming LoRA training; README claims a 125B model tuned in under 6 GB on an RTX 3060 Ti and a 27B in about 2 GB at 512 tokens, with no training times given
    ReportedJorge MarfilSpanish
  9. Nov 28
    On Mac it only supports Apple Silicon and Llama- or Mistral-style models; Kimi K3 additionally needs compressed-tensors, Flash-Attn, PyTorch for CUDA 12 and Transformers 4.56; no OpenAI-compatible server
    Hands-on testJorge MarfilSpanish
  10. Nov 28
    At 292 s/token an agent writing 50 tokens per step takes about 4 hours a step, so it is unusable for coding agents
    Hands-on testJorge MarfilSpanish
  11. Nov 2
    Would run on the CPU, streaming layers from disk, so it cannot use the PS5 GPU
    Hands-on testTech-Practice

Everything said about AirLLM, on the wire

Cost to run

Alternatives

DeltafinREADME reports 0.2901 tokens/s with Kimi K3 on an M1 Max laptop, about 3.4 s/token, versus AirLLM's 292 s on a different machine