MiniCPM-1.2B
by Zhipu AI (Z.ai) · Jun 3, 2024
MiniCPM-1.2B is an open-weight code model from Zhipu AI (Z.ai), released Jun 3, 2024. It has 1.2B parameters.
- Provider
- Zhipu AI (Z.ai)
- Released
- Jun 3, 2024
- Type
- Code model
- Parameters
- 1.2B
- Context window
- —
- Max output
- —
- Input
- text
- Output
- text
- Weights
- Open weights
- License
- Open (restricted)
- Knowledge cutoff
- —
- Status
- Historical
- Training compute
- 7.9e+21 FLOP
About MiniCPM-1.2B
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-1.2B
MiniCPM-1.2B 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 1.2B parameters it needs roughly 1 GB of memory at 4-bit quantization.
MiniCPM-1.2B vs alternatives
- MiniCPM-1.2B vs Qwen2.5-Coder (1.5B)
- MiniCPM-1.2B vs OpenELM-1.1B
- MiniCPM-1.2B vs Gemini 2.0 Pro
- MiniCPM-1.2B vs StarCoder 2 3B
- MiniCPM-1.2B vs Granite 3.0 2B
- MiniCPM-1.2B vs Stable Code 3B
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| Qwen2.5-Coder (1.5B)open | Alibaba (Qwen) | Sep 2024 | 1.5B | — | — | — | 89.1 |
| OpenELM-1.1Bopen | Apple | May 2024 | 1.1B | — | — | — | — |
| Gemini 2.0 Pro | Google DeepMind | Dec 2024 | — | — | — | — | 135.4 |
| StarCoder 2 3Bopen | NVIDIA | Feb 2024 | 3B | — | — | — | 66.6 |
| Granite 3.0 2Bopen | IBM | Oct 2024 | 2.6B | — | — | — | — |
| Stable Code 3Bopen | Stability AI | Jan 2024 | 2.8B | — | — | — | — |
| DeepSeek Coder 1.3Bopen | DeepSeek | Nov 2023 | 1.3B | — | — | — | — |
| OpenELM-3Bopen | Apple | May 2024 | 3B | — | — | — | — |
More models from Zhipu AI (Z.ai)
All Zhipu AI (Z.ai) models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| GLM-5.3-Flashopen | Aug 2026 | 321B | 1M | $0.12 | $0.418 |
| GLM-5.3open | Aug 2026 | 753B | 1M | $1.20 | $4.18 |
| GLM-5.2open | Jun 2026 | 753B | 1M | $1.20 | $4.18 |
| GLM-5.1open | Apr 2026 | 754B | 200K | $0.896 | $3.59 |
| GLM-5open | Feb 2026 | 754B | 200K | $0.598 | $2.69 |
| GLM-4.7open | Dec 2025 | 358B | 200K | $0.448 | $2.09 |
| GLM-4.7-Flashopen | Jan 2026 | 31B | 200K | Free | Free |
| GLM-4.5-Airopen | Jul 2025 | 110B | 128K | $0.12 | $0.896 |
Frequently asked questions
Who made MiniCPM-1.2B?
MiniCPM-1.2B was developed by Zhipu AI (Z.ai) (China,China). It was released on Jun 3, 2024.
Is MiniCPM-1.2B open source?
Yes. MiniCPM-1.2B's weights are publicly available, so you can download and run it yourself.
How many parameters does MiniCPM-1.2B have?
MiniCPM-1.2B has 1.2B parameters.
Sources: epoch · paper. Last updated 2026-11-22.