{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "fareedkhan-dev-kimi-k3-in-c--run-kimi-k3-batch-completion-on-8gb-laptop",
 "repo": "FareedKhan-dev/kimi-k3-in-c",
 "repo_url": "https://github.com/FareedKhan-dev/kimi-k3-in-c",
 "repo_slug": "fareedkhan-dev-kimi-k3-in-c",
 "title": "Run Kimi K3 text completions on an 8 GB laptop",
 "page_title": "How to run Kimi K3 text completions on an 8 GB laptop with Kimi K3 in C",
 "summary": "Generate a short continuation with the full 2.78T model on one CPU, streaming weights from disk.",
 "who": "A developer or researcher with a laptop of about 8 GB of RAM who wants to see the largest open model run locally, with no GPU.",
 "problem": "Frontier-scale models normally need GPU clusters, so most people cannot run them at all.",
 "outcome": "The model produces a correct short continuation, and the run reports peak memory near 8.24 GB, at a slow pace of about 30 s per token.",
 "steps": [
  "Build the engine from the repo with a C99 compiler. (inferred, check the README)",
  "Download the checkpoint with download-model.sh, with HF_TOKEN set in the environment. (inferred, check the README)",
  "./bin/k3 --list-presets",
  "./bin/k3 ~/k3model --trunk ~/k3trunk --preset laptop --tok ~/k3model --prompt \"The capital of France is\" --gen 8 --incremental"
 ],
 "agent_prompt": "In the repo FareedKhan-dev/kimi-k3-in-c, run the laptop preset with --trunk <trunk_dir> and checkpoint directory <checkpoint_dir>, using the prompt \"The capital of France is\" and --gen 8 --incremental. Expect generated text and a PEAK RSS line. Verify that the reported peak RSS stays near 8.24 GB.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "1 h 0 min (excludes the checkpoint download)",
 "basis": "readme",
 "caveat": "The README calls the 8 GB path a proof of life, not an interactive preset, so expect roughly 26 to 33 seconds per token on a laptop.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "c",
 "requirements": [
  "A checkpoint directory of .safetensors shards (1.56 TB on disk for the released checkpoint)",
  "A packed trunk directory, created in a step the README excerpt does not show",
  "tiktoken.model and tokenizer_config.json in a directory, for text input",
  "A machine with a C toolchain for the portable C99 build (build steps are not in the excerpt)",
  "An HF_TOKEN environment variable if you use download-model.sh"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/fareedkhan-dev-kimi-k3-in-c/run-kimi-k3-batch-completion-on-8gb-laptop/",
 "md": "https://dedupedai.com/use-cases/fareedkhan-dev-kimi-k3-in-c/run-kimi-k3-batch-completion-on-8gb-laptop/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/fareedkhan-dev-kimi-k3-in-c--run-kimi-k3-batch-completion-on-8gb-laptop.json",
 "api_version": "v1"
}
