MiniCPM5 2B needs about 2.3 GB of memory at IQ4_XS (a 1.4 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 4 quants, from 1.2 GB (IQ3_M) to 2.1 GB (Q6_K). Longer context needs more: at 32K tokens the KV cache alone adds about 1.4 GB.
MiniCPM5 2B – a 2.52B dense Llama model for local reasoning and tool use
MiniCPM5 2B is a 2.52B parameter dense Llama model with a native context length of 131,072 tokens. It is optimized for on‑device, local deployment and excels in reasoning, coding, and tool‑use tasks.
Good at
- Long‑context reasoning
- Coding assistance
- Tool‑use workflows
Limits
- No vision support
- Requires at least 2.1 GB VRAM for IQ3_M
- License is Apache‑2.0
Best for
- Local chat assistants
- Coding agents
- Tool‑integrated workflows
Who it’s for. Developers and researchers who need a compact, high‑performance LLM that can run on modest hardware and support long‑context applications. The model is suitable for building local assistants and coding tools.
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| IQ3_M | 1.2 GB | 2.1 GB | Fits | Get file → | |
| IQ4_XS | 1.4 GB | 2.3 GB | Fits | Get file → | |
| IQ4_NL | 1.5 GB | 2.4 GB | Fits | Get file → | |
| Q6_K | 2.1 GB | 2.9 GB | Fits | Get file → |
For 8 GB VRAM, IQ3_M (1.23 GB) or IQ4_XS (1.43 GB) are recommended. If 12 GB VRAM is available, IQ4_NL (1.5 GB) or Q6_K (2.07 GB) can be used for higher precision. Memory estimates are approximate.
What GPU do you need for MiniCPM5 2B?
These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.
- 4 GB VRAM: the best quant that fits is Q6_K (2.1 GB file, about 2.9 GB in use).
Which MiniCPM5 2B quant should you choose?
IQ4_XS (1.4 GB) is the middle option in this repository. The usual sweet spot between file size and quality, and the quant most people start with.
If memory is tight, the smallest file is IQ3_M at 1.2 GB, with the quality trade-offs that come with fewer bits. A reasonable choice when a 4-bit file will not fit, mostly on larger models. Quality loss is noticeable but often acceptable.
New to quant names? Read GGUF quantization explained.
Specifications
Architecture from the GGUF header
Source
Frequently asked questions about MiniCPM5 2B
How much VRAM does MiniCPM5 2B need?
About 2.3 GB at IQ4_XS with an 8K context window. That is the 1.4 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.
Can I run MiniCPM5 2B on an 8 GB GPU?
Yes, with Q6_K: the 2.1 GB file needs about 2.9 GB at 8K context. Larger quants in this repository do not fit in 8 GB.
What is the file size of MiniCPM5 2B GGUF?
It depends on the quant: IQ3_M is 1.2 GB, IQ4_XS is 1.4 GB, IQ4_NL is 1.5 GB, Q6_K is 2.1 GB.
What context length does MiniCPM5 2B support?
The GGUF header lists a trained context length of 131,072 tokens (128K). The KV cache grows with the context you use: about 0.4 GB at 8K and 1.4 GB at 32K.
Where can I download MiniCPM5 2B GGUF?
The files are on Hugging Face in the SandLogicTechnologies/minicpm5-2b-gguf repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.
What license does MiniCPM5 2B use?
Hugging Face lists the license as apache-2.0. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.
Can I run MiniCPM5 2B on 8 GB VRAM?
Yes, IQ3_M or IQ4_XS quantizations fit within 8 GB VRAM, using about 2.1–2.3 GB of memory at 8 k context.
Does the model support vision?
No, the model has no vision capability.
What license does the model use?
The model is released under the Apache‑2.0 license.