Run Kimi Linear 48B A3B Locally: VRAM & GPU Requirements
Kimi Linear 48B A3B is an MoE released by Moonshot AI in October 2025 that uses only 3B parameters per token. At 4-bit, going from 32K to 1M context adds only about 8 GB of VRAM. With linear attention in 20 of its 27 layers, its strength for local runs is very long context. The model card compares it with standard-attention models trained the same way rather than today's mainstream models, so pick it mainly for long context. It is MIT licensed.
Kimi Linear 48B A3B details
- Min VRAM at 4-bit (8K context)32 GB
- Parameters49.1B
- Active params3B
- Max context1M
- Architecture
- MoE
- Experts offloaded
- 4 GB VRAM + 30 GB RAM
- License
- MIT
- Launch date
- Oct 30, 2025
- Vendor
- Moonshot AI
- Hugging Face repo
- moonshotai/Kimi-Linear-48B-A3B-Instruct
- MLX repo (Apple)
- mlx-community/Kimi-Linear-48B-A3B-Instruct-4bit
- Layers
- 27
- Hidden size
- 2,304
- KV heads
- 32
- Head dim
- 72
How much VRAM does Kimi Linear 48B A3B need?
The table below assumes all experts stay in VRAM with no RAM offloading. If you are short on VRAM, you can offload experts to RAM; see the complete builds below.
| Quantization | WeightsGB | 32K contextGB | 128K contextGB | 256K contextGB | 1M context (max)GB |
|---|---|---|---|---|---|
| 1-bit | 10.9GGUF | 12.2 | 13 | 14.1 | 20.4 |
| 2-bit | 17.9GGUF | 19.2 | 20 | 21.1 | 27.4 |
| 3-bit | 23.9GGUF | 25.2 | 26 | 27.1 | 33.4 |
| 4-bit | 30.1GGUF | 31.4 | 32.2 | 33.3 | 39.6 |
| 5-bit | 35.1GGUF | 36.4 | 37.2 | 38.3 | 44.6 |
| 8-bit | 52.2GGUF | 53.5 | 54.3 | 55.4 | 61.7 |
| BF16/FP16 | 98.3GGUF | 99.6 | 100.4 | 101.5 | 107.8 |
Full calculation rules are on the Methodology page.
Can a single GPU run Kimi Linear 48B A3B?
Yes, a 32GB GPU runs Kimi Linear 48B A3B at 4-bit, while 24GB cards need to drop to 2-bit. The 4-bit weights are about 30 GB, too big for 24GB, but once they fit it is fast and handles long context well: each token uses only 3B parameters, and most layers don't take more VRAM as context grows. The RTX 5090 runs 4-bit at about 165 tokens/s, and the 48GB RTX A6000 fits the full 1M context. On 24GB cards, 2-bit loses almost no speed and still leaves a very long context. Skip 3-bit: it fills a 24GB card and leaves only about 96K of context, throwing away this model's main strength. 128GB machines run it well too.
The table below assumes all experts stay in VRAM with no RAM offloading. If you are short on VRAM, you can offload experts to RAM; see the complete builds below.
| Device | Price | Speed t/s | Max context |
|---|---|---|---|
| $1,37813 listings | 157.9 | 1M | |
| Radeon RX 7900 XTX24 GB | $1,40027 listings | 160.5 | 823K |
| $1,992116 listings | 159.5 | 823K | |
| $3,82574 listings | 162.4 | 823K | |
| Ryzen AI Max+ 395 128GBWhole system · 128 GB | $4,02531 listings | 95.8 | 1M |
| $4,89925 listings | 151.2 | 1M | |
| Mac Studio M5 Ultra 96GBWhole system · 96 GB | $6,7995 listings | 169.6 | 1M |
| MacBook Pro M5 Max 128GBWhole system · 128 GB | $7,00029 listings | 141 | 1M |
| $7,385128 listings | 181.2 | 1M | |
| $7,90037 listings | 99.2 | 1M | |
| $18,60020 listings | 181.2 | 1M |
| Device | Price | Speed t/s | Max context |
|---|---|---|---|
| $1,37813 listings | 134.9 | 385K | |
| Ryzen AI Max+ 395 128GBWhole system · 128 GB | $4,02531 listings | 70.3 | 1M |
| $4,89925 listings | 126.9 | 1M | |
| Mac Studio M5 Ultra 96GBWhole system · 96 GB | $6,7995 listings | 149.6 | 1M |
| MacBook Pro M5 Max 128GBWhole system · 128 GB | $7,00029 listings | 115.3 | 1M |
| $7,385128 listings | 165 | 385K | |
| $7,90037 listings | 73.3 | 1M | |
| $18,60020 listings | 165 | 1M |
| Device | Price | Speed t/s | Max context |
|---|---|---|---|
| Ryzen AI Max+ 395 128GBWhole system · 128 GB | $4,02531 listings | 47.4 | 1M |
| Mac Studio M5 Ultra 96GBWhole system · 96 GB | $6,7995 listings | 123.2 | 1M |
| MacBook Pro M5 Max 128GBWhole system · 128 GB | $7,00029 listings | 86.6 | 1M |
| $7,90037 listings | 49.8 | 1M | |
| $18,60020 listings | 142 | 1M |
Only common GPUs and systems are listed, from cheapest to most expensive.
What PC or server build do you need to run Kimi Linear 48B A3B locally?
With only a 16GB GPU, you can run Kimi Linear 48B A3B via RAM offload by moving part of the experts into system RAM. With a 16GB Tesla V100 at 4-bit, the experts from about 12 of the 27 layers stay in VRAM, giving about 50 tokens/s on a DDR4 desktop and about 72 tokens/s on DDR5. An 8-channel DDR4 server with an RTX 3090 reaches about 113 tokens/s. At 2-bit, the V100 with a DDR5 desktop hits about 131 tokens/s.
GeForce RTX 5070 + Desktop DDR5
Home PCGeForce RTX 3090 + Single EPYC DDR4
Best valueGeForce RTX 5070 + Desktop DDR5
Home PCTesla V100 32GB + Dual Xeon E5 DDR4
BudgetGeForce RTX 3090 + Single EPYC DDR4
Best valueGeForce RTX 5090 + Single EPYC DDR5
FlagshipDetailed calculation rules are on the Methodology page.
As an eBay Partner, VRAMGlass may be compensated if you buy through the eBay links on this page. The price you pay stays the same.
What to know before running Kimi Linear 48B A3B locally
What linear attention means
With standard attention, every extra token adds another entry to the cache; linear attention (KDA here) stores only a fixed-size state that doesn't grow no matter how long the context gets. Kimi Linear pairs every 3 linear-attention layers with 1 standard-attention layer, and Moonshot says this cuts the context cache by up to 75% and makes generation up to about 6x faster at 1M of context. The same design was later used in Kimi K3 and GLM 5.3 Flash.
Let context drive your quantization choice
Long context is the whole point of this model, so when choosing a quant, work out how much context you need first. On a 24GB card, 2-bit leaves room for over 800K of context, while 3-bit leaves only about 96K. On a 32GB card, use 4-bit; a 48GB card can step up to 5-bit (about 35 GB), which comes to about 45 GB with the full 1M; 8-bit is about 52 GB and needs a 96GB card or a unified-memory machine.
Use a llama.cpp build from mid-February or later
Mainline llama.cpp merged Kimi Linear support on February 6, 2026 (PR #18755). On February 13 it fixed a bug where state got scrambled when llama-server handled multiple requests at once (PR #19531), so use a build from after that; on March 5 another optimization landed (PR #19827), which the author says makes prompt processing about 15% faster. Ollama's official library doesn't have this model.
vLLM version
The vLLM recipe recommends pinning 0.11.2, since 0.12.0 has a known issue that makes Kimi Linear fail at startup. The official example uses four GPUs with the full 1M context; for local single-GPU use, llama.cpp is simpler.
Launch commands
llama.cpp
- NVIDIA
- AMD
- Mac
- CPU
llama-server \ -hf bartowski/moonshotai_Kimi-Linear-48B-A3B-Instruct-GGUF:Q4_K_M \ -c 8192
Short on VRAM? Add --cpu-moe to keep the routed experts in system RAM (about 30 GB needed).
llama-server \ -hf bartowski/moonshotai_Kimi-Linear-48B-A3B-Instruct-GGUF:Q4_K_M \ -c 8192 -ngl 99 --cpu-moe
vLLM
- Linux
- NVIDIA
Follow the deployment guide to prepare the required runtime and hardware.
vllm serve moonshotai/Kimi-Linear-48B-A3B-Instruct \ --trust-remote-code \ --tensor-parallel-size 1
MLX
- Apple Silicon
On a Mac, pip install mlx-lm first; this command downloads the MLX weights from Hugging Face and starts an OpenAI-compatible server.
mlx_lm.server --model mlx-community/Kimi-Linear-48B-A3B-Instruct-4bitOllama
- Windows
- macOS
- Linux
The Ollama library has no official tag for it yet.
File names follow that week's model-library snapshot; the definitions are in the methodology. Methodology
Other models in the Kimi family
| Model | Total params | Active params | 4-bit size |
|---|---|---|---|
| 1,000B | 32B | 621.3 GB | |
| 1,000B | 32B | 621.2 GB | |
| 1,000B | 32B | 583.7 GB | |
| 1,000B | 32B | 583.7 GB | |
| 2,800B | 104B | 1,508.7 GB | |
| 2,800B | 104B | 1,508.7 GBest. |