HAMMAD YOUSUF

AI AGENTS

4 min read · 2026-11-01

Kimi K3 on 8GB RAM with no GPU: how kimi-k3-in-c runs a 2.78T model locally

Kimi K3 on 8GB RAM with no GPU: how kimi-k3-in-c runs a 2.78T model locally

TL;DR

kimi-k3-in-c, a free Apache-2.0 C engine by Fareed Khan, runs Moonshot AI's 2.78T-parameter Kimi K3 at an 8.24 GB RAM peak with no GPU. About 93% of the 1.56 TB checkpoint is routed experts, and each token reads only 16 of 896 per layer, so the experts stay on a fast SSD. Output is byte-identical from 8 GB to 224 GB of RAM: memory changes the speed, not the answer. The cost moves to disk: about 1.7 TB free, hours of download, about 30 seconds per token on a fast server and nearly 16 minutes per token on an 8 GB Jetson with a hard drive. It is a proof of concept, not an everyday app.

Kimi K3 on 8GB RAM is real, with no GPU, but only because almost none of the model sits in memory. kimi-k3-in-c, a free, open-source C engine by Fareed Khan (Apache-2.0), runs Moonshot AI's 2.78-trillion-parameter Kimi K3 at an 8.24 GB RAM peak by keeping the model's experts on a fast SSD and streaming the dense layers from disk one at a time. The output is byte-identical from 8 GB to 224 GB of RAM, so more memory changes the speed, not the answer. The catch is everything else: about 1.7 TB of free disk, hours of download and about 30 seconds per token on a fast server. Every number here was checked against the repo and the Hugging Face model card on 23 October 2026. The presenter in the reel is an AI avatar of Hammad; the words and facts are his.

The 62-second reel: 2.78T parameters, 0 GPUs, 8 GB RAM, and the disk catch. Watch on Instagram

What Kimi K3 is and why it is 1.56 TB

Kimi K3 is Moonshot AI's open-weight model: 2.78 trillion parameters, with 104 billion active per token. It is a mixture-of-experts model with 896 routed experts per layer, of which each token uses 16, plus 2 shared experts. The checkpoint on Hugging Face is 96 safetensors shards totalling 1.56 TB, it is not gated, and about 93% of those bytes are routed experts. The weights are free to download under Moonshot's own Kimi K3 License, which is a custom license rather than an OSI-approved one, so the accurate phrase is open weights, not open source. The engine that runs it, kimi-k3-in-c, is Apache-2.0.

How kimi-k3-in-c fits 2.78T parameters in 8 GB

The trick is which bytes stay in RAM. Because each token only touches 16 of 896 experts per layer, the engine leaves the experts parked on disk and reads just the ones a token needs, through an LRU cache. The 93 dense layers are packed into one 109 GB trunk file and streamed in one layer at a time, which turns the RAM requirement into a dial. The engine itself is portable C99 with no BLAS, no ML framework and no GPU path; its only build dependencies are a C compiler, libm and OpenMP. The measured peak at the laptop preset was 8.24 GB, and the same prompt produced byte-identical output across every memory budget from 8 GB to 224 GB.

Kimi K3 hardware requirements, the honest version

The memory wall did not vanish; it moved to your disk. You need about 1.7 TB free on fast local NVMe: the 1.56 TB checkpoint plus the 109 GB packed trunk. The download alone is about 3.5 hours at 1 Gbps and about 35 hours at 100 Mbps. At the 8 GB budget the engine reads about 135 GB from disk for every token, which is why disk speed sets the pace. The CPU needs x86-64 with AVX2 and FMA, or ARM64 with NEON, and the doctor script only suggests the laptop preset when about 10 GB of RAM is available. Smaller machines fall back to the ultra preset, which fits in about 3 GB and is much slower. Builds work on Linux, macOS (with brew install libomp) and Windows via MSYS2 since v1.1.0 on 2 October 2026.

How fast it really is: 30 seconds per token, or 16 minutes

ONE TACTIC A WEEK

One tactic a week. No filler.

All the headline speeds come from the author's own runs on a 124-core server with fast NVMe and its RAM capped at 8 GB, not from a laptop. On that machine a token took 26.5 to 32.7 seconds at the 8 GB budget. Going from 8 GB to 224 GB of RAM, 28 times more memory, bought only 1.7 times the speed, because disk wait was 41 to 61 percent of wall-clock time at every budget. The one single-board proof is an NVIDIA Jetson Orin Nano Super with 8 GB and an external hard drive: one token, the word Paris, took about 949 seconds, which is 15 minutes 49 seconds. The first token also takes much longer because the pinned layers load once.

What it will not do

This is a proof of concept, not an app. It is text only: no vision, no tools and no HTTP server. There is no quality benchmark; the full-model logit match against PyTorch was run on a junk prompt, and the author says so. If you just want to use Kimi K3, the hosted API is about $3 per million input tokens and $15 per million output tokens from Moonshot and providers such as Together and Fireworks. Ollama and LM Studio offer Kimi K3 cloud-only. llama.cpp runs it locally from Unsloth GGUF files of 594 GB to 1.56 TB, but those want roughly that much RAM plus VRAM. For a UAE business the interesting part of the local route is privacy: prompts stay on your own machine instead of going to another company's servers.

The setup steps from the README

Clone the repo and run make -j, then make test, which needs no weights or network and should end with ALL WEIGHTLESS TESTS PASSED; that is the only step a normal laptop can finish. Run ./scripts/k3-doctor.sh to check your toolchain, RAM and disk speed and get a preset suggestion. Install the Hugging Face CLI with pipx install huggingface_hub, then ./scripts/download-model.sh ~/k3model pulls the 1.56 TB, and ./scripts/pack-trunk.sh ~/k3model ~/k3trunk builds the 109 GB trunk in about 4 minutes. The first run is ./bin/k3 ~/k3model --trunk ~/k3trunk --preset laptop --tok ~/k3model --prompt "The capital of France is" --gen 8 --incremental. My safe rule: check your disk, not your RAM, because you need about 1.7 TB free before you download a single byte.

Get the full setup guide

The free guide at withhammad.com/resources/kimi-k3-on-8gb-ram has the verified numbers, the hardware checklist and all seven steps from the README. On Instagram, comment BYTES on the reel and the guide link arrives by DM (follow @withhammad.ai first so the DM reaches you).

If this is useful, see what Claude Duet is and who can get it and how to reverse-engineer a feature with Claude Code and REA.

Hammad Yousuf

AI Marketing Automation Engineer · Dubai, UAE

FAQ

Common questions

Can Kimi K3 really run on 8GB of RAM without a GPU?

Yes, as a proof of concept. kimi-k3-in-c ran the 2.78T model at an 8.24 GB RAM peak with no GPU, measured on a server with its RAM capped at 8 GB. Output was byte-identical from 8 GB to 224 GB of RAM.

What are the Kimi K3 hardware requirements for kimi-k3-in-c?

About 1.7 TB free on fast NVMe (1.56 TB checkpoint plus a 109 GB packed trunk), x86-64 with AVX2 and FMA or ARM64 with NEON, about 10 GB of RAM available for the laptop preset, and hours of download time.

How fast is Kimi K3 on 8GB of RAM?

About 26.5 to 32.7 seconds per token on a 124-core server with fast NVMe. On an 8 GB Jetson Orin Nano with a hard drive, one token took nearly 16 minutes. Disk speed sets the pace.

Is Kimi K3 open source?

The weights are open and free to download under Moonshot's custom Kimi K3 License, which is not OSI-approved, so open weights is the accurate term. The kimi-k3-in-c engine is Apache-2.0 open source.