LLMs · OpenBMB
MiniCPM3 4B
- Parameters
- 4.1B
- Architecture
- Dense
- Max context
- 32K tokens
- License
- apache-2.0
- Released
- 2024-09
How to run it
Quantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
huggingface.co/openbmb/MiniCPM3-4B-GGUF (opens in a new tab)
ollama run hf.co/openbmb/MiniCPM3-4B-GGUFOriginal weights · Hugging Face
Full-precision files from OpenBMB, for fine-tuning, vLLM, Transformers.
Memory needed
Weights plus KV cache and runtime overhead. Leave a little extra free for the operating system and other apps.
| Quantization | Quality | Weights | Total at 8K context | Total at 32K context | Download |
|---|---|---|---|---|---|
Q2_K |
Low | 1.6 GB | 2.5 GB | 3.4 GB | GGUF files (opens in a new tab) |
Q3_K_M |
Low | 2.0 GB | 2.9 GB | 3.8 GB | GGUF files (opens in a new tab) |
Q4_K_M |
Good | 2.5 GB | 3.4 GB | 4.3 GB | GGUF (opens in a new tab) |
Q5_K_M |
High | 2.9 GB | 3.8 GB | 4.7 GB | GGUF files (opens in a new tab) |
Q6_K |
High | 3.3 GB | 4.2 GB | 5.1 GB | GGUF files (opens in a new tab) |
Q8_0 |
Very high | 4.3 GB | 5.2 GB | 6.1 GB | GGUF files (opens in a new tab) |
F16 |
Full | 8.1 GB | 9.0 GB | 9.9 GB | GGUF (opens in a new tab) Original weights (opens in a new tab) |
Best hardware for MiniCPM3 4B
The least expensive GPU in our catalog that runs it without offloading is the Intel Arc A380 (launch price $139) at Q4_K_M.
| Grade · points | Hardware | Quant | Memory | Speed | Fit |
|---|---|---|---|---|---|
| 72 ptsGreat (A) · 72 of 100 points: Model quality 17.1/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 | NVIDIA GeForce RTX 4060 | Q8_0 | 5.6 GB / 8.0 GB | 41.8 tok/s | Runs well |
| 71 ptsGood (B) · 71 of 100 points: Model quality 17.1/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 14.2/15 | NVIDIA GeForce RTX 4070 Ti SUPER | F16 | 9.8 GB / 16.0 GB | 47.6 tok/s | Runs well |
| 71 ptsGood (B) · 71 of 100 points: Model quality 17.1/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 14.2/15 | NVIDIA GeForce RTX 4080 SUPER | F16 | 9.8 GB / 16.0 GB | 52.1 tok/s | Runs well |
| 71 ptsGood (B) · 71 of 100 points: Model quality 17.1/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 14.2/15 | NVIDIA GeForce RTX 5070 Ti | F16 | 9.8 GB / 16.0 GB | 63.4 tok/s | Runs well |
| 71 ptsGood (B) · 71 of 100 points: Model quality 17.1/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 14.2/15 | NVIDIA GeForce RTX 5080 | F16 | 9.8 GB / 16.0 GB | 67.9 tok/s | Runs well |
| 68 ptsGood (B) · 68 of 100 points: Model quality 17.1/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 11.2/15 | Intel Arc B580 | Q8_0 | 5.8 GB / 12.0 GB | 53.5 tok/s | Runs well |
| 68 ptsGood (B) · 68 of 100 points: Model quality 17.1/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 11.2/15 | NVIDIA GeForce RTX 3060 12GB | Q8_0 | 5.8 GB / 12.0 GB | 55.3 tok/s | Runs well |
| 68 ptsGood (B) · 68 of 100 points: Model quality 17.1/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 11.2/15 | NVIDIA GeForce RTX 4070 SUPER | Q8_0 | 5.8 GB / 12.0 GB | 77.4 tok/s | Runs well |
| 66 ptsGood (B) · 66 of 100 points: Model quality 17.1/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 9.8/15 | AMD Radeon RX 7900 XTX | F16 | 10.2 GB / 24.0 GB | 58.5 tok/s | Runs well |
| 66 ptsGood (B) · 66 of 100 points: Model quality 17.1/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 9.8/15 | NVIDIA GeForce RTX 3090 | F16 | 10.2 GB / 24.0 GB | 66.2 tok/s | Runs well |
Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.