Run Near-Frontier AI
on Your Hardware

An inference runtime that runs massive open-weight MoE models on consumer GPUs by intelligently offloading experts across VRAM, RAM, and SSD. From Qwen3.5 to Arcee Trinity - 35B to 398B parameters.

Get StartedView Models

Expert Offloading Engine

Run 398B parameter MoE models on consumer GPUs. Only active experts load into VRAM - cold experts live in RAM and SSD, with speculative prefetching that hits up to 74% of the time.

.lmpack Model Format

File-per-expert packaging enables mmap-based memory management. The OS kernel handles caching automatically - hot experts stay in RAM, cold experts page in from NVMe.

Built for Performance

Flash attention, multi-GPU pipeline parallelism, and async I/O. 93% VRAM cache hit rate. Output verified against llama.cpp on identical weights. OpenAI-compatible API included.

Quick Start (coming soon)

$ curl -sSf https://leanmodels.ai/install.sh | sh
$ lean pull lean-agent-light
$ lean run lean-agent-light

Single binary, 15 MB. No Python, no Docker, no cloud dependency.

The installer is not live yet - binaries ship with our first release.

Read the Quick Start guide·OpenAI-compatible API

Runs on Consumer Hardware

Three-tier memory hierarchy: VRAM → RAM → NVMe SSD

TierVRAMRAMNVMeModels
Minimal12 GB16 GB (32 GB for lean-coder-welter)1.8 TBlean-coder-welter, lean-agent-light
Prosumer24 GB32 GB (64 GB recommended)1.8 TBlean-agent-middle
Enthusiast48 GB64 GB (128 GB recommended)1.8 TBlean-think-heavy, lean-reason-heavy (coming soon)

The intelligence is already in open-weight models

Many open-source MoE models rival proprietary ones but only activate a fraction of their parameters per token. A 242 GB model needs 48 GB of VRAM, not 242 GB. The barrier is fitting them in memory - that's an engineering problem, and we solve it.