In short.
MiniCPM5-2B is an open-weight 2.5-billion-parameter text-generation model from OpenBMB for developers who want a compact model for local assistants, coding agents and tool use. Its main catch is that its impressive benchmark results are figures from the publisher's own comparison, and no independent check was done for this report. Technically it is a dense 42-layer LlamaForCausalLM with grouped-query attention (16 query heads, 2 key/value heads), a 131,072-token context length and a declared Apache-2.0 licence. In the card's comparison, scores marked with a dagger come from the official Artificial Analysis release and all others are described as reproduced internally. The card reports an average of 53.9, against 51.1 for the best larger model in its table (Qwen3.5-4B). The same table shows 4B-class models ahead on several individual tests, and some of the model's own scores on hard coding-agent tasks are low, for example SWE-bench Pro 14.4 and Terminal-Bench v2.1 8.6. Nothing was run or tested for this report; every performance statement below is what the card reports.
Researched and written by an AI model and checked by a second AI model. How it works
This report covers the complete MiniCPM5-2B model card text at the pinned Hugging Face revision 42433e90dad95123ab87729fd7011e7110629556, including its metadata block and licence declaration. Linked pages are outside the evidence and were not read: the sibling model repositories (SFT, mid-training, base, GGUF, MLX, GPTQ, DSpark, LiteRT, MiniCPM5-1B), the UltraData dataset pages, the GitHub cookbooks and agent skills, the LICENSE file at [https://github.com/OpenBMB/MiniCPM/blob/main/LICENSE], the technical report, the online demo and the FlagOS pages. The images in the card were not available as text: the RL plus OPD gain chart, with its per-benchmark breakdown, and the training-recipe diagram. Nothing was run or tested: the model was not downloaded and no command from the card was executed. Every benchmark figure is as reported in the publisher's comparison, where dagger-marked scores are attributed to the official Artificial Analysis release and the rest are described as reproduced internally.
The overview
What this resource is
MiniCPM5-2B is a language model published by OpenBMB on Hugging Face as openbmb/MiniCPM5-2B. The card calls it the second model in the MiniCPM5 series, after MiniCPM5-1B, and a dense 2B transformer that scales up the same training recipe. It is a causal language model with the pipeline tag text-generation. The card describes no image, audio or other non-text input.
The card gives these specifications: standard LlamaForCausalLM architecture, 2,516,756,480 parameters in total (1,981,982,720 excluding embeddings), 42 layers, grouped-query attention with 16 query heads and 2 key/value heads, and a context length of 131,072 tokens. The metadata lists English and Chinese as languages and Apache-2.0 as the licence.
This is the final BF16 release, post-trained with reinforcement learning (RL) plus on-policy distillation (OPD). The card lists sibling checkpoints: SFT-only, mid-training and base versions, plus GGUF, MLX 4-bit, GPTQ 4-bit, a DSpark draft model for speculative decoding and a LiteRT-LM build. Those are separate pages that were not read for this report.
Overall assessment
On the evidence, MiniCPM5-2B is a well-documented small model with a declared permissive licence, unusually broad runtime support and a clear tool-calling path. If the card's numbers hold up, it is a strong candidate for local assistants, coding and agent experiments where memory and cost matter. That is a conditional statement. The benchmark figures come from the publisher's comparison: dagger-marked scores are attributed to the official Artificial Analysis release, and the rest are described as reproduced internally. No independent check or hands-on test was done for this report.
Read the card selectively. The headline claim, an average of 53.9 that beats every larger model in the table, is stated plainly. The detail underneath is more mixed. Qwen3.5-4B scores higher on several rows, including MATH-500, MMLU-Pro, MMLU-Redux, GPQA-Diamond, SuperGPQA, LongBench v2, SWE-bench Pro and Terminal-Bench v2.1. On the instruction-following tests, granite-4.2-3B leads IFBench and IFEval and LFM2.5-2.6B leads Multi-IF. If you have a specific workload, look at the rows that match it rather than the average.
Who it is for
The card aims the model at local assistants, coding agents, tool-use workflows and reasoning scenarios where a compact model is preferred, and at on-device, local and resource-constrained deployment. That fits developers and hobbyists running models on their own machines, teams that want a self-hosted model behind an OpenAI-style endpoint, and people experimenting with small agent systems.
Besides Python serving, the card lists these deployment options: GGUF builds for llama.cpp, Ollama and LM Studio (which it describes as a Mac desktop app and OpenAI server), GGUF on ArcLight, an MLX 4-bit build for Apple Silicon, and a LiteRT-LM build for Android, iOS, desktop and IoT. The card does not say how much setup or coding each route needs, so ease of setup, including for beginners, is unknown. For experienced developers the card gives serving instructions for vLLM, SGLang and Transformers, fine-tuning cookbooks (TRL with PEFT, LLaMA-Factory, ms-swift, unsloth) and a speculative-decoding draft model.
It is a poor fit for three groups: anyone who needs image or audio understanding; anyone who needs languages beyond English and Chinese without testing them first, because the card reports no other-language results; and anyone who wants answers usable as professional advice. The card itself says responses on politics, health, finance and law are not reviewed by experts.
What it can do, as reported
The card reports results in nine capability groups. All figures below come from the card's own comparison and were not independently checked for this report. Code reasoning: LiveCodeBench v6 69.1, OJBench 32.5, SciCode (wbg) 26.3. Math: AIME 2025 86.5, AIME 2026 86.5, HMMT Feb 2026 63.8, MATH-500 94.6. Instruction following: IFBench 66.3, IFEval 86.7, Multi-IF 71.8. General knowledge: MMLU-Pro 70.8, MMLU-Redux 84.7, GPQA-Diamond 70.2, SuperGPQA 40.8, HLE 8.9.
Long context: AA-LCR 59.0, NoLiMa 68.1, LongBenchPro 44.8, LongBench v2 43.7. Tool use: BFCL v4 66.6, tau2-Bench Telecom 97.1, tau3-Bench Banking 20.8. Coding agent: SWE-bench Verified 46.4, SWE-bench Pro 14.4, Terminal-Bench v2.1 8.6. Search agent: BrowseComp-ZH 43.5, BrowseComp Top100 39.7, GAIA Text-103 88.7. General agent: GDPval-AA v2 19.6, Claw-Gym 59.2, WildClaw 23.9, QwenClaw 42.9. The card does not define Claw-Gym, WildClaw or QwenClaw, so those rows are hard to interpret.
For MiniCPM5-2B's own row, the card marks SciCode (wbg), HLE, GPQA-Diamond, AA-LCR, tau3-Bench Banking, Terminal-Bench v2.1 and GDPval-AA v2 as coming from the official Artificial Analysis release. The card's footnote says all other scores were reproduced internally. The card gives MiniCPM5-2B an average of 53.9. The other averages in the table are Qwen3.5-4B 51.1, granite-4.2-3B 42.7, Nemotron-3-Nano-4B 32.6, Gemma-4-E4B-it 31.2, LFM2.5-8B-A1B 28.4, LFM2.5-2.6B 33.2, Qwen3.5-2B 28.0 and Gemma-4-E2B-it 24.6. The card does not say how the average is computed, such as which rows are included or whether any are weighted.
Beyond plain chat, the card says the model has a thinking mode (the Transformers example passes enable_thinking=True to the chat template). It also emits XML-style tool calls, which SGLang's minicpm5 parser converts into OpenAI-compatible tool_calls. The card says post-training used 400B tokens of deep-thinking SFT. It does not say which mode was used for each benchmark.
Using it
What you need to run it
The card gives these minimum software versions: vLLM 0.21, SGLang 0.5.16 (the sglang[srt] package), and Transformers 5.6 together with accelerate and torch. For llama.cpp, the card shows llama-server with a GGUF file and the --jinja flag. The optional FlagOS multi-chip instructions mention Python 3.12 and other system-library versions, but those apply only to that route.
The card states no hardware requirements: no minimum GPU memory, RAM, CPU speed or throughput figures. As rough arithmetic only, not a figure from the card: 2.5 billion parameters stored as BF16 (2 bytes each) come to about 5 GB for the weights of the BF16 release alone. The key/value cache for long contexts comes on top of that, grows with context length and is not quantified in the card. The card explicitly lists the MLX and GPTQ variants as 4-bit. It does not state the precision of the GGUF build, and its llama.cpp example loads a file named MiniCPM5-2B-F16.gguf, so do not assume the GGUF files are smaller. The card gives no file sizes, memory requirements or quality loss for any variant.
The card says mainstream engines can load the model without custom kernels or a model-code fork. However, its DSpark speculative-decoding command and its FlagOS commands pass --trust-remote-code, which lets a model repository run its own Python code. Use the usual caution with that flag.
How it works
Architecturally it is a standard Llama-style decoder-only transformer with grouped-query attention, which is why existing inference engines can load it directly. The card calls the architecture standard and spends its training description on data and post-training.
Training, per the card, has three stages. Base training uses stable and decay phases, followed by mid-training to strengthen target capabilities. Post-training then runs SFT, RL and OPD. The SFT stage uses 400B tokens of deep-thinking data. The RL stage trains specialised teachers for maths, code, agentic tasks, writing and related areas, using a critic-based algorithm the card attributes to JustRL II. OPD then merges 16 RL-trained expert models, five of them agentic, into the single release model. At each response position it computes the full-vocabulary reverse KL divergence between student and teacher logits and uses that as the advantage estimate. It reuses the RL prompts as distillation data.
The card's text reports that RL plus OPD raised reasoning and general capabilities by an average of 10.96 points and agentic capabilities by 6.96 points, on benchmarks it says are listed below. That listing is an image that was not available as text, so the specific benchmarks and the gain on each are unknown here. Only the two averages are stated in the text.
The card says the training corpora and post-training data are released as the UltraData family: Ultra-FineWeb, Ultra-FineWeb-L3, UltraX-Preview, UltraData-Math, UltraData-Code, UltraData-SFT-2605, UltraData-SFT-Agent-2609 (500K agent samples) and UltraData-RL-2609 (80K+ RL samples). Those dataset pages were not read.
Setup paths in the card
The card recommends the sampling settings temperature 1.0, top_p 0.95 and min_p 0.0. If you see repetitive output, it suggests adding repetition_penalty 1.05. It notes that support for sampling parameters differs between engines. It also explains that llama.cpp's default min_p of 0.05 can cause repetition loops, so it sets min_p to 0.0 there.
vLLM: install vLLM 0.21 or later and run vllm serve openbmb/MiniCPM5-2B --port 8000; the card then queries an OpenAI-style chat completions endpoint on that port. SGLang: install sglang with the srt extra, version 0.5.16 or later, and run python -m sglang.launch_server --model-path openbmb/MiniCPM5-2B --port 30000. llama.cpp: run llama-server with the GGUF file, -ngl 99, -c 8192 and --jinja; the card says the context size can be adjusted. Transformers: load with AutoModelForCausalLM and AutoTokenizer using torch_dtype auto and device_map auto, then build the prompt with apply_chat_template.
For tool calling, the card recommends SGLang as the backend and gives the flag --tool-call-parser minicpm5 (or auto). It does not describe tool-calling behaviour on other engines. For speed, the card says the separate MiniCPM5-2B-DSpark draft model can be enabled in SGLang with the DSPARK speculative algorithm and a block size of 7, and that this keeps the target model's outputs unchanged.
The card links GitHub cookbooks and agent skill files for deployment with Transformers, vLLM, SGLang, llama.cpp, Ollama, LM Studio, MLX, ArcLight, vLLM Ascend and LiteRT-LM, and for fine-tuning with TRL, LLaMA-Factory, ms-swift and unsloth. Those linked files were not read, so their accuracy is unknown. Several FlagOS subsections in the card have headings with no content under them.
Worked example from the card
The card's smallest end-to-end example serves the model with vLLM and queries it with curl. After installing vLLM 0.21 or later, you start the server with vllm serve openbmb/MiniCPM5-2B --port 8000. You then send a POST request to [http://localhost:8000/v1/chat/completions] with a JSON body that names the model openbmb/MiniCPM5-2B, contains one user message asking the model to introduce itself briefly, and sets max_tokens 128 and temperature 1.0.
The card documents this as an OpenAI-style chat completions interface but shows no example response. So the actual reply format, and whether existing OpenAI-compatible client libraries work with it unchanged, are not confirmed here. The SGLang example is the same apart from the port (30000) and the launch command. This example was not run for this report, so its output, memory use and speed are unknown. The card recommends specific sampling settings and a repetition workaround, and notes that support for sampling parameters varies by inference framework, so expect to tune temperature, top_p and min_p for your own prompts.
Assessment & evidence
Limitations and risks
The card's own limitations text says outputs come from statistical patterns and may be inaccurate, biased or offensive, that crafted prompts can manipulate the model into unintended content, and that responses on sensitive topics are not reviewed by experts. The card gives no safety, bias or refusal-behaviour results, so those properties are unknown.
Even on the card's own numbers, scores on hard tasks are modest: SWE-bench Pro 14.4, Terminal-Bench v2.1 8.6, HLE 8.9, LCB-Pro 25Q2 Medium 17.5 and tau3-Bench Banking 20.8. Those levels may be impressive for a 2B model, but they do not mean it will reliably complete real engineering or agent tasks.
The comparison has methodological limits. The footnote says scores marked with a dagger come from the official Artificial Analysis release and all others were reproduced internally. The evaluation settings (thinking mode, token budgets, agent harness, sampling, number of runs) are not given. Several competitor cells are 0.0 or near zero, for example LCB-Pro Medium, GDPval-AA v2 and NoLiMa for some models. The card does not explain these, so their causes are unknown. The authors chose the comparison set, and other strong small models may be missing.
The card declares 131,072 tokens of long-context support and reports some long-context scores. It does not state the input lengths used in those tests or the memory cost of running near the limit. The llama.cpp example uses a context of only 8192. The card's only BibTeX citation entry is for the earlier MiniCPM4 paper (arXiv 2506.07900), which is also where its MiniCPM Tech Report link points. The card text also links an arXiv document on UltraData Tiered Data Management and a JustRL II page for the critic-based RL algorithm, but it does not identify a dedicated MiniCPM5 technical report.
Reasoning behind the assessment
The assessment rests on three things. First, the card is detailed and consistent about what the model is: parameter counts, layer and head counts, context length, training stages and runnable commands are specific rather than vague marketing. Second, the declared permissive licence and the standard Llama architecture lower the practical barriers to trying it. Third, the evidence for quality is the publisher's benchmark comparison. Its dagger-marked scores are attributed to the official Artificial Analysis release and the rest are described as reproduced internally. That is informative, but it was not independently checked for this report.
The claim that a 2B model matches or beats 3B to 8B models on average is plausible given what the card describes: heavy RL on maths, code and agentic tasks, merging 16 expert teachers into one model, and large agent and code datasets. Plausible is not the same as verified, and gains from targeted RL do not always carry over to your own tasks. That is why this report treats the card's numbers as reported figures and recommends a short test on your own data before committing.
Alternatives named in the card
The card compares MiniCPM5-2B with three same-size models (LFM2.5-2.6B, Qwen3.5-2B and Gemma-4-E2B-it) and with five larger reference models (Qwen3.5-4B, granite-4.2-3B, Nemotron-3-Nano-4B, Gemma-4-E4B-it and LFM2.5-8B-A1B). By the card's numbers, Qwen3.5-4B is the closest competitor (average 51.1) and is ahead on several knowledge, long-context and terminal-agent tests. granite-4.2-3B has the best IFBench (73.0) and IFEval (93.7) scores in the table. LFM2.5-2.6B has the best Multi-IF score (76.8) and the best IFEval score among the 2B-class models (93.4). If strict instruction following is your priority, those rows favour the alternatives.
Within the same family, the card lists MiniCPM5-1B, a smaller model in the series, and the SFT-only, mid-training and base checkpoints of MiniCPM5-2B. The card does not state what the earlier-stage checkpoints are intended for, and how the 1B model compares was not assessed. This card does not cover the licences, sizes or deployment support of the alternative models, so compare them using their own pages.
Evidence base
The only source for this report is the MiniCPM5-2B model card text at one pinned revision. It includes the metadata block, highlights, model list, model information, evaluation table with footnotes, training recipe, quickstart commands, tool-calling note, cookbook tables, FlagOS section, limitations, licence statement and citation. Nothing was run, no model weights were downloaded, and no commands from the card were executed.
Claims about architecture, parameter counts, context length, declared licence, supported engines and recommended sampling settings are stated directly in the card and carry little risk. Claims about relative performance come from the publisher's comparison: dagger-marked scores are attributed to the official Artificial Analysis release, the rest are described as reproduced internally, and none were independently checked for this report. The RL plus OPD average gains (10.96 points for reasoning and general capabilities, 6.96 points for agentic capabilities) are stated in the card's text. Only the per-benchmark breakdown, shown in an image, was not available as text. Linked pages were not read: datasets, sibling models, GitHub cookbooks, the technical report, the demo and the LICENSE file.
Access & freshness
Costs
The card states no price, subscription or usage fee for downloading or using the model weights, so download pricing and any fees are unknown. The Apache-2.0 licence declaration does not by itself establish what downloading costs. Operating costs are also unspecified. Self-hosting involves hardware or cloud compute, storage and engineering time, but the card quantifies none of these, so the total cost of running the model is unknown.
The card mentions an online demo on a Hugging Face Space. Whether that demo is free, rate-limited or time-limited is unknown; the demo page was not read. The FlagRelease platform in the optional multi-chip section is a separate service whose terms and pricing are unknown.
Licence and usage rights
What the card declares: its metadata says license: apache-2.0, and its License section says the repository and the MiniCPM model weights are released under the Apache-2.0 License, linking to [https://github.com/OpenBMB/MiniCPM/blob/main/LICENSE]. That LICENSE file was not captured, so the full licence terms are not part of the evidence. The captured card shows only the declaration. Any permissions and conditions it grants, for example on commercial use, modification or redistribution, depend on the full licence text, so read that file before relying on any of them.
The card also includes a disclaimer. The model is provided as is, without warranty of any kind, express or implied, and the developers are not liable for any damages arising from its use. Users must use the model only for lawful, compliant and ethical purposes, configure their own safeguards, and label AI-generated content where required. It prohibits deliberate jailbreaking, injection attacks and inducing harmful output, and says any such testing is at the user's own risk. The card does not explain how this wording interacts with the Apache-2.0 terms, and this report gives no legal advice on it.
This card does not state the licences of the released UltraData datasets, the compared models or the third-party tools in the deployment cookbooks, so those are unknown here. Check them separately if you plan to reuse the data or build on those tools.
Freshness
The card text was retrieved on 14 November 2026 from the pinned revision 42433e90dad95123ab87729fd7011e7110629556. The card does not state a release date. It cites recent benchmarks (AIME 2026, HMMT Feb 2026, Terminal-Bench v2.1) and dataset names ending in 2605 and 2609; it does not say whether those suffixes are date codes. The pinned card gives vLLM 0.21, SGLang 0.5.16 and Transformers 5.6 as minimum versions; compatibility with later releases of those projects is unknown.
Changes to the model card or weights after this revision are unknown. The card links the MiniCPM5-2B-LiteRT build under the litert-community organisation rather than OpenBMB, and the FlagOS builds under FlagRelease, so those variants may be updated on different schedules.
Suggested next steps
If you want to try it, pick the route that matches your setup: LM Studio, Ollama or llama.cpp with the GGUF build for local use, MLX on Apple Silicon, or vLLM or SGLang for a server. Start with the recommended sampling settings (temperature 1.0, top_p 0.95, min_p 0.0) and add a repetition penalty of 1.05 only if you see loops. If you need function calling, use SGLang with the minicpm5 tool-call parser.
Before depending on it, run a small evaluation on your own prompts, focused on the capability you care about (code, tool calls, long documents, Chinese or English writing). Compare it with one or two alternatives from the card's table. Measure memory and speed at the context length you actually need. If you plan to redistribute the weights or reuse the UltraData datasets, read the LICENSE file and the dataset pages first. Check the Hugging Face page for newer revisions before pinning a version.
