Skip to main content
AI RADARGitHub
0•11/23/2026, 13:19•3 min read

Cheetah: Rust backend for local language model inference with minimal memory use

GitHubGotBurnout Radar

Cheetah: Rust backend for local language model inference with minimal memory use

AI Daily Digest•Verified Tech Release
Executive TL;DR30s read

Open-source Rust backend Cheetah reduces idle RAM usage for small local language models to tens of megabytes, making them runnable on older laptops.

Many peripheral devices, embedded gateways, and laptops from a decade ago cannot run small language models locally. The reason is often not insufficient CPU performance, but excessive memory consumption by existing inference frameworks.

During context initialization and weight loading, they can allocate one or two gigabytes of RAM for temporary buffers. As a result, the system runs out of memory (OOM) before generation even starts.

This week, the official Rust forum introduced Cheetah, a new open-source backend for local inference designed for minimal memory consumption.

The author completely reworked the architecture, implementing lazy loading, and built CPU and Vulkan backends from scratch in pure Rust using SIMD instructions to accelerate computation.

The results are impressive:

  • after the architectural rework, idle RAM usage when loading a 0.5B-parameter model dropped from more than 2 GB to 62 MB;
  • with a 1.5B-parameter model, loading previously caused an out-of-memory error on the test computer, but now idle usage is only 67 MB;
  • tripling the number of parameters added only 5 MB of extra RAM usage;
  • even connecting and calling an external tool once, for example to get a weather forecast, increases memory usage by only 0.2 MB.

Thanks to an architecture that practically eliminates excessive memory allocation, the author managed to run a local model on a 2013 laptop with a dual-core Intel Core i5-4200M and achieve a generation speed of 13 tokens per second.

The developer is currently working on Cheetah v2, which is planned to include dynamic data distribution between VRAM, RAM, and disk.

Cheetah

Why it matters

Analysis

Lower memory overhead makes local LLM inference viable on constrained hardware, opening opportunities for private, offline, and edge AI deployment.

Discuss in community

Share your questions and insights with developers

Join Telegram
+5 Points
← Back to news feed

Related in Ecosystem

Practical guides, core terminology, and agent skills