What Colibrì Actually Does
GLM-5.2 is a Mixture-of-Experts model: instead of activating all 744 billion parameters for every token, it routes each token through a small subset of "expert" sub-networks. Only about 40 billion parameters actually fire per token, and of those, roughly 11GB worth are the "routed" experts that change from token to token.
Colibrì exploits that structure directly:
- Dense layers stay resident in RAM. Attention, shared experts, and embeddings — about 17B parameters — are quantized to int4 and kept in memory at all times (~9.9GB resident).
- Routed experts stream from disk on demand. The remaining ~21,504 expert chunks (roughly 19MB each at int4) live on disk — around 370GB total — and are streamed in per-layer with an LRU cache, rather than pre-loaded.
- No external dependencies at inference time. The engine itself is about 1,300 lines of C. Python is only used for the one-time model conversion step and an optional API gateway.
In effect, Colibrì treats VRAM, RAM, and disk as one managed memory hierarchy instead of requiring the entire model to fit in RAM or VRAM at once.
Setup Requirements
Before trying this yourself, know what you're signing up for:
| Requirement | Details |
|---|---|
| RAM | ~25GB (int4 dense layers, resident) |
| Disk space | ~400GB free (converted expert weights) |
| Compiler | gcc + OpenMP |
| Conversion step | Requires Python: torch, safetensors, huggingface_hub, numpy |
| License | Apache 2.0 |
Basic setup:
cd c
./setup.sh # builds with gcc + OpenMP, runs self-test
./coli convert --model /nvme/glm52_i4 # one-time conversion, ~400GB free, resumable
# or download prebuilt weights instead of converting:
# https://huggingface.co/jlnsrk/GLM-5.2-colibri-int4
COLI_MODEL=/nvme/glm52_i4 ./coli chat
Other useful commands:
./coli plan # inspect planned VRAM/RAM/disk placement before running
./coli doctor # read-only readiness check on your hardware
./coli web # API + web dashboard on one port
./coli serve # OpenAI-compatible API only, no dashboard
The Catch: Speed
This is the part most write-ups gloss over. Colibrì's whole design is a tradeoff: it makes a 744B model runnable on modest hardware, not fast.
- Single spinning or SATA SSD — expect well under 1 token per second.
- Faster NVMe storage — community-reported numbers land in the low single digits of tokens per second.
- High-end setups — the project's own demo uses 6× RTX 5090 GPUs with full expert residency, reaching around 4 tok/s with sub-2-second time-to-first-token.
In other words: on a single consumer laptop, this is not a chat replacement for a hosted assistant. It's closer to a research curiosity you queue a task on and check back on later, not something you'd use for interactive conversation.
DevOpsArsenal AI Prompt Library
If you're experimenting with local or hosted LLMs, browse ready-made prompt templates for debugging, code review, incident writeups, and more — free, no signup.
Try Prompt Library Free →Is Colibrì Right for You?
Colibrì is worth trying if:
- You want to run frontier-scale open weights without renting cloud GPUs.
- You have spare NVMe storage (~400GB) and are comfortable with a CLI workflow.
- You're experimenting rather than running a production inference service.
It's not a fit if you need real-time responses, are RAM-constrained below ~25GB, or want a polished GUI experience — Colibrì is unapologetically a CLI-first, systems-level project.
Try It Yourself
GitHub repo: github.com/JustVugg/colibri
Prebuilt int4 weights: huggingface.co/jlnsrk/GLM-5.2-colibri-int4
If you try it on your own hardware, the project's maintainer is actively collecting community benchmark numbers via GitHub issues — worth contributing your results if you test it.