OpenBMB, an open project associated with ModelBest, has introduced MiniCPM5-2B—a dense language model designed for direct on-device operation. This model features approximately 2.52 billion parameters and supports a native context length of 131,072 tokens, distributed under the Apache-2.0 license.
MiniCPM5-2B is the second release in the MiniCPM5 series, following MiniCPM5-1B. It utilizes the standard LlamaForCausalLM architecture, which includes 42 layers with grouped-query attention, employing 16 query heads and 2 key/value heads. This design allows core engines to load the model without requiring custom kernels or code forks.
The non-embedding parameters amount to about 1.98 billion, enabling the model to fit within the sub-4-billion parameter class suitable for hosting on phones, laptops, and edge devices.
When compared on the 34-benchmark dataset from OpenBMB, MiniCPM5-2B achieves an average score of 53.9, surpassing several larger open base models. Among these, Qwen3.5-4B scored 51.1, and granite-4.2-3B scored 42.7. Conversely, similarly sized models like LFM2.5-2.6B and Qwen3.5-2B lag behind.
The model's strengths are concentrated in areas such as coding agents, tool usage, and long-context information extraction. For instance, on LiveCodeBench v6, MiniCPM5-2B achieved 69.1 compared to 56.4 for Qwen3.5-4B, and on SWE-bench Verified, it reached 46.4 versus 33.6. High results were also obtained on τ²-Bench Telecom (97.1), BFCL v4 (66.6), and NoLiMa (68.1 versus 43.5).
In tasks requiring deep knowledge, performance remains closer to the upper limit of its size; for example, on MMLU-Pro, the model scored 70.8, while the benchmark 4B Qwen model achieved 78.0. OpenBMB specifically notes rows sourced from Artificial Analysis to allow users to distinguish between vendor data and third-party results.
The post-training process followed the UltraData level management: initially, supervised fine-tuning was conducted based on deep reasoning using approximately 400 billion tokens. Subsequently, specialized reinforcement-learning teachers for mathematics, code, agents, and writing were applied using the critique-based JustRL II algorithm. The final stage involved on-policy distillation, which merged 16 RL experts—five of which were agentic—into a single final student model.
OpenBMB attributes the average gain of about 10.96 points in reasoning and general benchmarks, along with 6.96 points in agentic benchmarks, to the RL and distillation stages. To allow for precise measurement of each component's contribution, the company releases intermediate checkpoints: Base, Midtrain, and SFT-only.
Along with the weights, UltraData publishes datasets covering web, code, mathematics, SFT, and RL samples for agents, enabling result reproducibility. Runtime support includes vLLM, SGLang, Transformers, llama.cpp, Ollama, LM Studio, MLX, LiteRT, and multi-chip FlagOS builds. Packages in GGUF, MLX, and GPTQ formats are provided for local assistants that need to perform tool calls and handle long context without relying on datacenter GPUs.
For developers focused on on-device deployment, MiniCPM5-2B is positioned not so much as a general knowledge giant, but rather as a compact Apache-licensed agent and coding companion that already surpasses some open 4B class base models based on published average scores.


