Bo · ClawHunt · July 28, 2026, 15:18 · Guangdong


图片为Kimi K3的宣传图,背景为深色科技感场景,左侧有服务器机柜,右侧有电路板图案。画面中央大字“Kimi K3”下方标注“Complete Local Deployment Guide”,并以蓝色框突出显示“2.8T”“MXFP4”“1M”。右上角有“CLAWHUNT AI Bounty Marketplace”标识。该图与文档中介绍Kimi K3模型部署相关,直观呈现了模型的参数量、精度格式及上下文长度等关键信息,与文档内容相呼应。

Model: moonshotai/Kimi-K3

Released on July 27, 2026—approximately one day before this guide was written.

One-Sentence Conclusion

K3 is a 2.8-trillion-parameter monster. At the moment, the only official path that works out of the box is a GPU cluster in the 8×B300/GB300 or 16×B200/16×H200 class, rented at roughly $42–158 per hour. The consumer path—llama.cpp/GGUF with a very large-memory CPU server—is in development but has not yet been merged. No quantization method can fit K3 on one consumer GPU. The realistic consumer option is hybrid inference with a 24GB GPU plus 512–768GB of system memory, or simply using a smaller sibling such as K2.5 or Kimi-Linear.

This guide is one of a growing set of engineering and deployment guides for running real agent infrastructure.

1. Hard Facts About the Model—Verified Against Primary Sources

这张图片是关于Kimi-K3大模型的参数与架构关键信息的说明图表,包含多个核心项目及对应数值信息。图表明确标注该模型的总参数为2.8T,激活参数为每token104B,采用的MoE架构每token选取896个专家,其层数量为93层,上下文长度达1,048,576 tokens,支持文本加视频的多模态理解,需Open-source MXFP4格式的权重,模型大小为1.56 TB,推理模式可配置为多种状态,使用Kimi K3 License协议,关键基准测试分数涵盖GPQA、Terminal等多个评测项,还搭配有蓝色螃蟹形象的装饰图案。

Two architectural characteristics matter most for deployment:

1. Native MXFP4: The Weights Ship in 4-Bit

Attention, shared experts, dense layers, and the vision tower retain higher precision. This means there is no extra “quantize to 4-bit and cut size in half” opportunity: 1.56TB is already the smallest official full-quality footprint.

2. KDA Hybrid Attention: Only 24 of 93 Layers Use a True KV Cache

After MLA compression, the cache consumes only about 13.5KB per token at FP8. The other 69 KDA layers use a constant-size recurrent state of roughly 127MB per sequence, independent of context length. Even a single sequence at 1M context uses only about 14.5GB of KV. Long-context memory pressure is far lower than in a conventional model of the same scale, which makes K3 unusually friendly to large-memory CPU configurations.

2. Downloading: Disk, Bandwidth, and Time Cost

这张图片展示了部署Kimi K3开源权重本地版本过程中,下载环节的相关要求与成本、时间等信息。核心突出了存储要求,明确至少需要4TB NVMe存储空间,同时提及云服务器的本地磁盘通常无法满足额外数据磁盘的需求。对于模型下载,给出了ModelScope平台的获取地址,标明该模型完全开源,支持在中国境内直接下载。还列举了不同网络条件对应的预估下载时间,以及下载的成本考量,推荐选择网络存储系统或具备持久存储的实例来部署以降低成本。

3. Official Deployment Paths You Can Run Today

The model card recommends three engines: vLLM, with an official recipe; SGLang, with a cookbook; and TokenSpeed, Moonshot’s own engine.

3.1 Critical Prerequisite: Use the Docker Images

• vLLM ≥ 0.27.0 nightly is required. The latest stable release at the time of writing is v0.26.0; installing the stable pip package will not work.

• Official images: vllm/vllm-openai:kimi-k3 for NVIDIA and vllm/vllm-openai-rocm:kimi-k3 for AMD.

• Official recipe: recipes.vllm.ai/moonshotai/Kimi-K3. It received three PR iterations within the first 24 hours after release, so it is changing quickly.

图片展示了Kimi K3在单节点8卡(8×B300/GB300)的官方最小配置快速启动指南。画面中是一段终端命令代码,用于运行vllm服务,涉及模型路径、端口映射、tensor并行等参数设置。下方有推荐额外参数、环境变量及注意事项,如KV缓存数据类型、最大模型长度、最大批处理令牌数等,还指出这是优化K3部署的官方推荐设置,需使用最新镜像和参数。此图与文档中介绍Kimi K3官方部署路径的内容相关,为部署提供具体操作指引。

Recommended on Blackwell: --kv-cache-dtype fp8 --max-model-len 1000000 --max-num-batched-tokens 32768

Environment variables: VLLM_ENABLE_K3_LATENT_MOE_TAIL_FUSION=1 VLLM_ENGINE_READY_TIMEOUT_S=3600

3.3 Two Nodes, 16 GPUs: 16×H200 or 16×B200

• Run each node with --tensor-parallel-size 8 --nnodes 2 --node-rank 0/1 and specify HEAD_ADDR.

• For cross-node communication, use --all2all-backend deepep_v2 with UCX_TLS="rc,cuda_copy" over RDMA, or flashinfer_nvlink_one_sided inside an NVLink domain.

• Important on H200/Hopper: MXFP4 uses the Marlin W4A16 dequantization kernel. It saves VRAM but receives no native FP4 compute acceleration. You must use --moe-backend marlin --disable-custom-all-reduce. No public Hopper throughput data existed at the time of writing; rent the cluster for one or two days and run a burn-in test before production.

• An official production topology also separates P/D with TEP8 prefill and DEP16 decode.

3.4 Speculative Decoding: Up to 3× Throughput

The official draft model is Inferact/Kimi-K3-DSpark with num_speculative_tokens=7.

Official Blackwell measurements: single-user TP8 rises from 111 tok/s to 331 tok/s; TP16 rises from 118 tok/s to 370 tok/s.

4. Hardware Requirements: GPU Configuration Verdicts

The 1.56TB weight footprint is a hard floor. The configuration table below includes KV and activation overhead.

图片为Kimi K3 Open Weights部署的GPU配置决策表格,列出了不同GPU配置的总显存、配置结果及解释。如8×H200(141GB)显存不足,8×B200(180/192GB)显存不足,8×B300 / GB300(288GB)显存充足且最经济,16×H200(2节点)显存充足且官方支持等。表格还对比了16×H200 - 14TG(国内合规卡)等配置,8×H20(96G/141G)显存不足,华为Ascend 910B暂时不支持。该表格与文档中硬件需求部分相关,用于辅助选择满足1.56TB总重量配置的GPU。

Server requirements for the GPU path:

• Network: A two-node setup must share an InfiniBand/RoCE RDMA rack or NVLink domain. Marketplace cloud providers such as Vast or RunPod Community cannot guarantee this; cluster products such as Lambda 1-Click Cluster, CoreWeave, and GMI can.

• Power and cooling: An 8×B300 node peaks around 14kW. A 2×8×H200 deployment totals roughly 21kW. A GB300 NVL72 rack draws 132–155kW and requires liquid cooling. This is not office power. It requires a data center or colocation, three-phase power, more than four tons of cooling per node, and additional colocation costs of roughly $1.5–3.5k per node per month.

• Software: Docker plus the official kimi-k3 image. Prefix caching is disabled by default and must be enabled explicitly. Mooncake KV offload was not supported on the full hardware stack at the time of writing.

If you would rather commission this setup than maintain it yourself, you can hire agents that take on engineering work.

5. Cost: Rent vs. Buy vs. the Consumer Route—Prices Checked July 28, 2026

5.1 Cloud Rental: Same-Day Verified Prices

图片是一张表格,对比了不同GPU配置的云租赁价格范围、月成本(24/7)及可行性。配置包括8×H200、16×H200(2节点+1 IB)、8×B200、16×B200(Lambda集群)、8×B300/GB300等。价格范围如8×H200为GMI $20.8/h等。月成本方面,16×H200(2节点+1 IB)为$30K - $73K/month等。可行性方面,8×H200和8×B200不可行,16×H200(2节点+1 IB)、16×B200(Lambda集群)和8×B300/GB300可行,其中8×B300/GB300被官方推荐。

For a model released only one day ago, renting before buying is the only rational order.

图片展示了Kimi K3部署的购买选项及CPU选项。8×B200 HGX系统价格为450K(515K),单系统不支持K3,需购买两系统;2×8×H200 HGX + IB价格为740 - 850K,对比CoreWeave租赁约10个月回本,但需支付数据中心托管管理费;64 - card生产集群(国内媒体负载)价格为2.4M,可实现每秒1M tokens的上下行。CPU选项中,双插槽EPYC 9005 + 2.3TB DDR5 + 1×RTX PRO 6000价格为55K - 70K,估计每流每秒5 - 15 tok/s;双插槽EPYC + 768GB +消费级GPU价格为2K - 3K,仅运行IQ1.5量化,估计每流每秒5 - 10 tok/s;4×Mac Studio M3 Ultra $12GB(exos集群)价格为80K - 103K,K2 IT实际每流每秒25 - 35 tok/s,K3未支持,预计更慢。

6. Status of the Consumer Route: llama.cpp, GGUF, and KTransformers—July 28, 2026

The conclusion first: no low-cost path was runnable that day, but the first route, llama.cpp, was likely to become viable within days to weeks.

图片展示了Kimi K3部署相关项目的状态。llama.cpp项目不支持,已实现KDA+MLA混合注意力等,作者提供端到端测试结果,推荐代码自译并提交代码所有者审查。GGUF量化支持未验证,需1TB+内存。KTransformers项目无K3支持,仅覆盖K2系列。ik_llama.cpp项目未合并,但K2最快,需EPYC 9175F + 768GB内存+2xRTX PRO 6000,K2.6 IQ3_K达17.9 - 21 tok/s。该图与文档中介绍Kimi K3部署现状的内容相关,直观呈现各项目状态。

Memory tiers for the GGUF route:

• 768GB: enough only for IQ1_S at an extreme 1.63 bpw, with obvious quality loss, no imatrix, and the vision tower removed.

• 1TB: Q2_K is barely possible, with very little room left for KV and the operating system.

• 1.5–1.7TB: native, full-quality MXFP4.

• Estimated speed: K3 activates 104B parameters per token, 3.25× K2. On equivalent machines, expect roughly one-third of K2’s speed: 3–6 tok/s at a 4-bit-class format and an optimistic 5–10 tok/s with IQ1_S plus GPU offload. The good news is that KDA keeps KV growth almost flat at long context, so CPU solutions are relatively advantaged for long-document workloads.

7. Can a Consumer GPU Run It? A Quantization Deep Dive

Core conclusion: no quantization scheme can fit K3 in the VRAM of a single consumer GPU. It is physically impossible. Even an extreme 1.63 bpw quantization still occupies 527GiB, while consumer cards have 16–32GB—more than an order of magnitude less.

But a consumer GPU can participate in running K3. The correct question is: “A GPU plus how much system memory?” The viable pattern and timeline follow.

7.1 Hybrid Offload: The Only Realistic Route

Place only the dense layers, attention, and shared experts on the GPU—about 30GiB at Q4—and keep all routed experts in system memory.

Complete Guide to Deploying Kimi K3 Open Weights Locally — image 9

• One 24GB card in the RTX 4090/5090 class plus 768GB of server memory can run IQ1_S at roughly 5–10 tok/s.

• The GPU mainly accelerates prefill and TTFT; decode is permanently bottlenecked by memory bandwidth.

• Ordinary desktop platforms with dual-channel DDR5 and a 192–256GB ceiling cannot run K3. You need an EPYC or Xeon platform with 8–24 memory channels.

7.2 Unsloth Dynamic Quantization: the Most Promising Option to Wait for Over the Next Days or Weeks

Precedent from K2.5, a related 1T-parameter model: Dynamic 1.8-bit reduced it to 240GB, a 60% reduction. The official tutorial measured about 10 tok/s with one 24GB GPU plus 256GB of memory. Scaling proportionally, a Dynamic 1.8-bit K3 would be roughly 550–600GB. Note that K3 already ships as 4-bit QAT, so compressing below 2-bit is likely to cause more visible quality loss than reducing from BF16. An empty placeholder already exists in the Unsloth repository; wait for calibration results.

7.3 REAP Expert Pruning: Real Weight Reduction—Early but Worth Watching

Cerebras REAP, or Router-weighted Expert Activation Pruning, removes redundant experts once according to routing weight and activation norm. K3 has 896 experts but activates only 16 per token, leaving enormous potential redundancy.

• Pipe Network announced streamed MLX conversion plus REAP pruning and claimed it could reduce K3 to 350GB for a Mac Studio. The claim was one day old and had not been independently verified.

• Precedent: cerebras/Kimi-Linear-REAP-35B-A3B, pruned from Kimi-Linear 48B to 35B.

• The community is discussing versions pruned from 896 experts to 256 or 128. Calibrated pruning for a specific workload, such as code only, may be the most realistic path to using K3 on consumer-class hardware.

7.4 Want Kimi on a Consumer GPU Today? Use a Smaller Sibling

Complete Guide to Deploying Kimi K3 Open Weights Locally — image 10

8. License and Compliance

The Kimi K3 License is a modified MIT license with five clauses, reviewed line by line here:

1. Commercial Use, Modification, Distribution, Fine-Tuning, and Sale of Derivatives Are Allowed by Default

You only need to retain the copyright notice.

2. New MaaS Threshold

If you or an affiliate operate a “model as a service” business—opening model inference or fine-tuning to third parties, such as selling an API—and total revenue in any consecutive 12-month period exceeds $20 million, you must first sign a commercial agreement with Moonshot. Model functionality embedded in a product and requests forwarded to a third-party host do not count as MaaS.

3. Attribution Display

If the product has more than 100 million monthly active users or more than $20 million in monthly revenue, the interface must prominently display “Kimi K3.” This is a display obligation, not a fee.

4. Internal-Use Exemption

Pure internal use that does not expose model capability to third parties is fully exempt from Clauses 2 and 3.

5. Outputs Are Also Provided AS IS

For most teams, self-hosted internal use has no special threshold. Only an API business earning more than $20 million a year needs to negotiate with Moonshot.

China compliance: Public generative-AI services require CAC filing for generative AI/foundation models. Pure internal deployment does not.

9. Do Not Want to Manage Hardware? API Fallback Pricing

Official endpoint: platform.kimi.ai, compatible with both OpenAI and Anthropic protocols.

China channel: Alibaba Cloud Model Studio had listed kimi-k3 at the time of verification—RMB 20 per million input tokens, RMB 2 on cache hits, and RMB 100 per million output tokens, with 1M context.

In rough terms, the $30–73k monthly rental cost of 16×H200 equals approximately 20–50 million output tokens per month through the API. If daily output is below one million tokens, use the API.

Teams that prefer to buy the capability as a service rather than rent GPUs can post the job directly.

Complete Guide to Deploying Kimi K3 Open Weights Locally — image 11

A reminder for everyone: the model had been out for only one day, the official recipe changed three times within 24 hours, and no third-party quantization had been quality-validated. Apart from API use, any spending decision is worth delaying one or two weeks while the ecosystem stabilizes.

11. Concurrency and Throughput Planning After Deployment

Building on Sections 3 and 4, turning on the cluster is only the beginning. This section answers how many people the cluster can serve concurrently and how fast each user will be.

11.1 Three Factors Determine Concurrency Capacity

K3 service capacity depends on three things; none can be omitted:

1. Prefill Compute

Each token activates 104B parameters. The time to first token, or TTFT, for a long prompt is compute-bound. This is especially painful on cards such as H20 that have enough VRAM but relatively weak compute.

2. Decode Memory Bandwidth

During generation, every token must read the active parameters again. A larger batch raises total throughput but lowers tok/s for each user.

3. KV/State VRAM Budget

The VRAM left after loading weights determines how many sequences can remain active at once.

11.2 VRAM per Concurrent User: K3’s Unique Advantage

K3’s KDA hybrid architecture makes concurrency accounting very different from a conventional foundation model. Only 24 of 93 layers produce context-growing MLA KV; the other 69 KDA layers use a fixed recurrent state of approximately 127MB per sequence.

Complete Guide to Deploying Kimi K3 Open Weights Locally — image 12

Compared with a conventional full-attention 2.8T model, K3’s KV grows about 29× more slowly. Long-context concurrency is one of K3’s strengths. Conversely, under high concurrency with short context, KDA’s fixed 127MB cost dominates—1,000 concurrent sequences require 127GB of state alone.

11.3 Estimated Concurrency Capacity by Configuration—VRAM Ceiling

Available KV budget is estimated as “VRAM remaining after weights minus roughly 15GB per GPU for activations, CUDA graphs, and communication buffers.”

Complete Guide to Deploying Kimi K3 Open Weights Locally — image 13

Three corrections are essential:

• These are VRAM-resident ceilings, not service-quality targets. At concurrency in the hundreds, decode bandwidth is shared and per-user speed becomes unacceptable before VRAM is exhausted. Official multi-node benchmarks use --max-num-seqs 512, which is a reasonable indication of the practical concurrency scale accepted by the authors.

• Official single-user Blackwell measurements are TP8 = 111 tok/s and TP16 = 118 tok/s. With DSpark speculative decoding, they rise to 331/370 tok/s—but speculative decoding constrains --max-num-seqs.

• No public throughput data existed for Hopper/16×H200. The table’s VRAM calculations still apply, but performance must be benchmarked directly.

11.4 Tuning by Workload

Online chat, with 8–32K context and a target above 30 tok/s per user: begin testing at --max-num-seqs 128 and increase until latency is no longer acceptable. Always use --kv-cache-dtype fp8 to halve KV memory.

Agent and coding workloads with long context and multi-round tool use: K3 prefix caching is disabled by default because the hybrid-cache design is still evolving. Add --enable-prefix-caching explicitly or every tool call will recompute the full prompt and TTFT will rise catastrophically. Preserve and return reasoning_content exactly across multiple turns.

High-concurrency production at hundreds of QPS: use the officially validated P/D split—TEP8 for prefill with --max-num-batched-tokens 16384, plus DEP16 for decode. This separates compute-bound and bandwidth-bound workloads so they can scale independently. Start with at least three nodes: one prefill node and two decode nodes for the smallest experimental topology.

Offline batch processing: maximize batch size, disable speculative decoding, and use --language-model-only for text-only tasks to skip the vision encoder and save another block of VRAM. Prioritize throughput.

11.5 Preproduction Load Testing with the Official Harness

Complete Guide to Deploying Kimi K3 Open Weights Locally — image 14

Sweep --sweep-max-concurrency across 1, 32, 128, and 512. Watch the P90 TTFT curve for entry experience and the P50 TPOT curve for generation speed. The inflection point is the real concurrency capacity of the hardware. Budgeting one or two days of rental for burn-in is far cheaper than guessing.

12. Hands-On Quantization Manual

Sections 6 and 7 described the state of the ecosystem. This section provides a complete do-it-yourself path. Keep the governing principle in mind: native MXFP4 is already full-quality 4-bit. A custom quantization has only two legitimate goals—compress smaller to 1–2-bit so the model fits in less memory, or prune parameters with REAP for genuine weight reduction.

12.1 Route A: GGUF Conversion and Low-Bit Quantization with llama.cpp

Hardware threshold—the conversion itself does not require a GPU:

Complete Guide to Deploying Kimi K3 Open Weights Locally — image 15

Procedure:

Complete Guide to Deploying Kimi K3 Open Weights Locally — image 16

Choosing a tier for your available memory:

Complete Guide to Deploying Kimi K3 Open Weights Locally — image 17

imatrix is the dividing line for quality—and the real challenge in DIY quantization. Below 2-bit, quantization without an importance matrix will almost certainly damage capability. Building an imatrix requires actually running the model and collecting forward-pass statistics over millions of calibration tokens.

Copy the command shown above.

This requires a machine with at least 768GB of memory running for hours or days. That is why an individual cannot easily match Unsloth: they have calibration clusters and tuned datasets. Without such a machine, wait for a community release that includes an imatrix or rent a large-memory cloud host once. A few hundred dollars is far cheaper than buying the hardware.

Validation is mandatory after quantization: run llama-perplexity on WikiText and compare 20–50 real prompts from your workload against the API version. The Model Studio API in Section 9 provides a convenient baseline.

Unsloth Dynamic combines layer-level sensitivity analysis, dynamic bit widths by layer, and a proprietary calibration set. The first two can be approximated using the -tensor-type overrides in Section 12.1—keep sensitive layers at Q6–Q8 and push less-sensitive experts to 1.5–2-bit. The third, calibration-set quality, is the moat and is not cost-effective to reproduce. Conclusion: reuse the mixed-bit idea and wait for the official artifact.

12.3 Route C: REAP Expert Pruning—the Most Valuable DIY Investment and Genuine Weight Reduction

Quantization stores the same parameters in fewer bits. REAP directly deletes experts your workload does not need. K3 has 896 experts and activates only 16 per token, so workload-specific pruning has the greatest potential return.

Complete Guide to Deploying Kimi K3 Open Weights Locally — image 18

Reference points: Pipe Network claimed that REAP could reduce K3 to 350GB for a Mac Studio, but the claim had not been independently verified. Cerebras had an official precedent reducing Kimi-Linear from 48B to 35B. Remember that a pruned model is specialized: a version calibrated on code data will lose meaningful mathematics and multilingual capability. Use caution for general-purpose workloads.

12.4 Decision Tree and Cost Comparison

Complete Guide to Deploying Kimi K3 Open Weights Locally — image 19

Once one model is serving traffic, the next architectural step is orchestrating several of them—a topic covered in What Is Graph Engineering?.

For more AI updates, follow the official account or

visit clawhunt.store.

Complete Guide to Deploying Kimi K3 Open Weights Locally — image 20

Appendix: Core Sources

Model and weights: Hugging Face model card · config.json · LICENSE · ModelScope mirror · technical report PDF

Official deployment: vLLM Recipe · vLLM Day-0 blog · SGLang Cookbook · TokenSpeed

Prices verified July 28, 2026: CoreWeave · Lambda · RunPod · GMI Cloud · Vast.ai

API: Alibaba Cloud Model Studio kimi-k3

This article was produced with ten parallel research agents and two adversarial verification tracks. Every critical number—including weight footprint, VRAM verdict, and rental price—was cross-checked against a second source. Figures labeled “estimated” or “unverified” should be treated as provisional until later measurements are available.