Moonshot AI·Kimi K2·KimiK25ForConditionalGeneration

Kimi K2.7 Code — Hardware Requirements & GPU Compatibility

VisionCode

Kimi-K2.7-Code is Moonshot AI's coding-focused agentic model, built on top of Kimi K2.6 with improvements aimed at long-horizon software engineering workflows and reduced reasoning-token usage. It is a Mixture-of-Experts model with about 1 trillion total parameters and roughly 32 billion active per token, and it also includes a vision encoder, so it can take image input alongside code and text while working through complex, multi-step coding tasks. The model supports a 256K token context window and is released under a modified MIT license. At roughly 1 trillion total parameters, even 4-bit quantization needs several hundred gigabytes of memory, so this is squarely server or multi-GPU territory; most people will use it through a hosted API rather than running it locally.

104.8K downloads 1.4K likes 363.3K quant downloads262K context

Specifications

Publisher
Moonshot AI
Family
Kimi K2
Parameters
1026.9B
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_K3.40440.3 GB
Q3_K_M3.90504.5 GB
Q4_K_M4.80620.0 GB
Q5_K_Mest.5.70735.5 GB
Q6_Kest.6.60851.1 GB
Q8_08.001030.8 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 · 620.0 GB

Kimi K2.7 Code (Q4_K_M) requires 620.0 GB of VRAM to load the model weights. For comfortable inference with headroom for KV cache and system overhead, 807+ GB is recommended. Using the full 262K context window can add up to 454.9 GB, bringing total usage to 1074.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 · 620.0 GB

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

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 620.0 GB of VRAM at Q4_K_M, or 2057.6 GB at BF16. Full 262K context adds up to 454.9 GB (1074.9 GB total).

VRAM = Weights + KV Cache + Overhead

Weights = 1026.9B × 4.8 bits ÷ 8 = 616.1 GB

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

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

VRAM usage by quantization

620.0 GB
1074.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 286.3 GB at IQ2_XXS, 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 (620.0 GB) offers the best balance of quality and VRAM usage. Q5_K_M (735.5 GB) provides better quality if you have the VRAM. The smallest option is IQ2_XXS at 286.3 GB.

VRAM requirement by quantization

IQ2_XXS
286.3 GB
Q2_K
440.3 GB
IQ4_XS
555.8 GB
Q4_K_M ★
620.0 GB
Q6_K
851.1 GB
BF16
2057.6 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 286.3 GB at IQ2_XXS, 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 620.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 616.13 GB. The full-precision BF16 version is 2053.76 GB. The smallest option (IQ2_XXS) is 282.39 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 (620.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 (620.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.