RunsOnMy ModelsGPUs & MacsAPI pricesVRAM calculatorNew

Can I run Kimi K2.7 Code locally?

Kimi K2.7 Code by moonshotai has 1.03T parameters (33B active per token, 384 experts, 8 used per token). At 4-bit with an 8K context it needs about 579 GB of GPU memory. It fits on 1 of 65 GPUs and Macs we track.

579 GBQ4_K_M · 8K context
nonesmallest consumer GPU that fits
nonesmallest Mac that fits
256Kmax context
MLAattention type

Memory needed by quant and context length

GB of GPU memory = weights + KV cache (FP16) + runtime overhead. Weights use real file sizes from DevQuasar/moonshotai.Kimi-K2.7-Code-GGUF where available (marked •), otherwise parameter count × bits per weight. How we calculate.

QuantQuality4K ctx8K ctx32K ctx128K ctx
2-bit (Q2_K) •rough348 GB349 GB350 GB357 GB
3-bit (Q3_K_M) •usable456 GB457 GB458 GB465 GB
4-bit (Q4_K_M) •good, most popular579 GB579 GB581 GB587 GB
5-bit (Q5_K_M)very good682 GB683 GB684 GB691 GB
6-bit (Q6_K) •near lossless786 GB786 GB788 GB794 GB
8-bit (Q8_0)effectively lossless1017 GB1017 GB1019 GB1025 GB
16-bit (F16/BF16)original weights1914 GB1914 GB1916 GB1922 GB

Which GPUs and Macs run Kimi K2.7 Code?

Best quality quant that fits at 8K context. "Tight" = within 10% of usable memory. Speed is a ceiling from memory bandwidth (real speed is typically 50–80% of it).

HardwareMemoryFits?Best quantNeedsMax tok/s (est.)
RTX 3060 12GB12 GBNo———details
RTX 4060 Ti 16GB16 GBNo———details
RTX 309024 GBNo———details
RTX 409024 GBNo———details
RTX 509032 GBNo———details
RTX 5070 Ti16 GBNo———details
RX 7900 XTX24 GBNo———details
Mac M4 Pro 48GB48 GBNo———details
Mac M4 Max 128GB128 GBNo———details
Mac M3 Ultra 512GB512 GBTightQ2_K349 GB68details
DGX Spark128 GBNo———details
RTX 407012 GBNo———details
RTX 5060 Ti 16GB16 GBNo———details
RTX 40608 GBNo———details
Arc B58012 GBNo———details
RTX 3060 Ti8 GBNo———details
RTX 30708 GBNo———details
RTX 3080 10GB10 GBNo———details
RTX 3080 12GB12 GBNo———details
RTX 3090 Ti24 GBNo———details
RTX 4060 Ti 8GB8 GBNo———details
RTX 4070 Super12 GBNo———details
RTX 4070 Ti12 GBNo———details
RTX 4070 Ti Super16 GBNo———details
RTX 408016 GBNo———details
RTX 4080 Super16 GBNo———details
RTX 50608 GBNo———details
RTX 507012 GBNo———details
RTX 508016 GBNo———details
2x RTX 30902×24 GBNo———details
2x RTX 40902×24 GBNo———details
2x RTX 50902×32 GBNo———details
RTX A600048 GBNo———details
RTX 6000 Ada48 GBNo———details
RTX PRO 6000 Blackwell96 GBNo———details
L40S48 GBNo———details
A100 40GB40 GBNo———details
A100 80GB80 GBNo———details
H100 PCIe80 GBNo———details
H100 SXM80 GBNo———details
H200141 GBNo———details
RX 76008 GBNo———details
RX 7700 XT12 GBNo———details
RX 7800 XT16 GBNo———details
RX 7900 GRE16 GBNo———details
RX 7900 XT20 GBNo———details
RX 907016 GBNo———details
RX 9070 XT16 GBNo———details
Ryzen AI Max+ 395 128GB128 GBNo———details
Arc A770 16GB16 GBNo———details
Mac M1 16GB16 GBNo———details
Mac M2 24GB24 GBNo———details
Mac M3 24GB24 GBNo———details
Mac M4 16GB16 GBNo———details
Mac M4 32GB32 GBNo———details
Mac M1 Pro 32GB32 GBNo———details
Mac M3 Pro 36GB36 GBNo———details
Mac M4 Pro 24GB24 GBNo———details
Mac M4 Pro 64GB64 GBNo———details
Mac M1 Max 64GB64 GBNo———details
Mac M2 Max 96GB96 GBNo———details
Mac M3 Max 128GB128 GBNo———details
Mac M4 Max 64GB64 GBNo———details
Mac M2 Ultra 192GB192 GBNo———details
Mac M3 Ultra 256GB256 GBNo———details

Prefer an API?

MoonshotAI: Kimi K2.7 Code is on OpenRouter at $0.60 per 1M input tokens and $3.50 per 1M output tokens. Price details and history →

Questions

How much VRAM does Kimi K2.7 Code need?

About 579 GB at 4-bit (Q4_K_M) with an 8K context: 578 GB of weights (real GGUF file size), 0.5 GB of KV cache and 0.7 GB of runtime overhead. At 8-bit it needs about 1017 GB.

What is the smallest GPU that runs Kimi K2.7 Code?

No single consumer GPU in our table fits it at Q4_K_M with 8K context.

Can I run Kimi K2.7 Code on a Mac?

Not at Q4_K_M with 8K context on any Mac in our table, even a 512 GB Mac Studio, using the default GPU memory limit.

Model facts

Hugging Face repomoonshotai/Kimi-K2.7-Code
Parameters1,026,879,376,368 (1.03T) · ~33B active (computed from config)
Layers / hidden size61 / 7168
AttentionMLA; 64 heads, 64 KV heads, head dim 112
KV cache per token (FP16)68.6 KiB
Max context262,144 tokens
Licenseother
Released on HFJun 11, 2026
Downloads (30d) / likes317,486 / 1,429

Sources: Hugging Face model API · config.json (moonshotai/Kimi-K2.7-Code) · GGUF files · GPU specs from vendor pages (list). Data fetched Nov 17, 2026. Spot an error? Report it.