Key facts
- MiniCPM5-15B-A2.5B (OpenBMB, released December 3–4, 2026, Apache 2.0) is a 15B mixture-of-experts model with about 2.5B active parameters and a 524,288-token context. The official Q4_K_M GGUF is 9.12 GB.
- It runs in stock llama.cpp b12847 or later. On our 8-vCPU box with no GPU (build b12977), it loaded in about 14–17 s, used about 10 GB of RAM at an 8K context and generated about 23 tokens/s.
- OpenBMB’s settings:
--min-p 0always,temperature 1.0 / top_p 0.95with thinking on, and0.7 / 0.8 / top_k 20 / presence_penalty 1.5with thinking off. You switch thinking per request withchat_template_kwargs. - The DSpark draft model (862 MB) sped up code from 22.8 to 36.0 tokens/s on our CPU, but slowed down prose (23.2 to 12.3). Test it on your own workload before you leave it on.
- Ollama has no official
minicpm5model yet, and OpenBMB’s guide says current Ollama engines can’t load theminicpm5_moearchitecture without a swapped-in llama.cpp build.
Tested on 8 vCPU Intel Xeon, no GPU, 16 GB RAM, Debian 13, llama.cpp b12977 (December 5, 2026)
MiniCPM5-15B-A2.5B is the rare new model that fits on a 16 GB laptop and still scores well on independent tests (11 on the Artificial Analysis Intelligence Index). This post collects the settings that matter when you run it locally, checked against OpenBMB’s docs and tested on our own CPU-only box on December 5, 2026.
Tip 1: Start from the official Q4_K_M and a recent llama.cpp
The MiniCPM5 GGUF repo has three files: Q4_K_M (9.12 GB), Q8_0 (15.97 GB) and BF16 (30.03 GB). Q4_K_M is the one for 16 GB machines. The model card asks for llama.cpp b12847 or later, because support for the new minicpm5_moe architecture only merged in late November. llama.cpp v1.1.1 (December 4) lists “MiniCPM5 MoE” among its new models. We used the prebuilt CPU build b12977.
huggingface-cli download openbmb/MiniCPM5-15B-A2.5B-GGUF MiniCPM5-15B-A2.5B-Q4_K_M.gguf --local-dir .
./llama-server -m MiniCPM5-15B-A2.5B-Q4_K_M.gguf -a MiniCPM5-15B-A2.5B \
--port 8080 -fa on --min-p 0 -c 8192 --jinja
On a GPU, add -ngl 99 as in OpenBMB’s command. On our box the server was ready in 14–17 seconds and used 10.0 GB of resident memory with the default 4 slots sharing an 8,192-token context.
Tip 2: Always set min-p to 0
llama.cpp applies min_p = 0.05 by default. OpenBMB’s llama.cpp guide explains why that’s a problem for this model: the low-probability tokens it throws away are often the ones the model needs to break out of a repetition loop. Put --min-p 0 on the server, and send "min_p": 0 in requests too if your client sets its own sampling values. If you still see loops in thinking mode, the guide suggests adding repeat_penalty 1.05.
Tip 3: Turn thinking on or off per request
MiniCPM5 is a hybrid model. Thinking is on by default. To turn it off for one request, pass the chat-template flag through the OpenAI-compatible API:
curl -s localhost:8080/v1/chat/completions -d '{
"messages":[{"role":"user","content":"A train leaves at 9:40 and arrives at 13:15. How long is the trip in minutes?"}],
"min_p":0, "chat_template_kwargs":{"enable_thinking":false}}'

On that question, thinking off took 12 output tokens (1.7 seconds). Thinking on wrote a short reasoning block first and used 108 tokens (5.7 seconds). Both got 215 minutes right. Use different sampling for each mode, as OpenBMB recommends:
| Mode | temperature | top_p | Other |
|---|---|---|---|
| Thinking (default) | 1.0 | 0.95 | min_p 0; add repeat_penalty 1.05 if it repeats |
| Non-thinking | 0.7 | 0.80 | top_k 20, presence_penalty 1.5, min_p 0 |
One more server detail: llama.cpp b12977 logs that this chat template “supports preserving reasoning” and keeps it on by default, which can use more tokens over a long chat. Start the server with --no-reasoning-preserve if your context fills up too fast.
Tip 4: Test DSpark on your own prompts before keeping it
OpenBMB also published MiniCPM5-15B-A2.5B-DSpark-GGUF, a small (862 MB) draft model for speculative decoding. The draft guesses several tokens ahead, and the main model checks them all in one pass. When the guesses are right, you get several tokens for the price of one. The card’s command:
./llama-server -m MiniCPM5-15B-A2.5B-Q4_K_M.gguf -a MiniCPM5-15B-A2.5B --port 8080 -fa on --min-p 0 -c 8192 --jinja \
-md MiniCPM5-15B-A2.5B-DSpark.gguf --spec-type draft-dspark --spec-draft-n-max 7 --spec-draft-p-min 0
The card warns that with a quantized main model the draft’s hit rate can drop, and suggests lowering --spec-draft-n-max (for example to 2). We ran three prompts at temperature 0 with thinking off, with no draft, with 7 draft tokens and with 3:

| Prompt | No draft | DSpark, n-max 7 | DSpark, n-max 3 |
|---|---|---|---|
| Python function with doctests | 22.8 t/s | 36.0 t/s (145 of 175 accepted) | 29.3 t/s |
| 150-word explanation | 23.2 t/s | 12.3 t/s (105 of 588) | 15.9 t/s |
| Bash script | 23.6 t/s | 18.9 t/s (286 of 788) | 18.2 t/s |
Code that follows predictable patterns got a big speedup, because the draft guessed most tokens right. Free-form prose went the other way: most guesses were rejected, and on a CPU the wasted draft work costs more than it saves. Our box is shared, so single runs vary (a first no-draft run gave 11.6–22.4 t/s). Treat these as directions, not exact numbers. On a GPU, where checking a batch of tokens is nearly free, the trade-off should look better.
Tip 5: Tool calls work in stock llama.cpp, with limits
We sent a get_weather tool definition and asked for Lisbon’s weather in Celsius. The stock b12977 server returned a proper tool_calls entry with {"city":"Lisbon","unit":"c"} and finish_reason: tool_calls, in 3.2 seconds. For agent harnesses that need more, OpenBMB points to a separate tool-parser branch with an extended MiniCPM5 XML parser and Codex tool discovery. The model card lists Codex, Claude Code, DeepSeek Harness and WorkBuddy as supported harnesses.
Tip 6: Using Ollama? Expect extra work for now
There’s no minicpm5 page in the Ollama library yet. OpenBMB’s Ollama guide says current Ollama releases fail with unknown model architecture: 'minicpm5_moe'. Its workaround is to build llama.cpp’s llama-server yourself, copy it over the one inside Ollama, and then import the GGUF with a Modelfile. That works, but it edits your Ollama install. Until Ollama ships support, plain llama.cpp is the simpler route. If you’re new to llama.cpp, start with our llama.cpp v1 install guide.
The takeaway
MiniCPM5 is easy to run well if you change three defaults: set min-p to 0, choose the sampling preset that matches the thinking mode, and keep the context only as large as you need. Turn on DSpark for coding sessions, and test it before using it for writing. On a CPU-only machine with 16 GB of RAM, about 23 tokens per second is very usable for chat and tool calls.
Sources (checked December 5, 2026): MiniCPM5-15B-A2.5B model card, MiniCPM5 GGUF files, DSpark GGUF, OpenBMB llama.cpp guide, OpenBMB Ollama guide, OpenBMB changelog, llama.cpp releases, Artificial Analysis: MiniCPM5-15B-A2.5B. Hands-on results are from our test box.
Cover image: from the openbmb/MiniCPM5-15B-A2.5B-DSpark-GGUF model card on Hugging Face
