ApX logoApX logo
CalculatorCoursesPricing

MiniCPM5-2B

Open Source
Open Weights

Parameters

2B

Context Length

131K

Modality

Text

Architecture

Dense

KV Cache Rate

42 KB/tok

License

Apache 2.0

Release Date

6 Sept 2026

Knowledge Cutoff

-

API Pricing (per 1M)

Self-hosted only

Hardware & System Requirements

Precision

Context

Workload Memory: 3.76 GB

vLLM

INT4 · 8K context · 1 user

Base Weights: 0.93 GB

KV Cache: 0.33 GB

Runtime & Graphs: 2.50 GB

Minimum Required Hardware

1x NVIDIA L4 24GB

vLLM

3.8 / 21.6 GB

1x RTX 3060 12GB

llama.cpp

3.8 / 11.2 GB

Apple M4 24GB

llama.cpp

3.8 / 18.0 GB

Determine requirements for your specific workload:

Runtime requirements

Checkpoint format

FP16

CUDA

>= 11.8

PyTorch

>= 2.1

Transformers

>= 5.6.2

ArchitecturePrecisionAttention kernel

Blackwell, Hopper

Native FP16

FlashAttention-3

Ada Lovelace, Ampere

Native FP16

FlashAttention-2

Architecture Diagram

Input TokensToken EmbeddingPosition: RoPEHidden: 2k · Context: 131K · Vocab: 130.6kx 42 layersRMSNormPre-AttentionGrouped-Query Attention16Q / 2KV headsHead dim: 128+RMSNormPre-FFNFeed-Forward NetworkSwiGLUIntermediate: 6.1k+Final RMSNormOutput Logits

Evaluation Benchmarks

Rank

#200

BenchmarkScoreRank

Agentic Index

Artificial Analysis

0.07

#101

0.14

#140

Intelligence Index

Artificial Analysis

0.13

#242

Rankings

Overall Rank

#200

Coding Rank

#155

About MiniCPM5-2B

MiniCPM5-2B is an edge-focused compact language model developed by OpenBMB and ModelBest. It delivers high-efficiency reasoning, instruction following, and multilingual text generation suitable for on-device deployment.

Specifications

Attention

Attention Structure

Grouped-Query Attention

Attention Heads

16

Key-Value Heads

2

Attention Head Dimension

128

Position Embedding

ROPE

RoPE Theta

5,000,000

Normalization

RMS Normalization

Activation Function

SwiGLU

Dimensions

Base Precision

FP16

Hidden Dimension Size

2,048

Number of Layers

42

FFN Intermediate Size (Dense)

6,144

Tokenizer

Vocabulary Size

130,560

About MiniCPM

The MiniCPM model family developed by OpenBMB.


Other MiniCPM Models