MiniCPM5 2B
2.5B parameters · 128k context · Apache License 2.0 · released 2026-09-06
chatcodingagenticreasoning
In short
MiniCPM5 2B is an open model from openbmb with 2.5B parameters. At mlx-4bit, MiniCPM5 2B needs about 2 GB of memory at 8k context and 8 GB at 128k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in Canada that runs MiniCPM5 2B fully in memory at 128k context is the NVIDIA GeForce RTX 3060 12GB, $497 at Amazon, at about 27 tok/s (estimated).
Updated . Speeds are estimates; how they are worked out.
What to run it on in Canada
Fully in memory at 128k context, priced at retailers today.
Cheapest
NVIDIA GeForce RTX 3060 12GB27tok/sest.Q8_0
$497
Best value
NVIDIA GeForce RTX 3080 10GB57tok/sest.Q8_0
$769
Fastest
NVIDIA RTX PRO 6000 Blackwell134tok/sest.Q8_0
$3,133
All hardware that runs it
Everything we price, best value first. Two cards split the model by layers.
Memory needed
Weights, KV cache and runtime buffers at each context length (KV cache at fp16).
| Quant | File | @8k | @32k | @64k | @128k |
|---|---|---|---|---|---|
| mlx-4bitmlx | 1.3 GB | 2.4 GB | 3.5 GB | 5.0 GB | 8.0 GB |
| Q4_K_Mgguf | 1.5 GB | 2.6 GB | 3.7 GB | 5.2 GB | 8.2 GB |
| Q5_K_Mgguf | 1.8 GB | 2.9 GB | 4.0 GB | 5.5 GB | 8.5 GB |
| Q6_Kgguf | 2.0 GB | 3.0 GB | 4.2 GB | 5.7 GB | 8.7 GB |
| mlx-8bitmlx | 2.5 GB | 3.6 GB | 4.7 GB | 6.2 GB | 9.2 GB |
| Q8_0gguf | 2.5 GB | 3.6 GB | 4.7 GB | 6.2 GB | 9.2 GB |
Run it
Copy a command for the runtime you use.
- mlx-4bit
- LM Studio
lms get mlx-community/MiniCPM5-2B-mlx-4Bit - MLX
mlx_lm.server --model mlx-community/MiniCPM5-2B-mlx-4Bit
- LM Studio
- Q4_K_M
- Ollama
ollama run hf.co/bartowski/MiniCPM5-2B-GGUF:Q4_K_M - LM Studio
lms get bartowski/MiniCPM5-2B-GGUF@q4_k_m - llama.cpp
llama-server -hf bartowski/MiniCPM5-2B-GGUF:Q4_K_M
- Ollama
- Q5_K_M
- Ollama
ollama run hf.co/bartowski/MiniCPM5-2B-GGUF:Q5_K_M - LM Studio
lms get bartowski/MiniCPM5-2B-GGUF@q5_k_m - llama.cpp
llama-server -hf bartowski/MiniCPM5-2B-GGUF:Q5_K_M
- Ollama
- Q6_K
- Ollama
ollama run hf.co/bartowski/MiniCPM5-2B-GGUF:Q6_K - LM Studio
lms get bartowski/MiniCPM5-2B-GGUF@q6_k - llama.cpp
llama-server -hf bartowski/MiniCPM5-2B-GGUF:Q6_K
- Ollama
- mlx-8bit
- LM Studio
lms get mlx-community/MiniCPM5-2B-8bit - MLX
mlx_lm.server --model mlx-community/MiniCPM5-2B-8bit
- LM Studio
- Q8_0
- Ollama
ollama run hf.co/bartowski/MiniCPM5-2B-GGUF:Q8_0 - LM Studio
lms get bartowski/MiniCPM5-2B-GGUF@q8_0 - llama.cpp
llama-server -hf bartowski/MiniCPM5-2B-GGUF:Q8_0
- Ollama
Notes
Dense dual-language (en/zh) 2B model with standard LlamaForCausalLM architecture, aimed at on-device use. This is the final RL+OPD post-trained BF16 release; GGUF, MLX and GPTQ variants are separate repos.
Questions
- How much VRAM does MiniCPM5 2B need?
- At mlx-4bit, MiniCPM5 2B needs about 2 GB of memory at 8k context and 8 GB at 128k, counting the weights, the KV cache and runtime buffers.
- What is the best GPU for running MiniCPM5 2B locally?
- The cheapest hardware in Canada that runs MiniCPM5 2B fully in memory at 128k context is the NVIDIA GeForce RTX 3060 12GB, $497 at Amazon, at about 27 tok/s (estimated). The best value is the NVIDIA GeForce RTX 3080 10GB (about 57 tok/s for $769). The fastest we price is the NVIDIA RTX PRO 6000 Blackwell, at about 134 tok/s.
- Can I run MiniCPM5 2B on a 16 GB GPU?
- Yes: at Q8_0 it fits fully in 16 GB at 128k context. On the NVIDIA GeForce RTX 5080 it runs at about 72 tok/s (estimated).
- Can I run MiniCPM5 2B on a 24 GB GPU?
- Yes: at Q8_0 it fits fully in 24 GB at 128k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 75 tok/s (estimated).
- How do I run MiniCPM5 2B locally?
- With Ollama: ollama run hf.co/bartowski/MiniCPM5-2B-GGUF:Q4_K_M (the Q4_K_M build). LM Studio and llama.cpp commands are on this page.
- What licence is MiniCPM5 2B released under?
- Apache License 2.0, which allows commercial use.