---
type: "post"
id: "cheetah-a-single-binary-local-llm-inference-server-dd42d2"
slug: "cheetah-a-single-binary-local-llm-inference-server-dd42d2"
title: "Cheetah: A single-binary local LLM inference server in Rust + C"
description: "Cheetah is an open-source local inference server built with Rust and C, with CPU and Vulkan backends and an OpenAI-compatible gateway."
retrieval_nugget: "Cheetah is an open-source local inference server built with Rust and C, with CPU and Vulkan backends and an OpenAI-compatible gateway. Its repository focuses on reducing memory pressure and improving inference on constrained machines, making it a project to evaluate for teams testing local models where a GPU server is not an option."
published_at: "2026-11-23"
updated_at: "2026-11-23"
record_date: "2026-11-23"
date_kind: "published_at"
topics: ["inference"]
entities: ["Cheetah","DA3M0","Qwen","Llama","Mistral","Gemma","Phi"]
related_patterns: []
novelty_label: "new_fact"
what_changed: "Cheetah introduces a Rust backend aimed at running small language models locally on low-memory devices such as gateways, peripherals and older laptops."
prior_refs: []
source_url: "https://github.com/DA3M0/Cheetah"
source_urls: ["https://github.com/DA3M0/Cheetah"]
schema_version: "newruntime-agent-readable-v0.2"
stable_id: "post:cheetah-a-single-binary-local-llm-inference-server-dd42d2"
status: "published"
visuals: []
editor: {"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]}
routes: {"html":"https://newruntime.com/posts/cheetah-a-single-binary-local-llm-inference-server-dd42d2/","markdown":"https://newruntime.com/posts/cheetah-a-single-binary-local-llm-inference-server-dd42d2.md","json":"https://newruntime.com/posts/cheetah-a-single-binary-local-llm-inference-server-dd42d2.json"}
markdown_url: "https://newruntime.com/posts/cheetah-a-single-binary-local-llm-inference-server-dd42d2.md"
---

# Cheetah: A single-binary local LLM inference server in Rust + C

## Retrieval answer

Cheetah is an open-source local inference server built with Rust and C, with CPU and Vulkan backends and an OpenAI-compatible gateway. Its repository focuses on reducing memory pressure and improving inference on constrained machines, making it a project to evaluate for teams testing local models where a GPU server is not an option.

## Summary
Cheetah is an open-source local inference server built with Rust and C, with CPU and Vulkan backends and an OpenAI-compatible gateway. Its repository focuses on reducing memory pressure and improving inference on constrained machines, making it a project to evaluate for teams testing local models where a GPU server is not an option.

## What happened
The Cheetah repository describes a single-binary server for local language-model inference. It supports Safetensors weights in F32, F16 and BF16, and exposes an OpenAI-compatible gateway. The project implements CPU and Vulkan backends; the CPU path uses native operations, while Vulkan provides a separate compute backend. The repository lists multiple supported model families, including Qwen, Llama, Mistral, Gemma and Phi. These compatibility claims describe the project’s supported paths, not a guarantee that every model checkpoint will run without preparation.

A central design concern is the memory footprint around model loading and generation. The repository’s recent documentation revisions describe memory as a progression through startup, warmup, idle and inference rather than a single fixed number. In its measurements for a prepared Qwen model with 0.5 billion parameters, on a 16 GB RAM tiered plan, Cheetah reports about 123 MB idle and about 255 MB peak. For a 16/512 MB RAM-tier plan, it reports about 603 MB idle and 735 MB peak; a full-resident plan is reported at roughly 1.0 GB idle and 1.12 GB peak. The notes attribute roughly 70 MB of idle use to runtime overhead above the resident plan bytes, with KV cache, a KV prefix-cache snapshot and working buffers contributing to growth during inference.

The repository also explains how the measured footprint changes after startup. Memory-mapped weights are initially untouched, so an early process snapshot can be much smaller than the post-warmup idle baseline. Warmup faults the weights into memory; the project’s notes say clean file pages can be reclaimed by the kernel under pressure and faulted back from the page cache. This distinction matters when comparing a quick process reading with a sustained run: they describe different operating states.

Recent changes target request latency as well as memory. On the native backend, Cheetah uses chunked prefill and batched projections for several model families, and reserves KV cache space for the prompt span. It also has a prefix cache with up to four entries and a 256 MB budget, keyed by exact prompt tokens; a request extending a cached prefix can restore its snapshot and process only the suffix. The repository’s measurements on an i5-4200M, using a prepared Qwen 0.5B model and an approximately 1,400-token prompt, report repeat or multi-turn time-to-first-token falling from 187–208 seconds to 0.17–0.45 seconds, while a cold prompt is reported at about 75 seconds after changes. The notes say backends without snapshot support, including Vulkan, do not reuse those snapshots.

The project is available as source from its GitHub repository. The repository identifies its license as Apache 2.0 and documents building, preparing models, serving requests and configuration. The practical route is to follow those instructions with a model and machine close to the intended deployment, then measure the exact backend and memory tier being considered. The repository’s benchmark conditions are specific; they are not a promise of similar latency or memory use for other checkpoints, operating systems or hardware.

## What the archive adds
We have not covered this before; it opens a new thread.

## Trend signal
This does not yet fit a pattern New Runtime tracks. Cheetah offers a concrete implementation for local inference under memory constraints, but this single project does not establish a broader shift in how agent systems are built or deployed.

## Why it matters
For a team considering local inference, the useful question is not simply whether a model can be loaded. Startup, warmup, peak memory and repeated-request latency can determine whether a service remains usable on a small device or alongside other workloads. Cheetah makes those trade-offs visible in its own documentation and offers code that builders can inspect, run and compare against their existing stack.

The prefix-cache design is particularly relevant to repeated or multi-turn work: exact prompt-prefix reuse can avoid reprocessing the same context on supported backends. But its scope matters. The documented cache is bounded, keyed on exact tokens, and unavailable on Vulkan in the described implementation. That makes backend choice and prompt stability operational considerations, not details to assume away.

For production teams, the repository is best treated as an experiment to reproduce. Measure resident and peak memory, cold and repeat first-token latency, and output quality on the target device. Those results can show whether a local runtime reduces infrastructure needs enough to justify its model and backend constraints.

## Limits and uncertainty
The repository’s performance and memory figures are project-reported measurements with specific hardware, model preparation, prompts and backend conditions. They have not been independently verified here, and they should not be generalized to other devices or model sizes. Memory depends on the selected residency plan and changes between loading, warmup, idle and inference. The documented prefix-cache gains apply to native-backend paths that support snapshots; Vulkan is explicitly described as lacking KV snapshot reuse. Teams still need to validate compatibility, throughput, peak memory and output quality for their own workload before relying on Cheetah in deployment.

## Reader takeaway
Cheetah is worth evaluating if you need local inference on constrained hardware, but do not judge it by one headline memory number. Reproduce the relevant workload, distinguish startup from warmed-up and peak memory, and compare cold requests with repeated prompts on the backend you plan to use.

Editor: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- topic hub: [Inference](https://newruntime.com/topics/inference.md): Explore the inference topic hub.
- collection: [Field Notes](https://newruntime.com/posts.json): Open the latest editorial analysis.
- collection: [Sources](https://newruntime.com/sources/): See the original sources this archive cites.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
