Model reference · open weights

MiniCPM5-Midtrain

LLMs openbmb Text gen 1 build Open weights 1 dl/mo

MiniCPM5-Midtrain is an open-weight language model from openbmb. MiniCPM5-2B-Midtrain (BF16) weighs 5.0 GB; the smallest configuration that runs it is RTX 3060 12 GB.

For self-hosting, compare this build's requirements below with the GPU you plan to rent.

  • MiniCPM5-Midtrain is a 2.5B parameter causal language model developed by openbmb for text generation in on-device and resource-constrained scenarios.
  • It features a 131,072 token context length and supports English and Chinese.
  • The model is released under the Apache-2.0 license.

Summary of the openbmb/MiniCPM5-2B-Midtrain model card, 2026-10-01

What it is

Released byopenbmb
Released2026-09-01
Parameters2.5B
VRAM5.0 GB for the weights

What it runs on

Memory and cards for MiniCPM5-2B-Midtrain (BF16)

5.0 GBweights, file size
43 MBcache per 1K tokens
647 MBruntime overhead, at least
131,072 tokenscontext max
CardRequests at onceContext maxMemory
8K each32K each
RTX 3060 12 GB164all 128K11.6 GB
RTX 4060 Ti 16 GB276all 128K15.4 GB
RTX 3090 24 GB5012all 128K23.4 GB
RTX 4090 24 GB5012all 128K23.4 GB
RTX 5090 32 GB7117all 128K31.0 GB
L40S 48 GB10827all 128K44.0 GB
A100 80 GB20551all 128K78.2 GB
H100 80 GB19448all 128K78.1 GB
RTX PRO 6000 Blackwell 96 GB23959all 128K93.8 GB
DGX Spark (GB10) 128 GB unified27769all 128K107 GB
H200 141 GB36491all 128K138 GB
B200 180 GB472118all 128K176 GB
Memory needed at each load
Requests at once8K tokens each32K tokens each
16.0 GB7.1 GB
57.4 GB12.7 GB
88.5 GB17.0 GB
1611.3 GB28.2 GB
3217.0 GB50.8 GB
6428.2 GB95.9 GB

One card, with vLLM's small-card settings.

From the model card

What openbmb says about MiniCPM5-Midtrain

Read the model card

English |

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.

#capability-comparison-radar {
  --foreground: #171717;
  display: block; width: 100%; max-width: 620px; margin: 0 auto; background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
#capability-comparison-radar svg { display: block; width: 100%; height: auto; background: #fff; }
#capability-comparison-radar .title { fill: var(--foreground); font-size: 16px; font-weight: 600; letter-spacing: 0; }
#capability-comparison-radar .axis-label { fill: #333; font-size: 12px; font-weight: 600; }
#capability-comparison-radar .ring { fill: none; stroke: rgba(128,128,128,.18); stroke-width: .8; }
#capability-comparison-radar .spoke { stroke: rgba(128,128,128,.25); stroke-width: .8; }
#capability-comparison-radar .ring-label { fill: #8a8a8a; font-size: 9px; }
#capability-comparison-radar .series { stroke-linejoin: round; }
#capability-comparison-radar .series.primary { stroke-width: 2.4; }
#capability-comparison-radar .legend-label { fill: #171717; font-size: 12px; font-weight: 600; }
#capability-comparison-radar .legend-average { fill: #666; font-size: 11px; }
#capability-comparison-radar .legend-swatch { rx: 3; }
@media (max-width: 900px) { #capability-comparison-radar { overflow-x: auto; } #capability-comparison-radar svg { min-width: 620px; } }

📂 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 i

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms