Moonshot AI·Kimi K2·KimiK25ForConditionalGeneration

Kimi K2.7 Code — Hardware Requirements & GPU Compatibility

VisionCode

Kimi K2.7 Code is a 1058.6B-parameter open language model from Moonshot AI in the Kimi K2 family. It supports a context window of up to 262,144 tokens. At Q4_K_M it needs about 639.04 GB of VRAM — see which GPUs and Macs can run it below.

0 291 likes262K context

Specifications

Publisher
Moonshot AI
Family
Kimi K2
Parameters
1058.6B
Architecture
KimiK25ForConditionalGeneration
Context Length
262,144 tokens
Vocabulary Size
163,840
Release Date
2026-06-11
License
Other

Get Started

How Much VRAM Does Kimi K2.7 Code Need?

Select a quantization to see compatible GPUs below.

QuantizationBitsVRAM
Q2_Kest.3.40453.8 GB
Q3_K_Mest.3.90519.9 GB
Q4_K_Mest.4.80639.0 GB
Q5_K_Mest.5.70758.1 GB
Q6_Kest.6.60877.2 GB
Q8_0est.8.001062.5 GB
BF16est.16.002121.1 GB

est.= calculated VRAM estimate; no published GGUF file found for that quantization yet. Other rows are verified against real community uploads.

Which GPUs Can Run Kimi K2.7 Code?

Q4_K_M · 639.0 GB

Kimi K2.7 Code (Q4_K_M) requires 639.0 GB of VRAM to load the model weights. For comfortable inference with headroom for KV cache and system overhead, 831+ GB is recommended. Using the full 262K context window can add up to 454.9 GB, bringing total usage to 1093.9 GB. No single GPU has enough memory — multi-GPU or cluster setups are needed.

Which Devices Can Run Kimi K2.7 Code?

Q4_K_M · 639.0 GB

2 devices with unified memory can run Kimi K2.7 Code, including NVIDIA DGX H100.

Decent

Enough memory, may be tight

Where to Download Kimi K2.7 Code

Community quantizations of this model — GGUF for llama.cpp, Ollama, and LM Studio, plus AWQ/MLX variants where available.

Related Models

Frequently Asked Questions

How much VRAM does Kimi K2.7 Code need?

Kimi K2.7 Code requires 639.0 GB of VRAM at Q4_K_M, or 2121.1 GB at BF16. Full 262K context adds up to 454.9 GB (1093.9 GB total).

VRAM = Weights + KV Cache + Overhead

Weights = 1058.6B × 4.8 bits ÷ 8 = 635.2 GB

KV Cache + Overhead 3.8 GB (at 2K context + ~0.3 GB framework)

KV Cache + Overhead 458.7 GB (at full 262K context)

VRAM usage by quantization

639.0 GB
1093.9 GB

Learn more about VRAM estimation →

Can NVIDIA GeForce RTX 5090 run Kimi K2.7 Code?

No — Kimi K2.7 Code requires at least 453.8 GB at Q2_K, which exceeds the NVIDIA GeForce RTX 5090's 32 GB of VRAM.

What's the best quantization for Kimi K2.7 Code?

For Kimi K2.7 Code, Q4_K_M (639.0 GB) offers the best balance of quality and VRAM usage. Q5_K_M (758.1 GB) provides better quality if you have the VRAM. The smallest option is Q2_K at 453.8 GB.

VRAM requirement by quantization

Q2_K
453.8 GB
Q4_K_M
639.0 GB
Q5_K_M
758.1 GB
Q6_K
877.2 GB
Q8_0
1062.5 GB
BF16
2121.1 GB

★ Recommended — best balance of quality and VRAM usage.

Learn more about quantization →

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

Kimi K2.7 Code requires at least 453.8 GB at Q2_K, which exceeds the unified memory of most consumer Macs. You would need a Mac Studio or Mac Pro with a high-memory configuration.

Can I run Kimi K2.7 Code locally?

Yes — Kimi K2.7 Code can run locally on consumer hardware. At Q4_K_M quantization it needs 639.0 GB of VRAM. Popular tools include Ollama, LM Studio, and llama.cpp.

What's the download size of Kimi K2.7 Code?

At Q4_K_M, the download is about 635.15 GB. The full-precision BF16 version is 2117.18 GB. The smallest option (Q2_K) is 449.90 GB.

Which GPUs can run Kimi K2.7 Code?

No single consumer GPU has enough VRAM to run Kimi K2.7 Code at Q4_K_M (639.0 GB). Multi-GPU or professional hardware is required.

Which devices can run Kimi K2.7 Code?

2 devices with unified memory can run Kimi K2.7 Code at Q4_K_M (639.0 GB), including NVIDIA DGX A100 640GB, NVIDIA DGX H100. Apple Silicon Macs use unified memory shared between CPU and GPU, making them well-suited for local LLM inference.