AirLLM

AirLLM

Open-source Python library that runs very large language models on low-memory GPUs by streaming model layers one at a time.

FreeLinuxmacOSCUDA-enabled NVIDIA GPUsOpen source
Visit websitegithub.com
Compare with book-to-skillExplore AirLLM alternatives

Overview

AirLLM is an open-source Python inference library designed to run large-scale open-source language models even on low-end computers. Instead of loading the entire model into GPU memory, it loads only one layer at a time and streams the necessary parts from the disk, significantly reducing memory usage to allow running Llama 70B-class models on a single 4GB GPU. Various model families, such as Qwen, Llama, DeepSeek, Mistral, Mixtral, Phi, Gemma, ChatGLM, Baichuan, and InternLM, can be loaded using only their Hugging Face repository IDs, and text generation inference is performed through the AutoModel interface in a manner similar to Transformers. It also supports 4-bit and 8-bit block-wise compression, prefetching, CPU inference, unsharded models, and running on Apple Silicon-based macOS. Its primary targets are AI researchers, ML engineers, open-source developers, and individual users with limited VRAM environments who want to study large models or experiment locally. However, execution speed, disk space, and dependencies on CUDA, PyTorch, and specific models may vary depending on the usage environment.

Key features

  • Reducing GPU memory usage through layer-wise model streaming
  • Supporting inference of 70B-class models on a single 4GB GPU
  • AutoModel interface based on Hugging Face model IDs
  • 4-bit and 8-bit block-wise model compression
  • Supporting CPU inference and Apple Silicon macOS
  • Supporting various model families including Llama, Qwen, DeepSeek, and Mistral

Pricing

FreeStarting price: Free to use under the Apache License 2.0; hardware and hosted-model costs may apply separately
View pricing page

Verified on: · Recheck pricing on the official page

Use cases

  • Local inference of large language models on low-end GPUs
  • Open-source LLM research and performance experimentation
  • Memory-efficient execution of Hugging Face models
  • Prototyping large models
  • Privacy-focused text generation on personal computers
  • Research on model compression and inference memory optimization

Who it is for

AI researchersMachine learning engineersOpen-source developersHugging Face usersStudents studying large language modelsOwners of low-end GPUs

How we verified this

Company, pricing, and feature details come from the primary sources below and our latest verification pass. When sources disagree, the official source and the most recent check win.

Last verified 08/15/2026Verified sources: 5

Alternatives

Tools you can use instead