How to Run Moonshot AI Kimi Locally on Windows
In this article
You can run a Kimi model locally on Windows, but not the full Kimi chat service you use on the web. Moonshot AI publishes open-weight Kimi models (the Kimi K2 and Kimi K1.5 families) on Hugging Face, and those weights can be downloaded and served on your own PC with tools like Ollama or llama.cpp. What you get is a text model that runs offline; what you do not get is the hosted Kimi assistant, its web search, file uploads or long-context cloud features. The practical path for most Windows users is Ollama, because it handles the download, quantization and a local API for you.
Before you start, be realistic about hardware. The open Kimi models are large. The full-precision weights are hundreds of gigabytes and need a multi-GPU server, so on a normal desktop you will run a quantized version (for example a 4-bit GGUF) or a smaller distilled variant. A machine with 16 GB of RAM can run a small distilled model; 32 GB or more plus a recent GPU with 12-24 GB of VRAM is a much better experience. If your PC cannot fit the model, it will either refuse to load or crawl along using system RAM.
What You'll Need
- A Windows 10 or Windows 11 PC (64-bit).
- At least 16 GB of RAM for small quantized models; 32 GB or more for larger ones.
- Optional but strongly recommended: an NVIDIA GPU with current drivers, or a recent AMD GPU, to speed up inference.
- Enough free disk space: tens of gigabytes for small quantized models, far more for full-size weights.
- Ollama for Windows, downloaded from the official site (ollama.com).
- A stable internet connection for the initial model download.
Step-by-Step
- Check your hardware first. Open Task Manager (Ctrl+Shift+Esc), go to the Performance tab, and note your RAM and GPU memory. This tells you which model size you can realistically run. If you have 16 GB of RAM and no dedicated GPU, plan on a small distilled model rather than a full Kimi K2 build.
- Install Ollama. Go to ollama.com and download the Windows installer. Run it and accept the defaults. Ollama installs as a background service and adds a command-line tool. Menu labels in the installer are minimal, so just follow the prompts.
- Confirm the install. Open Command Prompt or PowerShell and run
ollama --version. If you see a version number, the tool is on your PATH and ready. - Find a Kimi model tag. Ollama's library lists models by name. Search the Ollama library site for Kimi to see which Kimi variants are published there. If a Kimi tag is not listed in Ollama's library, you can still run a GGUF build from Hugging Face, but that requires the manual route in the next steps.
- Pull the model. In Command Prompt, run
ollama pull <model-name>, replacing the placeholder with the exact tag from the library. The download can take a long time and several gigabytes of disk. Do not close the window. - Run it. Start a chat with
ollama run <model-name>. Type a prompt and press Enter. The first response is slower because the model has to load into memory; later responses are faster. - Use the manual GGUF route if needed. If the Kimi build you want is only on Hugging Face, download the GGUF file (choose a Q4 or Q5 quantization for a balance of quality and size) and place it in a folder. Then either import it with an Ollama Modelfile or use a llama.cpp Windows build. A minimal Modelfile contains a
FROMline pointing at the GGUF path; create it with Notepad, save without a .txt extension, then runollama create kimi-local -f Modelfileandollama run kimi-local. - Connect a chat interface (optional). Ollama exposes a local API on port 11434. Desktop chat front-ends that support OpenAI-compatible endpoints can point at
http://localhost:11434to give you a nicer window than the terminal. - Test offline. Disconnect your network and send a prompt. If it still answers, the model is running entirely on your machine.
Common Mistakes
The most common mistake is downloading the largest available weights and expecting them to run on a laptop. Full Kimi K2 weights are not a desktop download; pick a quantized or distilled build. Another frequent error is confusing the hosted Kimi assistant with the open weights: the local model has no web browsing, no file uploads and no cloud memory, so prompts that rely on those will fail. People also skip the GPU driver update and then wonder why the model runs on the CPU at a few tokens per second. Finally, saving a Modelfile with a .txt extension causes Ollama to reject it; make sure file extensions are visible in File Explorer and the file is named exactly Modelfile.
Tips
Start with the smallest quantization that gives acceptable quality and move up only if you have headroom. Close other memory-hungry apps such as browsers with many tabs before loading a model. Keep an eye on Task Manager while the model loads to see whether it is fitting in VRAM or spilling into system RAM. If you use a GGUF file, prefer Q4_K_M or Q5_K_M builds as a sensible default. Store models on a drive with plenty of free space, and remember that deleting a model with ollama rm <model-name> frees the disk but means re-downloading later.
Troubleshooting
If ollama is not recognized, close and reopen the terminal so the PATH refreshes, or reinstall. If the model loads very slowly or the PC becomes unresponsive, the model is too large for your RAM; stop it and switch to a smaller quantization. If you get out-of-memory errors, close other apps and try a smaller build. If responses are extremely slow, check whether a GPU is being used; updating the graphics driver often fixes detection. If a pull fails partway, rerun the same pull command and it will resume. If the manual Modelfile import fails, check the FROM path is absolute and the file extension is correct. As a last resort, uninstall Ollama, delete its model folder to reclaim space (this deletes downloaded models), and start fresh.
Frequently Asked Questions
Can I run the full Kimi K2 model on a normal Windows PC?
No. The full weights are far too large for consumer hardware. You run a quantized or distilled variant instead.
Does the local model have Kimi's web search and file upload features?
No. Those are features of the hosted service. The local model is text generation only unless you build extra tooling around it.
Do I need a GPU?
Not strictly, but CPU-only inference is slow for large models. A GPU with enough VRAM makes a big difference.
Is running Kimi locally free?
The open weights are published for download, and Ollama is free to install. You pay only in hardware and electricity.
Can I use it offline?
Yes, once the model is downloaded and loaded, it runs without an internet connection.
Where should I get the model files?
From Moonshot AI's official Hugging Face repository or the Ollama model library. Avoid third-party repacks.