⌘K
← All AI Models

Can you run Kimi K2.7 Code locally?

Kimi family · 2026 · 1.03T parameters (32B activated per token) · Hugging Face model card

Kimi K2.7 Code is a mixture-of-experts coding model with 32B activated parameters per token and ~1T total open weights (official card: Total Parameters 1T / Activated Parameters 32B; HF safetensors.total=1,026,879,376,368). Native context is 262,144 tokens (card: 256K). License is other (Modified MIT per repository). Local VRAM fit uses the 32B active count, not the 1T dense-equivalent: roughly 24 GB at Q4-class (calculated). Weights still occupy ~1T-class disk. Measured speeds: not yet published here.

Minimum: 24 GB+ memory (Q4-class on 32B active, calculated)  ·  Recommended: 24 GB+ for comfortable context headroom (Q4-class on 32B active, calculated)

Parameters (total)
1.03T
Activated per token
32B (MoE)
VRAM at Q4_K_M (4k ctx, fully resident)
677.7 GB
Active weights/token (MoE offload)
21.1 GB — slower; see Can it run
Context window
262,144 tokens
Architecture source
HF config.json (verified)

How much VRAM does Kimi K2.7 Code need at each quantization?

Kimi K2.7 Code needs 677.7 GB of VRAM at Q4_K_M to hold every weight — for MoE models that includes all experts. The table below lists weights-only size and total VRAM including overhead for each common quantization level with 4k and 32k token contexts.

QuantizationBits / weightWeights onlyTotal + KV @4k ctxTotal + KV @32k ctx
Q4_K_M 4.8 616.1 GB 677.7 GB 677.7 GB
Q5_K_M 5.7 731.7 GB 804.8 GB 804.8 GB
Q6_K 6.6 847.2 GB 931.9 GB 931.9 GB
Q8_0 8.5 1,091.1 GB 1,200.2 GB 1,200.2 GB
FP16 16 2,053.8 GB 2,259.1 GB 2,259.1 GB

MLA qk_nope=128 qk_rope=64 v=128 (text_config)

Method: weights = parameters × bits-per-weight (Q4_K_M ≈ 4.8, Q5_K_M ≈ 5.7, Q6_K ≈ 6.6, Q8_0 ≈ 8.5, FP16 = 16), plus 10% loading overhead, plus KV cache from the verified architecture config (61 layers, 64 KV heads, head dim). Source: HF-verified 2026-09-28 via api (gated=false private=false params=1026.88B safetensors.total=1026879376368 downloadable_safetensors_sum=595177988208 ctx=262144 license=other repo=moonshotai/Kimi-K2.7-Code@74797c9c62378b951a1f6fcf5c4631024e9b8bef layers=61 kv_heads=64). MoE: num_experts=384 num_experts_per_tok=8 active_params_b=32.0 (vendor card; VRAM fit uses active, not dense-equivalent). VRAM figures are documented calculations, not measurements. No tok/s invented.

Which GPUs can run Kimi K2.7 Code locally?

At Q4_K_M with a 4k context, Kimi K2.7 Code needs 677.7 GB of VRAM fully resident. The lists below are computed live from our GPU database and grouped by how much headroom the card has. Disclosure: CompareAIHardware.com participates in the Amazon Associates program and earns from qualifying purchases through links on this page. Affiliate relationships do not influence our recommendations.

Needs 2+ GPUs to run Kimi K2.7 Code

One of these cards is too small on its own, but a pair (tensor or pipeline parallel, ~90% efficiency) covers the 677.7 GB requirement. See our multi-GPU guide for setup.

GPUVRAMBandwidthType
AMD Instinct MI430X 432 GB ×2 23300 GB/s Data Center GPU
AMD Instinct MI455X 432 GB ×2 23300 GB/s Data Center GPU
Intel GPU D270 480 GB ×2 — Data Center GPU

Frequently asked questions

Related models

  • Kimi K2.5 — 1026.9B parameters, VRAM requirements and GPU fit.
  • Kimi K2.6 — 1026.9B parameters, VRAM requirements and GPU fit.
  • MiMo V2.6 Pro RL — 1024.2B parameters, VRAM requirements and GPU fit.
  • Tencent Hy4 (preview) — 780B parameters, VRAM requirements and GPU fit.
  • GLM-5.2 — 753.3B parameters, VRAM requirements and GPU fit.