Free

AirLLM: run models with limited GPU memory

Try AirLLM on your hardware: check model compatibility, memory and disk space, then measure response time and quality with known-answer questions.

Tools

Installation instructions · Download source code (ZIP)

AirLLM runs open language models by loading their parts in sequence. It offers a way to try a model with limited GPU memory; it is not a replacement for the Codex app.

What you can use it for

  • Compare a local model's answers to practice questions.
  • Check whether a chosen model fits your available hardware.
  • Explore document processing without using a cloud model.

How to install and run

  1. Ask Codex to check hardware, Python, free disk space and model support in the official README.
  2. Create a separate environment and install the package with pip install airllm.
  3. Choose an example for your system. The Mac section describes Apple silicon with MLX and PyTorch dependencies; a CUDA example cannot simply be reused on every Mac.
  4. Agree on the model licence and download size before fetching it. Run a short official example and save its answer.

The official guide includes platform-specific examples. The first run creates additional model-layer files, so check disk space beforehand.

How to work alongside Codex

Codex can prepare a separate Python project and run an example. AirLLM is not an MCP connection and does not change your Codex model. Measure response time, memory and quality on your particular machine and model.

Useful instructions

An assistant for your documents covers sources and answer verification. If you need local inference, consider AirLLM when choosing the processing approach, while keeping document retrieval as a separate part of the project.

How to check the result

Use questions with known answers. Measure startup time, response time, memory use and disk space. If the example fails, check model and hardware compatibility before dependencies. Compare it with your existing approach before moving an everyday workflow over.

Prompt for Codex

Paste this into Codex with computer access. The assistant will first check compatibility and propose a small example.

Check whether AirLLM suits running an open model on my computer. Read https://github.com/lyogavin/airllm and inspect hardware, available memory, disk space and Python. Establish my task and propose a compatible model and example. Show its licence and download size before fetching anything. After approval, prepare a separate environment, run a short check and measure time, memory and answer quality on test questions. Do not change the Codex model or delete existing models.
In This Article
Saved