#116116th of 117 in Model serving

picolm

Minimal C inference engine for GGUF LLaMA models on low-RAM boards

Releases and problems feed (RSS)

Stars
2.2k
License
MIT
Last commit
Feb 2026
Language
C
Stars, last 30 weeks+668
28 Apr 2026: 1,554 stars5 May 2026: 1,563 stars12 May 2026: 1,576 stars19 May 2026: 1,588 stars26 May 2026: 1,608 stars2 Jun 2026: 1,616 stars9 Jun 2026: 1,625 stars16 Jun 2026: 1,630 stars23 Jun 2026: 1,635 stars30 Jun 2026: 1,662 stars7 Jul 2026: 1,671 stars14 Jul 2026: 1,678 stars21 Jul 2026: 1,680 stars28 Jul 2026: 1,684 stars4 Aug 2026: 1,874 stars11 Aug 2026: 1,880 stars18 Aug 2026: 1,889 stars25 Aug 2026: 1,900 stars1 Sept 2026: 1,907 stars8 Sept 2026: 1,910 stars15 Sept 2026: 2,147 stars22 Sept 2026: 2,181 stars29 Sept 2026: 2,187 stars6 Oct 2026: 2,193 stars13 Oct 2026: 2,200 stars20 Oct 2026: 2,203 stars27 Oct 2026: 2,207 stars3 Nov 2026: 2,210 stars10 Nov 2026: 2,215 stars17 Nov 2026: 2,218 stars24 Nov 2026: 2,222 stars

1,554 on 28 Apr 20262,222 on 24 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

PicoLM is a from-scratch LLM inference engine in about 2,500 lines of C11 that reads GGUF files directly and runs LLaMA-architecture models on CPU. It memory-maps the model and streams layers, so TinyLlama 1.1B Q4_K_M runs in about 45 MB of RAM. It has a stdin/CLI interface, a grammar-constrained `--json` mode, and was built as the local backend for PicoClaw.

Who it is for: Embedded and Raspberry Pi developers running small LLMs offline on CPU

Strengths

  • Roughly 80 KB binary with only libc, libm and libpthread as dependencies
  • ~45 MB runtime RAM for TinyLlama 1.1B Q4_K_M at 2048 context via mmap
  • `--json` grammar mode forces syntactically valid JSON for tool calling
  • `--cache` persists the KV cache to skip prompt prefill on repeated prompts

Weaknesses

  • CLI only; the README documents no HTTP or OpenAI-compatible server
  • Only LLaMA-architecture GGUF models; no GPU offload
  • Slow on cheap boards: about 1 tok/s on LicheeRV Nano, 2 on Pi Zero 2W
  • Pi 4 and Zero 2W speeds are estimates, not measured

What it needs

  • no GPU
  • Needs libc, libm, libpthread
  • Models: GGUF v2/v3, LLaMA architecture, TinyLlama 1.1B, Llama 2 7B, Phi-2

Also in Model serving

See all 117
Also in Model serving
RankProjectScore
#112mllmC++ inference engine for running multimodal LLMs on phones and edge devices1.6k starsMIT37 out of 100
#113mini-sglangCompact SGLang reimplementation for serving LLMs, in about 5,000 lines of Python5.7k starsMIT35 out of 100
#114seldon-coreKubernetes framework for serving ML models and Kafka-connected pipelines4.8k starscustom license34 out of 100
#115gemma.cppMinimal C++ CPU inference engine for Gemma 2, Gemma 3 and PaliGemma 27.1k starsApache-2.0no commits in a year20 out of 100
#117deepstream-yoloNVIDIA DeepStream configs and GPU parsers for running YOLO and DETR detectors2.1k starsMIT12 out of 100