Skip to main content

AirLLM

Run very large LLMs on a single small GPU

Local AIFreeOpen source

AirLLM is an Apache-2.0 library for running large language model inference on limited hardware. The project states it can run very large models on a single 4GB GPU, trading speed for memory.

Key specs
42,224 GitHub stars source
as of 2026-11-12

What we know

LicenseApache-2.0source, checked 2026-12-02
Open sourceYessource, checked 2026-12-02
PricingFreefrom our original listing, not yet re-checked
GitHub stars43,772source, checked 2026-12-02

Overview

AirLLM is a Python library for running very large language models on hardware that couldn't normally hold them. The README says a 70B model runs on a single 4GB GPU, and reports measured runs of much larger models in a few gigabytes of VRAM. It works by streaming model layers through the GPU one at a time. Recent releases add FP8 models and memory-efficient training.

Key capabilities

  • Layer streaming: run models far larger than your GPU memory.
  • AutoModel: load most popular models by Hugging Face repo ID.
  • Optional compression: 4-bit and 8-bit block-wise quantization for up to 3x faster inference.
  • macOS and CPU support.
  • Training: stream frozen weights and keep adapters on the GPU (added 2026).

Tradeoffs

  • Much slower than in-memory inference; not suited to real-time chat.
  • Needs plenty of disk space for split model layers.
  • Memory figures are the project's own measurements.

Ideal for

  • Trying large open models on a consumer GPU
  • Offline batch inference
  • Research on limited hardware

Not ideal for

  • Low-latency production serving
  • Interactive assistants

Getting started

  1. Install with pip install airllm.
  2. Load a model by Hugging Face repo ID with AutoModel.from_pretrained(...). AirLLM splits it into layers on first load, so allow time and disk space.
  3. Run generation as you would with a normal transformers model, and expect it to be slower than in-memory inference.
  4. If speed matters more than exact quality, try the 4-bit or 8-bit compression option.

Technical notes

  • Install: pip install airllm
  • Language: Python
  • License: Apache-2.0
  • Source: lyogavin/airllm
  • GitHub stars: 42,223 (as of 2026-11-12)

FAQ

How does AirLLM run huge models on a small GPU?

It loads the model layer by layer instead of all at once, so only part of the model is in GPU memory at any time. The project says this works without quantization, distillation or pruning.

What's the catch?

Speed. Streaming layers from disk is much slower than keeping a model fully in memory, so it suits experiments and batch work, not fast interactive chat.

Which models does it support?

Its README lists recent Qwen, Llama, DeepSeek, Phi, Gemma and Mixtral models among others, loaded by Hugging Face repo ID through AutoModel. It also supports macOS and, since September 2026, training.

Alternatives

Is your tool an alternative to AirLLM? Sponsor this spot for 30 days, marked Sponsored.

Integrations

None listed.

Built on

None listed.

For the team behind AirLLM

Growth plan: from $399 a month

SEO, AI search (how ChatGPT, Perplexity and Google describe AirLLM), UX, CRO and support from one account manager, with a monthly report. Includes a Featured launch on db.fyi. Starts with a free audit.

Founding offer: $299 a month for your first 3 months, plus a free case study.

Get a free audit

Listed 2026-11-12 · updated 2026-11-12