{"slug":"lyogavin-airllm","kind":"review","status":"testing incomplete","tier":"claim","title":"AirLLM","category":"local-models/runtimes","repos":[{"repo":"lyogavin/airllm","stars":39145,"license":"Apache-2.0"}],"claims":[{"claim":"Kimi K3, 2.8 trillion parameters, in 3.72 GB … 70B models on a single 4 GB card","source":"https://x.com/RoundtableSpace/status/2111045739430269341","measured":"Qwen2.5-72B-Instruct (bf16) ran with PyTorch GPU memory capped at 4 GB: peak GPU allocation 2.34 GB, whole-process peak 5.91 GB, 63.9 seconds per token, correct answer. The post's Kimi K3 (2.8T) and DeepSeek-V3 (671B) examples were not tested.","result":"HALF-REAL"}],"plan":"Run 9B, 27B and a 70B-class model (Qwen2.5-72B) with PyTorch GPU memory capped at 4 GB. Measure whether each loads and answers, peak memory, and tokens per second, against a normal full load of the same model.","who_its_for":"Tinkerers who want to run big models on small GPUs.","notes_so_far":["The post doesn't mention speed, so Rocky measured it.","9B and 27B shards were pre-split before the timed runs, so split time isn't in their load times. The 72B run is different: see the load-time note under Measured results.","The 4 GB cap is PyTorch's per-process GPU memory limit (see bench.py in the rerun bundle). It does not limit the OS file cache that streams layers in, or the rest of the Python process.","Only one short prompt (24 new tokens, greedy decoding) per model, so speed for long outputs or long prompts is not measured yet."],"topic":"ai-models","explainer":"A Python library for running very large language models on a small GPU. Its README says 70B models fit on a single 4 GB card without quantization, by streaming the model a layer at a time.","measure":["Does a 70B model load with GPU memory capped at 4 GB?","Peak GPU and system memory used","Tokens per second (the post doesn't mention speed)"],"sneak_peek":["Setup: AirLLM streams a model one layer at a time from disk. Rocky capped PyTorch's GPU memory at 4 GB, asked each model the same question, and compared with a normal load of the same model. Rocky's other big model (gpt-oss-120b) was paused during runs so nothing else competed for memory.","Qwen3.5-9B: about 45x slower than a normal load to save about 14 GB of GPU memory.","Qwen3.6-27B: about 140x slower than a normal load to save about 47 GB.","Qwen2.5-72B (the 70B-class claim): it ran and answered correctly at a 2.34 GB GPU allocation, but at 63.9 seconds per token. A normal 4-bit load of the same model did 4.53 tokens per second, about 290x faster.","Caveat: on this box GPU and system memory are the same pool, so the cap limits PyTorch's allocations, not the OS file cache that streams the layers in. The AirLLM process itself peaked at 5.91 GB for 72B."],"gallery":[],"speed_table":[{"model":"Qwen3.5-9B","airllm_tps":0.176952,"normal_tps":8.0174},{"model":"Qwen3.6-27B","airllm_tps":0.022472,"normal_tps":3.2208},{"model":"Qwen2.5-72B (70B-class)","airllm_label":"AirLLM, 4 GB cap (bf16)","airllm_tps":0.015646,"normal_tps":4.5291,"normal_label":"Normal load, ollama Q4_K_M (4-bit, different precision)"}],"charts":[{"type":"bars","title":"Speed: seconds per token (shorter bar = faster)","unit":"s","note":"Measured on Rocky's box, 24-token runs. AirLLM at a 4 GB cap is about 45x (9B), 140x (27B) and 290x (72B) slower than a normal load. The 72B normal load is ollama's 4-bit Q4 build, a different precision.","groups":[{"label":"Qwen3.5-9B (bf16 vs bf16)","bars":[{"name":"AirLLM 4 GB cap","value":5.651,"verdict":"half"},{"name":"Normal load","value":0.125,"verdict":"neutral"}]},{"label":"Qwen3.6-27B (bf16 vs bf16)","bars":[{"name":"AirLLM 4 GB cap","value":44.499,"verdict":"half"},{"name":"Normal load","value":0.31,"verdict":"neutral"}]},{"label":"Qwen2.5-72B (bf16 vs 4-bit Q4, different precision)","bars":[{"name":"AirLLM 4 GB cap","value":63.913,"verdict":"half"},{"name":"Normal load (Q4)","value":0.221,"verdict":"neutral"}]}]},{"type":"bars","title":"Memory: GPU stays under 4 GB, the whole process doesn't (GB)","unit":"GB","note":"Green = PyTorch's GPU allocation, under the 4 GB cap every time. Yellow = the whole AirLLM process (RSS), over 4 GB every time. The yellow bars are the ones that matter for a real 4 GB card. Peak over load plus generation.","groups":[{"label":"The claim","bars":[{"name":"4 GB card","value":4.0,"verdict":"neutral"}]},{"label":"Qwen3.5-9B","bars":[{"name":"GPU allocation","value":2.79,"verdict":"real"},{"name":"Whole process","value":7.52,"verdict":"half"}]},{"label":"Qwen3.6-27B","bars":[{"name":"GPU allocation","value":3.33,"verdict":"real"},{"name":"Whole process","value":6.39,"verdict":"half"}]},{"label":"Qwen2.5-72B","bars":[{"name":"GPU allocation","value":2.34,"verdict":"real"},{"name":"Whole process","value":5.91,"verdict":"half"}]}]}],"published_ct":"Oct 18, 2026 (Central Time)","results_table":{"intro":"Every number below comes from Rocky's runs on an NVIDIA GB10 box (121.7 GB shared by CPU and GPU, Samsung 4 TB NVMe SSD), AirLLM 4.0.0 at commit fd3bd7e, throwaway Docker containers with no network. Same prompt for every run, 24 new tokens, greedy decoding. 9B and 27B ran Oct 17, 7:06 to 7:32 PM CT; 72B ran Oct 17, 11:30 to 11:59 PM CT.","headers":["Run","Weights","Load time","Generate 24 tokens","Tokens per second","Seconds per token","Peak GPU allocation (PyTorch)","Peak process memory (RSS)","Answer"],"rows":[["9B AirLLM, 4 GB cap","bf16","6.4 s","135.6 s","0.177 tok/s","5.7 s","2.79 GB","7.52 GB","Correct, token-for-token same as normal load"],["9B normal full load","bf16","95.4 s","3.0 s","8.02 tok/s","0.125 s","16.73 GB","17.61 GB","Correct"],["27B AirLLM, 4 GB cap","bf16","5.9 s","1,068 s (17.8 min)","0.0225 tok/s","44.5 s","3.33 GB","6.39 GB","Correct, token-for-token same as normal load"],["27B normal full load","bf16","257.9 s","7.5 s","3.22 tok/s","0.31 s","50.21 GB","47.69 GB","Correct"],["72B AirLLM, 4 GB cap","bf16","100.4 s (see note)","1,534 s (25.6 min)","0.0156 tok/s","63.9 s","2.34 GB","5.91 GB","Correct: \"The capital of France is Paris, and the Seine River runs through it.\""],["72B normal load (ollama 4-bit Q4_K_M baseline, different precision)","4-bit quantized","not measured","5.3 s","4.53 tok/s","0.22 s","not measured","not measured","Correct, same first sentence"],["72B one-time layer split (AirLLM prep, CPU only)","bf16","191.1 s to split","–","–","–","none (no GPU)","7.55 GB","–"]],"notes":["72B baseline: the full bf16 72B model (about 145 GB) can't fit in this box's 121 GB, so the normal-load baseline is ollama's 4-bit Q4_K_M build. That is a different precision and a different engine, so the 290x speed gap is not a pure like-for-like comparison.","72B load time: the separate one-time split step was still finishing when the timed run started, so AirLLM wrote the last layer files itself during the 100.4 s load. That load time includes some splitting and isn't a clean load time.","72B answer: the first sentence matches the Q4 baseline word for word. After about 20 tokens the wording drifts (\"a more complex question\" vs \"a more challenging question\"), which is expected between bf16 and 4-bit weights. 9B and 27B were compared at the same precision and matched token for token.","What RSS counts: everything the Python process holds in RAM, including Python, the PyTorch and CUDA libraries, and layer data read from disk, not just GPU tensors. That is why it sits above PyTorch's GPU number.","Peak process memory (RSS) was sampled every 0.2 s for the whole run, load plus generation. Every AirLLM run went over 4 GB here (5.9 to 7.5 GB), even though PyTorch's GPU allocation stayed under the cap.","Rocky has not tried a discrete GPU that physically has only 4 GB, so this does not prove the claim on a real 4 GB card.","Where the time goes (estimate from measured numbers): the 72B layer files are 136 GB on disk, and AirLLM reads every layer once per new token, so roughly 136 GB passes through per token. At 63.9 s per token that is about 2.1 GB/s on average. Some of it comes from the OS file cache rather than the drive (a Samsung 4 TB NVMe SSD)."]},"speed_note":"Example from the measured 72B rates: a short 50-token reply takes about 53 minutes with AirLLM at 63.9 s per token, versus about 11 seconds with the ollama Q4 load. A one-page summary (about 700 tokens) takes about 12.4 hours versus about 2.6 minutes. These are estimates derived from the measured rates, not separate runs.","bundle":{"intro":"The exact files Rocky ran, plus the raw result lines every number on this page comes from. To rerun you need a Linux box with an NVIDIA GPU and Docker, and disk for the 72B weights (136 GB) plus AirLLM's layer files (another 136 GB) and the ollama Q4 baseline. Results on a real 4 GB card will differ.","files":[{"name":"Dockerfile","href":"/reviews/lyogavin-airllm/bundle/Dockerfile","what":"pinned AirLLM image (commit fd3bd7e)"},{"name":"bench.py","href":"/reviews/lyogavin-airllm/bundle/bench.py","what":"the benchmark: split, AirLLM with the 4 GB cap, or normal load; writes one JSON line per run"},{"name":"prep.sh","href":"/reviews/lyogavin-airllm/bundle/prep.sh","what":"builds the image and pre-splits the 9B and 27B models"},{"name":"run.sh","href":"/reviews/lyogavin-airllm/bundle/run.sh","what":"9B and 27B runs, AirLLM and normal load"},{"name":"dl70.sh","href":"/reviews/lyogavin-airllm/bundle/dl70.sh","what":"downloads Qwen2.5-72B-Instruct, splits it, pulls the ollama Q4 baseline"},{"name":"run70.sh","href":"/reviews/lyogavin-airllm/bundle/run70.sh","what":"72B AirLLM run plus the ollama Q4 baseline"},{"name":"results-latest.jsonl","href":"/reviews/lyogavin-airllm/bundle/results-latest.jsonl","what":"raw 9B / 27B results"},{"name":"results-70b-latest.jsonl","href":"/reviews/lyogavin-airllm/bundle/results-70b-latest.jsonl","what":"raw 72B results"},{"name":"split72.jsonl","href":"/reviews/lyogavin-airllm/bundle/split72.jsonl","what":"raw 72B split-step result"}]},"runs":[{"label":"9B + 27B runs","started":"2026-10-18T00:04:51Z","finished":"2026-10-18T00:40:18Z"},{"label":"72B run","started":"2026-10-18T04:29:36Z","finished":"2026-10-18T05:06:51Z"}],"verdict_caveats":["Not tested on a real 4 GB graphics card. The 4 GB limit was PyTorch's memory cap on a 121 GB shared-memory box, so the OS could cache layer files in spare RAM.","The 290x figure compares AirLLM (bf16) with ollama's 4-bit Q4 build, a different precision and engine. The 9B and 27B comparisons are bf16 vs bf16: 45x and 140x slower.","Practical use: fine for an unattended batch job you can leave for hours. Not usable for chat or coding help.","One short prompt, 24 new tokens, one run per model. No repeat runs yet."],"claim_scope_note":"Scope: Rocky tested the \"70B models on a single 4 GB card\" part with Qwen2.5-72B-Instruct, an open 70B-class model. The post's bigger examples, Kimi K3 (2.8 trillion parameters in 3.72 GB) and DeepSeek-V3 (671 billion), were not tested in this run, so this verdict says nothing about them.","results":{"jobs":[{"id":2,"title":"AirLLM: 9B + 27B with 4 GB GPU cap vs normal full load (tokens/sec, peak memory)","kind":"claim","status":"done","started":"2026-10-18T00:04:51Z","finished":"2026-10-18T00:40:18Z","wall_seconds":2127,"install_friction":null,"artifacts":["raw/lyogavin-airllm/job-2/auto-analysis/env.txt","raw/lyogavin-airllm/job-2/env.txt"]},{"id":12,"title":"AirLLM 70B: Qwen2.5-72B bf16 at 4 GB cap + ollama Q4 baseline (pauses 120B)","kind":"claim","status":"done","started":"2026-10-18T04:29:36Z","finished":"2026-10-18T05:06:51Z","wall_seconds":2235,"install_friction":null,"artifacts":["raw/lyogavin-airllm/job-12/env.txt"]},{"id":32,"title":"AirLLM v2: Qwen2.5-72B bf16 in strict 4 GB box, 10 short prompts + 1000-token prompt","kind":"claim","status":"done","started":"2026-10-19T05:00:36Z","finished":"2026-10-19T05:41:07Z","wall_seconds":2431,"install_friction":null,"artifacts":[]},{"id":50,"title":"AirLLM v2 prep: README install friction, latest commit image, 2 more 8B models, split [rerun: fixes]","kind":"harness","status":"done","started":"2026-10-19T14:32:30Z","finished":"2026-10-19T14:33:44Z","wall_seconds":74,"install_friction":{"method":"README: pip install airllm, fresh CUDA PyTorch container (aarch64)","seconds":404,"ok":true,"rc":0,"manual_fixes":0,"commands_run":1},"artifacts":["raw/lyogavin-airllm/job-50/build.txt"]}],"smoke_only":false,"ingested":"2026-10-21T17:46:48Z"},"last_test_finished":"2026-10-19T14:33:44Z","standard_missing":["dependency/CVE scan","canary secret plus telemetry/network-egress capture","install-script review","permissions requested","license","upstream maintenance status","known CVEs of bundled components","computed score"],"analysis_status":"testing incomplete"}