Skip to content
llmmodels
Code modelOpen weightsHistorical

MiniCPM-2.4B

by Zhipu AI (Z.ai) · Jun 3, 2024

MiniCPM-2.4B is an open-weight code model from Zhipu AI (Z.ai), released Jun 3, 2024. It has 2.4B parameters.

Released
Jun 3, 2024
Type
Code model
Parameters
2.4B
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
Open (restricted)
Knowledge cutoff
—
Status
Historical
Training compute
1.6e+22 FLOP

About MiniCPM-2.4B

The burgeoning interest in developing Large Language Models (LLMs) with up to trillion parameters has been met with concerns regarding resource efficiency and practical expense, particularly given the immense cost of experimentation. This scenario underscores the importance of exploring the potential of Small Language Models (SLMs) as a resource-efficient alternative. In this context, we introduce MiniCPM, specifically the 1.2B and 2.4B non-embedding parameter variants, not only excel in their respective categories but also demonstrate capabilities on par with 7B-13B LLMs.

How to run MiniCPM-2.4B

MiniCPM-2.4B is an open-weight model. Run it locally with Ollama, LM Studio or llama.cpp (quantized GGUF builds), or serve it on GPUs with vLLM, SGLang or Hugging Face TGI. At 2.4B parameters it needs roughly 1 GB of memory at 4-bit quantization.

MiniCPM-2.4B vs alternatives

Alternatives to MiniCPM-2.4B
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Qwen2.5-Coder (1.5B)openAlibaba (Qwen)Sep 20241.5B———89.1
StarCoder 2 3BopenNVIDIAFeb 20243B———66.6
Granite 3.0 2BopenIBMOct 20242.6B————
Stable Code 3BopenStability AIJan 20242.8B————
OpenELM-3BopenAppleMay 20243B————
Qwen2.5-Coder (7B)openAlibaba (Qwen)Sep 20247.6B———107.4
Phi-2openMicrosoftDec 20232.8B———96.2
Gemini 2.0 ProGoogle DeepMindDec 2024————135.4

More models from Zhipu AI (Z.ai)

All Zhipu AI (Z.ai) models →
ModelReleasedParamsContextInput $/1MOutput $/1M
GLM-5.3-FlashopenAug 2026321B1M$0.12$0.418
GLM-5.3openAug 2026753B1M$1.20$4.18
GLM-5.2openJun 2026753B1M$1.20$4.18
GLM-5.1openApr 2026754B200K$0.896$3.59
GLM-5openFeb 2026754B200K$0.598$2.69
GLM-4.7openDec 2025358B200K$0.448$2.09
GLM-4.7-FlashopenJan 202631B200KFreeFree
GLM-4.5-AiropenJul 2025110B128K$0.12$0.896

Frequently asked questions

Who made MiniCPM-2.4B?

MiniCPM-2.4B was developed by Zhipu AI (Z.ai) (China,China). It was released on Jun 3, 2024.

Is MiniCPM-2.4B open source?

Yes. MiniCPM-2.4B's weights are publicly available, so you can download and run it yourself.

How many parameters does MiniCPM-2.4B have?

MiniCPM-2.4B has 2.4B parameters.

Sources: epoch · paper. Last updated 2026-11-22.