Model reference · open weights
MiniCPM4.1 is an open-weight language model from openbmb. MiniCPM4.1-8B (BF16) weighs 16.4 GB; the smallest configuration that runs it is 2× RTX 3060 12 GB.
Summary of the openbmb/MiniCPM4.1-8B model card, 2026-10-01
What it is
| Released by | openbmb |
|---|---|
| Released | 2025-09-02 |
| Parameters | 8.2B |
| VRAM | 16.4 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory | |
|---|---|---|---|---|
| 8K each | 32K each | |||
| RTX 3060 12 GB … RTX 4060 Ti 16 GB 2 smaller cards | — | — | — | |
| RTX 3090 24 GB | 23 | 5 | all 64K | 23.4 GB |
| RTX 4090 24 GB | 23 | 5 | all 64K | 23.4 GB |
| RTX 5090 32 GB | 51 | 12 | all 64K | 31.0 GB |
| L40S 48 GB | 100 | 25 | all 64K | 44.0 GB |
| A100 80 GB | 227 | 56 | all 64K | 78.2 GB |
| H100 80 GB | 214 | 53 | all 64K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 272 | 68 | all 64K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 323 | 80 | all 64K | 107 GB |
| H200 141 GB | 437 | 109 | all 64K | 138 GB |
| B200 180 GB | 576 | 144 | all 64K | 176 GB |
| 2× RTX 3060 12 GB tensor parallel | 20 | 5 | all 64K | 11.6 GB a card |
| 2× RTX 4060 Ti 16 GB tensor parallel | 48 | 12 | all 64K | 15.4 GB a card |
| Requests at once | 8K tokens each | 32K tokens each |
|---|---|---|
| 1 | 17.3 GB | 18.2 GB |
| 5 | 18.4 GB | 22.4 GB |
| 8 | 19.2 GB | 25.7 GB |
| 16 | 21.4 GB | 34.3 GB |
| 32 | 25.7 GB | 51.4 GB |
| 64 | 34.3 GB | 85.8 GB |
One card, with vLLM's small-card settings.
From the model card
👋 Contact us in Discord and WeChat
MiniCPM4.1 is highlighted with following features:
✅ Strong Reasoning Capability: Surpasses similar-sized models on 15 tasks!
✅ Fast Generation: 3x decoding speedup for reasoning!
✅ Efficient Architecture: Trainable sparse attention, frequency-ranked speculative decoding!
MiniCPM4.1-8B: The latest version of MiniCPM4, with 8B parameters, support fusion thinking. (<-- you are here)
MiniCPM4.1-8B-GPTQ: MiniCPM4.1-8B in GPTQ format.
MiniCPM4.1-8B-AutoAWQ: MiniCPM4.1-8B in AutoAWQ format.
MiniCPM-4.1-8B-Marlin: MiniCPM4.1-8B in Marlin format.
MiniCPM4.1-8B-GGUF: MiniCPM4.1-8B in GGUF format.
MiniCPM4.1-8B-MLX: MiniCPM4.1-8B in MLX format.
MiniCPM4.1-8B-Eagle3: Eagle3 model for MiniCPM4.1-8B.
MiniCPM4 Series
MiniCPM4.1 launches end-side versions with 8B parameter scale, both achieving best-in-class performance in their respective categories.
MiniCPM4.1 adopts sparse attention and speculative decoding to improve the inference efficiency. On RTX 4090, MiniCPM4.1 achieves 3x decoding speed improvement in reasoning.
MiniCPM 4.1 can be used with following frameworks: Huggingface Transformers, SGLang, vLLM, and CPM.cu. For the ultimate inference speed, we highly recommend CPM.cu.
MiniCPM4/MiniCPM4.1 supports both dense attention inference and sparse attention inference modes, where vLLM and SGLang currently only support dense inference mode. If you want to use sparse inference mode, please use Huggingface Transformers and CPM.cu.
To facilitate researches in sparse attention, we provide InfLLM-V2 Training Kernels and InfLLM-V2 Inference Kernels.
MiniCPM4.1-8B requires transformers>=4.56.
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
torch.manual_seed(0)
path = 'openbmb/MiniCPM4.1-8B'
device = "cuda"
tokenizer = AutoTokenizer.from_pretrained(path)
model = AutoModelForCausalLM.from_pretrained(path, torch_dtype=torch.bfloat16, device_map=device, trust_remote_code=True)
# User can directly use the chat interface
# responds, history = model.chat(tokenizer, "Write an article about Artificial Intelligence.", temperature=0.7, top_p=0.7)
# print(responds)
# User can also use the generate interface
messages = [
{"role": "user", "content": "Write an article about Artificial Intelligence."},
]
prompt_text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
)Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.