hierarchical inference engine

Your machine becomes something more.

colibri is an open-source hierarchical inference engine that adapts to your machine to run LLMs, coordinating CPU, GPU, memory and storage. A model that fits runs from VRAM and RAM; one larger than your memory streams the rest from the SSD. Pure C, offline, free.

$
click to install colibri on one more computer
how the engine works

One hierarchy. Your hardware.

colibri treats GPU memory, system RAM and storage as one hierarchy, and adapts where each weight lives and how it is executed to the machine it runs on. Weights stay in memory when they fit, and stream from storage only when they do not: no SSD is needed for a model your VRAM and RAM can hold. The CPU and the GPU work at the same time, on CUDA, Vulkan, Metal or the CPU alone.

GPUCPU + RAMSSD, if needed
GPUVRAM: the hottest weights

The card holds the experts your work uses most and runs every layer of a token as one chain: the dense layers, the attention and its experts, without a trip to the CPU. CUDA, Vulkan or Metal.

CPU and RAMwhat the card does not hold

What the card does not hold stays in RAM, in a cache that learns which experts your conversations call. The CPU computes it in the same step as the card computes its own, so neither waits for the other.

SSDonly when the model does not fit

A model larger than your memory keeps the rest on the disk and reads it when the router asks: an expert's matrices in one read, a pool of loaders, the next layer guessed ahead. Two NVMe drives add up.

01Route

The router picks a few experts for this token, layer by layer.

02Union

A batch of positions reads each expert it needs once.

03Place

Measured heat decides who earns the GPU, the RAM or the disk.

04Overlap

Disk reads, the CPU's share and the GPU's work run at the same time.

05Learn

Every turn updates the history, so the next start is warm.

7xfaster decode
Every layer on the GPU

Qwen3.8-Flash-Next went from 7.8 to 56.6 tok/s on one 24 GB card when the whole token moved onto it, the experts it cannot hold computed by the CPU beside it.

0disk reads
No SSD when it fits

A model your VRAM and RAM hold never touches the disk: Qwen3-Coder-30B-A3B decodes at 124 tok/s on one 24 GB card, Ternary-Bonsai-2-4B at 183.

+37.5%decode
More than one SSD

When a model is larger than your memory, a copy on a second NVMe drive adds its bandwidth to the first; a partial copy on a smaller drive helps too.

17xfaster agent turns
Long contexts, read once

An agent's next turn reads only what is new: Hermes Agent's second turn on Qwen3.8-Flash-Next went from 86 s to 4.9 s, and a 256K context decodes at 42.9 tok/s.

+80%with its MTP head
Speculation that pays

A model's MTP head drafts tokens the model then checks: a ternary 27B from 41.5 to 74.7 tok/s, Qwen3.6 from 104.5 to 120.1, Qwen3.8-Flash-Next 16-20% more.

1C file a family
Pure C, the same model

No BLAS and no Python at run time, the published GGUFs read as they are. Where a weight sits changes the speed, never the router's choices or the weights' precision.

kimi-k3 · 2.8T · 64 GB of RAM
GPURAMSSD
$ coli chat --model kimi-k3

Bigger than your memory

A model larger than your VRAM and RAM streams what does not fit from the SSD: Kimi K3 (2.8T) runs on 64 GB of RAM. Slower than from memory, and the same model.

cuda · vulkan · metal · cpu
NVIDIAAMDIntelApple
$ coli setup --backend vulkan

Any GPU, or none

CUDA on NVIDIA, Vulkan on any card with a 1.2 driver (AMD, Intel and NVIDIA, discrete or integrated), Metal on Apple, or the CPU alone.

localhost:8000 · /v1
∫₀¹ x² dx = 1/3
$ coli web

Your chat, your apps

A chat in the browser with documents, web search, pictures and math, and the OpenAI and Anthropic APIs for Claude Code, opencode and your own apps.

One command, the right model

It measures the machine, picks the model, downloads it with resume and opens the chat.

Step 1 of 3
$ ./start-here.sh
your machine
Nothing is running yet

...and more: coli tui in the terminal, coli serve for your apps, up to 16 chats at once with --kv-slots, an MCP server for coding assistants, and System One, a decision with a probability. See the README and the docs.

Fast on one card

The published GGUFs on one RTX PRO 4000 (24 GB, 70 W) in an i5-13500 box with 62 GB of RAM, decode speed with CUDA. The last two are larger than the card and the RAM together, and read the rest from two NVMe drives.

All the benchmarks

apis, mcp and cli

Your agents. Your models.

Bring your coding agents and apps to the models you run with colibri. One server speaks the OpenAI and Anthropic APIs, an MCP server sets it up for your assistant, and coli chat talks to it from the terminal.

$coli servehttp://127.0.0.1:8000/v1
works with
Claude CodeCodexHermesOpenClawPiopencodeAiderContinueCline
speaks
OpenAI-compatibleAnthropic-compatibleMCPCLI

Every model it runs

From a 1.2 GB ternary model to Kimi K3 at 2.8T: chat, code, vision, tools, pictures and decisions, from the authors' checkpoints or straight from the published GGUFs.

The download is the range of the published files, from the smallest GGUF to the checkpoint. Below the RAM it starts from, the model does not start.

Every GPU it has run on

What we, the contributors and the users measured: the card, the model, the backend and the decode speed. NVIDIA, AMD, Intel and Apple, from a laptop's integrated GPU to a data-centre card.

Decode speed in tokens a second, the best run each report gives; the note says what else was measured. A model larger than the card keeps the experts the card cannot hold in RAM, and the largest read the rest from the SSD, so for them the RAM and the disk set the speed. Your card is missing? The benchmark protocol says how to add it.

Which model for my machine

The setup measures your RAM, card and disk and recommends the most capable model at 20 tok/s or more. What these machines measured:

Yours, and free

  • Apache 2.0, free and open source; each model keeps the licence its authors gave it.
  • Offline: your prompts and answers never leave your machine.
  • Linux, Windows, macOS, FreeBSD and a Raspberry Pi.

What it reads

  • The GGUFs unsloth, Prism ML and the authors publish, as they are, from IQ1_S to BF16.
  • The authors' checkpoints, a few after a one-off conversion.
  • Text, pictures, tools and reasoning in; pictures out with Qwen-Image-2.1.

Every model and its numbers

Take flight

Your first huge model in one command.

Currently shipping v2.3.0 · release notes and archives

$
Read the quick start