O

MiniCPM5-2B

LLMby OpenBMB·Model page

OpenBMB's 2.5B MiniCPM5 long-context LLM with tool calling, built for on-device and edge AI.

Share:

Model Description

Highlights

We are releasing MiniCPM5-2B, the second model in the MiniCPM5 series, following MiniCPM5-1B. It is a dense 2B Transformer that scales up the same training recipe, built for on-device, local deployment, and resource-constrained scenarios, reaching 2B-class open-source SOTA.

🏆 2B-class open-source SOTA: compared with strong open-source models of similar size, MiniCPM5-2B achieves SOTA performance within this comparison set. It remains competitive with 4B-class models overall, while showing its advantages over models of comparable size in coding, mathematics, long-context understanding, tool use, and agentic tasks.

📂 Open High-Quality Data: Alongside the model, we are releasing the high-quality training datasets behind it as part of the UltraData family: UltraX, a high-quality web pre-training dataset; UltraData-Code, featuring L0–L3 tiered code data management to drive a significant leap in coding capabilities; UltraData-SFT-Agent-2609, comprising 500K agent training samples to enhance comprehensive on-device agent capabilities; and UltraData-RL-2609, with 80K+ high-quality RL training samples covering mathematics, code, general knowledge, and long-context reasoning.

Model List

Use this directory to choose the model format that matches your runtime:

MiniCPM5-2B

MiniCPM5-1B

Model Information

MiniCPM5-2B has the following features:

  • Type: Causal Language Model
  • Architecture: Standard LlamaForCausalLM
  • Number of Parameters: 2,516,756,480
  • Number of Non-Embedding Parameters: 1,981,982,720
  • Number of Layers: 42
  • Number of Attention Heads (GQA): 16 for Q and 2 for KV
  • Context Length: 131,072

Introduction

MiniCPM5-2B is the second model in the MiniCPM5 series. It is designed for local assistants, coding agents, tool-use workflows, and reasoning scenarios where a compact model is preferred. The model keeps a small deployment footprint while providing native long-context support.

Evaluation Results

We compare MiniCPM5-2B with strong open-source models in the same size class, including LFM2.5-2.6B, Qwen3.5-2B, and Gemma-4-E2B-it, while also listing larger models such as Qwen3.5-4B, granite-4.2-3B, Nemotron-3-Nano-4B, Gemma-4-E4B-it, and LFM2.5-8B-A1B for reference.

Within this comparison set, MiniCPM5-2B reaches 2B-class open-source SOTA with an average score of 53.9, and also exceeds all of the larger models included here (the highest is 51.1). Its advantages are most visible in code reasoning, math reasoning, long-context understanding, tool use, and multiple agentic tasks.

53.933.228.024.651.142.732.631.228.4 Code Reasoning 69.142.120.242.956.458.950.753.939.8 68.030.910.327.158.354.651.645.827.8 17.50.00.00.07.05.35.31.80.0 32.511.22.611.624.821.820.019.08.2 26.3†14.2†2.8†20.9†16.1†24.9†16.4†24.4†7.8† Math Reasoning 86.541.929.631.778.879.456.337.146.0 86.545.229.039.882.783.562.145.056.7 63.833.720.517.864.060.851.330.138.5 94.689.685.885.499.097.091.688.293.2 Instruction Following 66.359.046.025.759.073.058.328.351.0 86.793.477.531.490.293.788.044.490.8 71.876.857.140.373.675.965.945.971.4 General Knowledge 70.865.2
Author
O
OpenBMB
Organization
openbmb
Details
Downloads13
Likes146
AccessOpen Source
Tasktext-generation
Parameters2.5B
Trending139
Licenseapache-2.0
Librarytransformers
CreatedSep 6, 2026
UpdatedSep 7, 2026
View on Hugging Face
Languages
enzh
Get the full context.

Sign up to read complete case studies, access detailed metrics, and unlock all use cases.

MiniCPM5-2B — AI Model Details | Applied