Kimi K3.1 Pro VRAM requirements at Q4 and 1M context

Kimi K3.1 Pro needs about 1770 GB in this Q4_K_M, 1,048,576 token, batch one scenario. Weights take 1557 GB of that. Because the weights are 88% of the budget, a shorter context only trims the total to about 1715 GB.

Kimi K3.1 Pro is an open weight model from Moonshot AI with 2.78T total parameters and 104B active per token. That 104B describes the compute for one token. For memory, a server that keeps every expert loaded has to hold all 2.78T, and the router can send the next token to any of 896 experts. At Q4_K_M's planning factor of 0.56 bytes per parameter that's 1557 GB of weights before the first token is cached. Add 51.5 GB for a full 1M context, 0.45 GB of fixed attention state and a 161 GB runtime allowance, and you land on 1770 GB. This is a planning number for one sequence. It isn't a measured footprint of a specific checkpoint or engine.

By TechCompare · Updated

Total VRAM required
1770 GB
Kimi K3.1 Pro 2.8T (MoE) at Q4_K_M
Weights
1557 GB
2780B params
KV cache
51.5 GB
1024K tokens, FP16 KV

Calculator

Estimated VRAM required

1770 GB

2780B params at Q4_K_M, 1,048,576 token context, batch 1, inference.

Weights
1557 GB
KV cache
51.5 GB
Overhead
161 GB

Estimate accuracy: Planning estimate. Rounded model counts, tensor formats, cache packing, and workspace can change actual allocation. Confirm the exact checkpoint and serving engine with a load test.

Kimi K3.1 Pro has 69 fixed-state KDA layers and 24 latent attention layers. The cache budget matches the Kimi K3 preset at 1,024 values per latent layer, which covers the 704 values its config implies. Its vision encoder and serving workspace can need extra memory.

Hybrid linear attention applied: 69 of 93 layers use fixed recurrent state, so only 24 full-attention layers contribute to the context-growing KV cache. The fixed state adds about 0.45 GB at batch 1 and does not grow with context length.

Hardware that fits

Apple entries show installed unified memory separately from a model budget based on an 8 GB reserve. That budget is a planning heuristic, not a fixed hardware limit.

No single GPU in our catalog has enough memory. Multi-GPU or CPU offload required.

How this is calculated

The published config has 93 layers with hidden size 7,168. Of those, 69 are Kimi Delta Attention layers, which keep a fixed recurrent state (96 heads of width 128) no matter how long the prompt gets. That state adds up to 0.45 GB at batch one, and it grows with the number of concurrent sequences instead of with context. The other 24 layers are latent attention, and those are the only ones whose cache grows with every token. The expert layers send each token to 16 of 896 experts. New compared with Kimi K3, all 24 latent layers now use sparse attention that picks from a top 2,048 index and stores 128 wide index keys. Sparse selection cuts the attention work, not the stored history, because a later token can still ask for any earlier one. There's no public modeling file for K3.1 Pro, so this page keeps the same 1,024 values per latent layer as the Kimi K3 preset. The config implies 704 values (512 latent, 64 rope and 128 index), so the budget has headroom over that reading. At 1,048,576 tokens the cache is 51.5 GB. At 32K it shrinks to 1.61 GB and the total to 1715 GB, a saving of 55 GB. The 69 fixed state layers are the reason context stays cheap here, and the weights are the reason it doesn't matter much. For comparison, the Kimi K3 preset comes to 1781 GB in the same scenario. K3.1 Pro lands just under it, so a hardware plan for one carries over to the other. The estimate leaves out the vision encoder for image and video input, your engine's prefill workspace, and any speculative decoding buffers.

Verdict

Treat this as a multi-node model. Eight cards of 80 GB give 640 GB in total, which is well short of this estimate. The page's total takes 23 cards of 80 GB or 10 cards of 192 GB before sharding overhead. Two nodes of eight 192 GB cards offer 3072 GB, which clears the full context estimate on paper. Lowering context won't change that plan, since even 32K still needs about 1715 GB. Real savings have to come from the weights, so check which lower precision checkpoints your engine supports. The model ships under a custom license, so read it before commercial use. Measure resident weights, cache and peak prompt memory on the exact checkpoint, and check each card's allocation, because an aggregate fit can still fail on the busiest shard.

More Kimi scenarios

Mistral Large 4 at Q4_K_M
A 1T expert pool with 63 latent cache owners and 44 layers that also store an index key.
View details ➜
Muse Spark Open at Q4_K_M
Only 16 of its 62 layers grow with context, and the other 46 hold a 2,048 token window.
View details ➜
Ling-3.1-flash at Q4_K_M
A 560B expert pool with 63 fixed state layers and 9 latent attention layers.
View details ➜

Frequently asked questions

How much VRAM does Kimi K3.1 Pro need at Q4?
About 1770 GB in this scenario: 1557 GB of Q4_K_M weights, 51.5 GB of FP16 cache at 1,048,576 tokens, 0.45 GB of fixed attention state and 161 GB of runtime allowance. That's a planning figure for one sequence with every expert resident. It doesn't describe a particular GGUF or packed checkpoint, so compare it with the real file sizes of the build you plan to run.
Does a shorter context make Kimi K3.1 Pro fit on fewer GPUs?
Not by much. Going from 1M to 32K tokens drops the total from 1770 GB to 1715 GB. The 55 GB saved is small next to the 1557 GB weight budget, which doesn't change with context. Only 24 of the 93 layers keep a cache that grows with the prompt, and the other 69 hold a fixed state, so context was never the main cost on this model.
Why is the 104B active parameter count not the VRAM number?
Active parameters describe the work done per token. Which experts run changes from token to token, so a server that wants full speed keeps all 2.78T parameters loaded. Streaming experts from system memory or disk is possible in some engines, but then memory bandwidth and latency decide the speed, and this calculator's all-resident mode doesn't model it.
What changed in the cache compared with Kimi K3?
K3.1 Pro adds sparse attention on all 24 latent layers, with a top 2,048 index and 128 wide index keys. Sparse attention reduces compute, but the history is still stored. This page uses the same 1,024 values per latent layer as the Kimi K3 preset because the repo has no public modeling file, and that covers the 704 values the config implies. Check the config and your engine's actual cache layout if you need an exact figure.
Is a Q4_K_M build of Kimi K3.1 Pro available?
Q4_K_M here is a sizing assumption of 0.56 bytes per parameter, so the page doesn't claim that a matching file exists. Check the Hugging Face model card for the formats Moonshot AI publishes, and look at your inference engine's supported architectures before buying hardware. Scale tensors, layers kept at higher precision and the vision encoder can all shift the real footprint.
Does image and video input need extra memory?
Yes. The model accepts text, image and video, and the vision encoder plus its activations aren't part of this estimate. Prompt processing for long inputs also needs temporary workspace. Test with representative media at your intended context length and watch the peak allocation, not just the steady state after loading.