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 the UK that runs MiniCPM5 2B fully in memory at 128k context is the NVIDIA Tesla P40, £261 at eBay, at about 26 tok/s (estimated).

Updated . Speeds are estimates; how they are worked out.

What to run it on in the UK

Fully in memory at 128k context, priced at retailers today.

All hardware that runs it

Everything we price, best value first. Two cards split the model by layers.

HardwareQuantFitsDecodePricetok/s per 1,000
NVIDIA Tesla P40Q8_0fits26 tok/s£26199.0
AMD Radeon RX 7600 XTQ8_0fits19 tok/s£34854.5
Intel Arc B580Q8_0fits27 tok/s£34978.6
NVIDIA GeForce RTX 3060 12GBQ8_0fits27 tok/s£39068.7
NVIDIA GeForce RTX 3080 10GBQ8_0fits57 tok/s£466121.8
AMD Radeon RX 9060 XT 16GBQ8_0fits21 tok/s£49942.5
NVIDIA GeForce RTX 5060 Ti 16GBQ8_0fits33 tok/s£55060.7
AMD Radeon RX 7800 XTQ8_0fits41 tok/s£56872.7
Intel Arc A770 16GBQ8_0fits34 tok/s£58857.3
AMD Radeon RX 9070 XTQ8_0fits42 tok/s£67063.2
NVIDIA GeForce RTX 5070Q8_0fits50 tok/s£69572.1
Intel Arc Pro B60Q8_0fits27 tok/s£74236.9
Mac mini M4 16GBQ8_0fits9 tok/s£76512.3
AMD Radeon RX 7900 XTQ8_0fits53 tok/s£78967.0
NVIDIA GeForce RTX 4070 SuperQ8_0fits38 tok/s£87443.0
NVIDIA GeForce RTX 4070 Ti SuperQ8_0fits50 tok/s£95052.7
NVIDIA GeForce RTX 5070 TiQ8_0fits67 tok/s£97568.5
NVIDIA GeForce RTX 4060 Ti 16GBQ8_0fits22 tok/s£97722.0
AMD Radeon RX 7900 XTXQ8_0fits64 tok/s£99963.6
NVIDIA GeForce RTX 5080Q8_0fits72 tok/s£1,19959.7
Mac mini M4 32GBQ8_0fits9 tok/s£1,2007.8
NVIDIA GeForce RTX 4080 SuperQ8_0fits55 tok/s£1,42938.4
AMD Radeon AI PRO R9700Q8_0fits42 tok/s£1,67425.3
NVIDIA GeForce RTX 3090Q8_0fits70 tok/s£1,70740.9
NVIDIA GeForce RTX 3090 TiQ8_0fits75 tok/s£2,19934.2
Mac mini M4 Pro 48GBQ8_0fits21 tok/s£3,0007.1
GMKtec EVO-X2 Ryzen AI Max+ 395 128GBQ8_0fits17 tok/s£3,3205.1
Mac Studio M4 Max 64GBQ8_0fits43 tok/s£3,39912.6
NVIDIA GeForce RTX 5090Q8_0fits134 tok/s£5,00026.7
Mac Studio M3 Ultra 96GBQ8_0fits64 tok/s£5,49911.6
NVIDIA GeForce RTX 4090Q8_0fits75 tok/s£6,01512.5
Mac Studio M3 Ultra 256GBQ8_0fits64 tok/s£8,4997.5
Mac Studio M3 Ultra 512GBQ8_0fits64 tok/s£17,4953.7
NVIDIA RTX PRO 6000 BlackwellQ8_0fits134 tok/s£29,5044.5
Mac Studio M4 Max 128GBQ8_0fits43 tok/s––
Mac mini M4 Pro 64GBQ8_0fits21 tok/s––
Framework Desktop Ryzen AI Max+ 395 128GBQ8_0fits17 tok/s––
NVIDIA DGX Spark 128GBQ8_0fits20 tok/s––
ASUS Ascent GX10 128GBQ8_0fits20 tok/s––
Framework Desktop Ryzen AI Max+ 395 64GBQ8_0fits17 tok/s––

Memory needed

Weights, KV cache and runtime buffers at each context length (KV cache at fp16).

QuantFile@8k@32k@64k@128k
mlx-4bitmlx1.3 GB2.4 GB3.5 GB5.0 GB8.0 GB
Q4_K_Mgguf1.5 GB2.6 GB3.7 GB5.2 GB8.2 GB
Q5_K_Mgguf1.8 GB2.9 GB4.0 GB5.5 GB8.5 GB
Q6_Kgguf2.0 GB3.0 GB4.2 GB5.7 GB8.7 GB
mlx-8bitmlx2.5 GB3.6 GB4.7 GB6.2 GB9.2 GB
Q8_0gguf2.5 GB3.6 GB4.7 GB6.2 GB9.2 GB

Run it

Copy a command for the runtime you use.

  • mlx-4bit
    • LM Studiolms get mlx-community/MiniCPM5-2B-mlx-4Bit
    • MLXmlx_lm.server --model mlx-community/MiniCPM5-2B-mlx-4Bit
  • Q4_K_M
    • Ollamaollama run hf.co/bartowski/MiniCPM5-2B-GGUF:Q4_K_M
    • LM Studiolms get bartowski/MiniCPM5-2B-GGUF@q4_k_m
    • llama.cppllama-server -hf bartowski/MiniCPM5-2B-GGUF:Q4_K_M
  • Q5_K_M
    • Ollamaollama run hf.co/bartowski/MiniCPM5-2B-GGUF:Q5_K_M
    • LM Studiolms get bartowski/MiniCPM5-2B-GGUF@q5_k_m
    • llama.cppllama-server -hf bartowski/MiniCPM5-2B-GGUF:Q5_K_M
  • Q6_K
    • Ollamaollama run hf.co/bartowski/MiniCPM5-2B-GGUF:Q6_K
    • LM Studiolms get bartowski/MiniCPM5-2B-GGUF@q6_k
    • llama.cppllama-server -hf bartowski/MiniCPM5-2B-GGUF:Q6_K
  • mlx-8bit
    • LM Studiolms get mlx-community/MiniCPM5-2B-8bit
    • MLXmlx_lm.server --model mlx-community/MiniCPM5-2B-8bit
  • Q8_0
    • Ollamaollama run hf.co/bartowski/MiniCPM5-2B-GGUF:Q8_0
    • LM Studiolms get bartowski/MiniCPM5-2B-GGUF@q8_0
    • llama.cppllama-server -hf bartowski/MiniCPM5-2B-GGUF:Q8_0

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 the UK that runs MiniCPM5 2B fully in memory at 128k context is the NVIDIA Tesla P40, £261 at eBay, at about 26 tok/s (estimated). The best value is the NVIDIA GeForce RTX 3080 10GB (about 57 tok/s for £466). The fastest we price is the NVIDIA GeForce RTX 5090, 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.