FareedKhan-dev/kimi-k3-in-c
A 2.78-trillion-parameter Kimi K3 running inference on a single CPU in 8.24 GB of RAM. Portable C99: no BLAS, no framework, no GPU. observed · 2026-08-28
Health v2 · maintenance only
79/100
- Activity 99
- Release rhythm 96
- Longevity 2
Flags: young
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 5
- age_days: 32
- days_rel: 26
- days_push: 7
- n_releases_24m: 2
Adoption not part of the score
6524 stars · 1062 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A dependency-free C99 inference engine that runs the 2.78-trillion-parameter Kimi K3 model on a single CPU with as little as 8 GB of RAM by streaming quantized (MXFP4) weights from disk. The entire engine is ~176 KB with no BLAS, framework, or GPU requirement, using SIMD (AVX2), mixture-of-experts, and linear attention.
Use cases
- run a trillion-parameter LLM on a laptop without a GPU
- llm inference in pure c with no dependencies
- run kimi k3 locally on cpu
- study how transformer inference engines are built from scratch
- quantized mxfp4 model inference with low memory
- cpu-only inference with simd avx2 optimization
When to choose
- you want to run a very large LLM on commodity CPU hardware with no GPU
- you need a minimal, zero-dependency, portable C inference engine to read or modify
- you want to learn how MoE, linear attention, and quantized inference work at the systems level
When to avoid
- you need fast, production-grade token throughput - even high-RAM machines take seconds per token
- you want GPU acceleration or a mature ecosystem of tooling and integrations
- you need multi-user serving or an API server rather than single-prompt local inference
Facets
library · maturity active
llm-inference machine-learning deep-learning large-language-models deep-learning machine-learning developer-tools c cli cross-platform cpu-inference mixture-of-experts linear-attention quantization mxfp4 simd avx2 zero-dependencies transformer memory-efficient from-scratch systems-programming linux
1 source
- readme: https://github.com/FareedKhan-dev/kimi-k3-in-c · fetched 2026-08-28 · 447c3a05f2cb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| FareedKhan-dev/kimi-k3-in-c | main | 79 |
For agents
markdown · JSON · MCP: product_card(name="FareedKhan-dev/kimi-k3-in-c")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem