A 15-billion-parameter language model that writes a little over eleven tokens per second on a server with no GPU at all. That is the pitch for MiniCPM5-15B-A2.5B, which OpenBMB released on November 18, 2026, and it mostly holds up. We ran the 4-bit build on an eight-core cloud machine, benchmarked it, had it call a tool and asked it for real code. It is fast and genuinely useful. Its code still needs your tests before it goes anywhere.
The name tells you how it works. 15B is the total parameter count, A2.5B the 2.5 billion parameters that actually run for each token. Memory use follows the big number, speed follows the small one.
What is inside MiniCPM5
MiniCPM5-15B-A2.5B is a mixture-of-experts (MoE) model. Instead of one wide feed-forward block per layer it has many small sub-networks, called experts, and a router picks which of them handle each token. According to the model card on Hugging Face, the model has 28 layers. Layer 0 is a conventional dense block 8,192 neurons wide; layers 1 through 27 are MoE layers with 160 experts each. Every token goes through 16 routed experts plus one shared expert that is always on, and each expert is only 512 neurons wide. That is an unusually fine split. Lots of narrow experts give the router more combinations to work with than a handful of big ones.
Attention uses grouped-query attention with 32 query heads but just 2 key-value heads, plus an extra gating step that OpenBMB calls gated attention. Having so few KV heads keeps the context cache small, which matters later. The vocabulary has 130,560 tokens and the official context window is 524,288 tokens. The license is Apache 2.0, so commercial use needs no separate agreement.
OpenBMB also published the intermediate checkpoints: Base (pre-training only), Midtrain and SFT, along with GGUF, MLX, GPTQ and LiteRT builds and a small draft model called DSpark for speculative decoding. That is more material for fine-tuning or studying post-training than most open-weight releases offer.
Reading the benchmark claims
OpenBMB is not shy. The model card says MiniCPM5 beats Qwen3.6-35B-A3B overall with less than half the parameters. It scores 11 on the AA-Index, first among models under 20 billion parameters, and ranks first on 22 of 36 benchmarks against the MoE models it was compared with. At the Chinese Mathematical Olympiad finals (CMO 2026) it received an official gold rating with 123 of 126 points, according to the vendor. For IMO 2026 OpenBMB reports 32 points against a gold cutoff of 29, though that number comes from its own grading; the harness is on GitHub.
Treat these as a signal rather than proof. Most of the numbers come from the vendor’s own runs against baselines it chose. Top math scores also come from long reasoning traces, and locally those take minutes, as our test below shows. At less than three weeks old, the model has barely had time for independent testing. What is worth taking seriously is the order of magnitude: a model this size claims to keep up in math and coding with models that need twice the memory.
Running MiniCPM5 locally with llama.cpp
Support for the minicpm5_moe architecture landed in llama.cpp with pull request #32644, merged on November 29. OpenBMB’s llama.cpp guide therefore asks for build b12847 or newer. Older binaries stop with unknown model architecture, and OpenBMB says the same applies to Ollama up to 0.40.19, whose bundled engine predates the merge. Ollama users either wait or swap the engine. With llama.cpp itself you do not even need to compile anything; the prebuilt Linux release works:
# Prebuilt CPU release of llama.cpp (b12847 and later know minicpm5_moe)
curl -LO https://github.com/ggml-org/llama.cpp/releases/download/b13030/llama-b13030-bin-ubuntu-x64.tar.gz
tar xzf llama-b13030-bin-ubuntu-x64.tar.gz
# Fetch the Q4_K_M weights (8.49 GiB)
hf download openbmb/MiniCPM5-15B-A2.5B-GGUF MiniCPM5-15B-A2.5B-Q4_K_M.gguf --local-dir ./models
# OpenAI-compatible server with an 8,192-token context
./llama-b13030/llama-server -m models/MiniCPM5-15B-A2.5B-Q4_K_M.gguf \
-a MiniCPM5-15B-A2.5B --port 8080 -t 8 -fa on --min-p 0 -c 8192 --jinja
Two flags deserve attention. --jinja uses the chat template embedded in the GGUF file; without it, tool calls and the thinking switch do not work. --min-p 0 disables a filter llama.cpp applies by default at 0.05. OpenBMB’s reasoning is that the unlikely tokens this filter throws away are often the ones the model needs to escape a repetition loop. For a permanent setup, our guide to running a local LLM with llama.cpp server covers the remaining steps.
OpenBMB only ships three quantization levels: BF16 at 27.97 GiB, Q8_0 at 14.87 GiB and Q4_K_M at 8.49 GiB. On a 16 GB machine, Q4_K_M is the only realistic option. Our GGUF quantization comparison shows how much quality each level gives up.
Our hands-on test on eight CPU cores
The test machine was a cloud VM with 8 virtual cores of an Intel Xeon (Sapphire Rapids), 15 GB of RAM and no GPU, roughly a well-equipped developer box without a graphics card. We used llama.cpp build b13030 and the Q4_K_M file. Here is the llama-bench output, trimmed to the relevant columns:
$ llama-bench -m MiniCPM5-15B-A2.5B-Q4_K_M.gguf -t 8 -p 512 -n 128 -r 2
| model | size | params | test | t/s |
| minicpm5_moe ?B Q4_K - Medium | 8.49 GiB | 15.00 B | pp512 | 100.63 ± 4.51 |
| minicpm5_moe ?B Q4_K - Medium | 8.49 GiB | 15.00 B | tg128 | 11.39 ± 0.88 |
build: a0292428f (13030)
About 100 tokens per second for prompt processing and just over 11 for generation is a very good result for 15 billion parameters on a CPU. A dense model of the same size would have to read six times as many weights per token and would be correspondingly slower here. In server use with longer answers we saw 8.7 to 9.8 tokens per second. After loading, the process sat at about 10.8 GiB of resident memory, including the memory-mapped model file. On a 16 GB laptop with a browser and an IDE open, that is tight.
For the coding test we switched thinking off and asked for a Python function that converts ISO 8601 durations such as PT1H30M or P2DT3H into seconds and raises ValueError on invalid input like P or PT. Trimmed, the request looked like this:
curl -s http://127.0.0.1:8080/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "MiniCPM5-15B-A2.5B",
"messages": [{"role": "user", "content": "Write a Python function parse_duration ..."}],
"chat_template_kwargs": {"enable_thinking": false},
"temperature": 0.7, "top_p": 0.8, "top_k": 20,
"min_p": 0, "presence_penalty": 1.5
}'
The answer arrived after 25 seconds: tidy-looking code built around a single regular expression. Our eight test cases found five correct. PT1H30M, PT45S and P1W worked, and so did the errors for empty input and 1H. P2DT3H failed because the pattern has no slot for days at all, even though that exact example was in the prompt. P and PT returned 0 instead of raising. With thinking turned on we wanted to see whether the model would catch these mistakes itself. In its reasoning it did handle days correctly. But after 8,106 tokens and just over 21 minutes the 8,192-token context was full, and the answer contained not a single line of code. At the end the reasoning was going in circles over whether a space belongs in a character class. Other processes were loading the machine during that run and speed dropped to 6.3 tokens per second. That does not change the takeaway: if you use thinking mode for code locally, you need a far larger context than 8,192 tokens and a lot of patience.
Tool calling went well. We gave the model a get_package_version function and asked for the current versions of Langflow on PyPI and Express on npm. After 9.4 seconds it returned two parallel calls with correct JSON, parsed cleanly by the stock llama.cpp server:
[
{"function": {"name": "get_package_version",
"arguments": "{\"registry\":\"pypi\",\"name\":\"langflow\"}"}},
{"function": {"name": "get_package_version",
"arguments": "{\"registry\":\"npm\",\"name\":\"express\"}"}}
]
OpenBMB also points to its own llama.cpp branch with an extended tool parser, mainly for Codex clients. For plain calls over /v1/chat/completions we did not need it. Our function calling tutorial for llama.cpp shows how to handle these calls in Python.
Thinking mode is on by default and costs a lot of time on a CPU. For a small logic question, how many runs of a cron job overlap if it starts every 30 minutes and runs for 47, the model produced 2,153 tokens and took 229 seconds, almost four minutes. The answer, at most two concurrent runs, was correct and briefly justified. For questions like that, thinking on a CPU is rarely worth the wait; for harder math or code it can be. You can turn it off per request with "chat_template_kwargs": {"enable_thinking": false}.
A 524,288-token context needs memory
The official context window is huge, and the two KV heads help a lot. By our math, with 28 layers, 2 KV heads of 128 dimensions and 16-bit values, the cache takes about 28 KiB per token. That is 224 MiB at 8,192 tokens but 14 GiB at the full 524,288, more than the Q4 weights themselves. The estimate assumes every layer uses full attention; the model card mentions no sliding window. On a CPU, compute time adds up as well: at 100 tokens per second, reading 100,000 tokens takes more than a quarter of an hour. Long documents work locally, but bring patience.
Who should try MiniCPM5
MiniCPM5-15B-A2.5B is one of the most interesting open models right now for machines without a strong GPU. You get readable speed on an ordinary CPU, a permissive license, working tool calls and a family of checkpoints to experiment with. It fits well as a local assistant for developers who do not want their data in the cloud, as an agent for contained tool-driven tasks and as a base for your own fine-tunes.
It is a poor fit for crowded 16 GB machines and for anyone expecting correct code on the first try. Our small test showed the familiar pattern for models this size: plausible code that misses edge cases. If you want to try it, start with Q4_K_M, llama.cpp b12847 or later and thinking turned off, and run every generated function through your own tests. The next things to watch are whether independent benchmarks confirm the vendor numbers and how much the DSpark draft model speeds up generation on a CPU.




