Kimi K3.1 Pro Weights Are Out: Here’s What You Actually Need to Run Them
Moonshot AI just dropped the Kimi K3.1 Pro model weights on Hugging Face (moonshotai/Kimi-K3.1-Pro), and the HN thread hit 474 points in hours — mostly people asking the same question: “Can I run this on my hardware?” The short answer: the full-precision checkpoint is a datacenter-class model, but the community has already started shipping quantized variants that fit on consumer and prosumer rigs. This guide gives you the real VRAM math, the exact download and serving commands, and the workarounds for the errors you’ll hit in the first hour.
Before you download anything, check the model card’s config.json and file sizes on the Hugging Face repo. Moonshot lists the parameter count, context length, and dtype there. Do not trust third-party blog posts (including older Kimi K2 guides) for VRAM numbers — K3.1 Pro’s architecture and context window differ, and the KV-cache cost scales with context length, not just parameter count.
The VRAM Math: What Kimi K3.1 Pro Actually Costs
Local inference memory breaks down into three buckets: weights + KV cache + activation overhead. Here’s the practical breakdown by quantization tier (assuming a ~1T-class MoE checkpoint, which is what the K3.1 Pro release targets — verify the exact active-parameter count on the model card, since MoE models only load active experts per token but all weights must reside in memory):
| Quantization | Approx. Weight Size | Minimum GPU Setup | Notes |
|---|---|---|---|
| FP16 / BF16 | ~2 TB | 8×H100 80GB (NVLink) | Reference config; not practical for individuals |
| FP8 | ~1 TB | 4–8×H100/H200 | Best quality-per-byte for serving |
| INT4 / AWQ / GPTQ | ~500–600 GB | 8×A100 80GB or 4×H200 | Community quants appearing within days |
| 2-bit / IQ2 (GGUF) | ~250–300 GB | 4×RTX 6000 Ada (48GB) w/ offload | Quality degrades noticeably on reasoning tasks |
Key rule: if your total VRAM (across all GPUs) is less than the weight size plus ~15–20% for KV cache and activations at your target context length, you will OOM at load time — not at inference time. Plan for the headroom.
For a single RTX 4090 (24GB) or a Mac Studio: you cannot run the full K3.1 Pro checkpoint locally. Your realistic options are (a) the API, (b) a smaller Kimi variant, or (c) llama.cpp with aggressive offloading to system RAM, which will run at single-digit tokens/sec — fine for batch jobs, painful for chat.
Step-by-Step: Serving Kimi K3.1 Pro with vLLM
For multi-GPU rigs, vLLM is the fastest path to a working OpenAI-compatible endpoint.
- Install the right stack. Use a recent vLLM build (check the release notes for MoE kernel support matching K3.1’s architecture) inside a CUDA 12.x container. Pin
transformersto the version listed in the model card’s requirements — mismatches causeKeyErroron config load. - Download with
huggingface-cli. Usehuggingface-cli download moonshotai/Kimi-K3.1-Pro --local-dir ./kimi-k3.1-pro. Add--include "*.safetensors"to skip redundant files. The download is multi-hundred-GB; useHF_HUB_ENABLE_HF_TRANSFER=1for parallel transfers. - Launch the server. A starting command for an 8-GPU node:
Lowervllm serve ./kimi-k3.1-pro \ --tensor-parallel-size 8 \ --max-model-len 32768 \ --gpu-memory-utilization 0.92 \ --dtype bfloat16--max-model-lenfirst if you OOM — KV cache is allocated upfront based on this value. - Smoke-test the endpoint.
curlthe/v1/chat/completionsroute with a short prompt and confirm token throughput. If you see garbage output, your quantization format and kernel don’t match — re-check the quant repo’s README. - Tune batching. For throughput, raise
--max-num-seqs; for latency, keep it low. MoE models benefit from larger batches since expert routing amortizes better.
Common Issues and What You Should Know
CUDA out of memoryat startup: almost always--max-model-lentoo high orgpu-memory-utilizationabove 0.95. Drop context to 8K, confirm it loads, then scale up.- Slow first token: MoE expert loading and CUDA graph capture on first request. Warm up with a dummy prompt before benchmarking.
- GGUF path (llama.cpp): viable on 4×48GB cards with IQ2/IQ3 quants, but expect degraded multi-step reasoning. Test on your actual workload before committing.
- Cost comparison: renting 8×H100 on-demand runs roughly $20–30/hr on major clouds. For intermittent use, the hosted API is cheaper until you’re pushing serious volume — do the break-even math against your token throughput.
Frequently Asked Questions (FAQ)
Can I run Kimi K3.1 Pro on a single RTX 4090?
No. The checkpoint is far larger than 24GB even at 2-bit quantization. Use the API or a smaller Kimi model.
Is Kimi K3.1 Pro open source?
The weights are published on Hugging Face under Moonshot’s license — check the repo’s LICENSE file for commercial-use terms before deploying in production.
What’s the minimum GPU setup for the INT4 quant?
Realistically 8×A100 80GB or 4×H200, plus headroom for KV cache at your target context length.
Final Verdict
If you have a multi-GPU node or cloud budget, grab the FP8 weights and serve with vLLM — that’s the sweet spot for quality and throughput. If you’re on consumer hardware, don’t fight it: use the API for now and watch for smaller distilled variants. The weights being out matters most for teams that need data sovereignty and fine-tuning access — for everyone else, the hosted endpoint remains the pragmatic choice until quantized community builds mature.