Model reference · open weights

MiniCPM-MoE-8x2B

LLMs openbmb Text gen · MoE 1 build Licence not stated 4k dl/mo

MiniCPM-MoE-8x2B is an open-weight language model from openbmb. MiniCPM-MoE-8x2B (BF16) weighs 27.7 GB; the smallest configuration that runs it is 2× RTX 4060 Ti 16 GB.

For self-hosting, compare this build's requirements below with the GPU you plan to rent.

  • MiniCPM-MoE-8x2B is a decoder-only transformer-based generative language model developed by openbmb.
  • It utilizes a Mixture-of-Experts architecture with 8 experts per layer, activating 2 for each token, and supports a context length of 4096 tokens.
  • The model is instruction-tuned and available in bfloat16 precision.

Summary of the openbmb/MiniCPM-MoE-8x2B model card, 2026-10-01

What it is

Released byopenbmb
Released2024-04-07
VRAM27.7 GB for the weights

What it runs on

Memory and cards for MiniCPM-MoE-8x2B (BF16)

27.7 GBweights, file size
369 MBcache per 1K tokens
640 MBruntime overhead, at least
4,096 tokenscontext max
CardRequests at onceContext maxMemory
4K each
RTX 3060 12 GB … RTX 4090 24 GB
4 smaller cards
RTX 5090 32 GB1all 4K31.0 GB
L40S 48 GB10all 4K44.0 GB
A100 80 GB32all 4K78.2 GB
H100 80 GB30all 4K78.1 GB
RTX PRO 6000 Blackwell 96 GB40all 4K93.8 GB
DGX Spark (GB10) 128 GB unified49all 4K107 GB
H200 141 GB70all 4K138 GB
B200 180 GB95all 4K176 GB
2× RTX 4060 Ti 16 GB
tensor parallel
1all 4K15.4 GB a card
2× RTX 4090 24 GB
tensor parallel
11all 4K23.4 GB a card
2× RTX 3090 24 GB
tensor parallel
11all 4K23.4 GB a card
2× RTX 5090 32 GB
tensor parallel
21all 4K31.0 GB a card
Memory needed at each load
Requests at once4K tokens each
129.9 GB
535.9 GB
840.5 GB
1652.5 GB
3276.7 GB
64125 GB

One card, with vLLM's small-card settings.

From the model card

What openbmb says about MiniCPM-MoE-8x2B

Read the model card

OpenBMB Technical Blog Series

The MiniCPM-MoE-8x2B is a decoder-only transformer-based generative language model.

The MiniCPM-MoE-8x2B adopt a Mixture-of-Experts(MoE) architecture, which has 8 experts per layer and activates 2 of 8 experts for each token.

Usage

This is a model version after instruction tuning but without other rlhf methods. Chat template is automatically applied.

from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
torch.manual_seed(0)

path = 'openbmb/MiniCPM-MoE-8x2B'
tokenizer = AutoTokenizer.from_pretrained(path)
model = AutoModelForCausalLM.from_pretrained(path, torch_dtype=torch.bfloat16, device_map='cuda', trust_remote_code=True)

responds, history = model.chat(tokenizer, "山东省最高的山是哪座山, 它比黄山高还是矮?差距多少?", temperature=0.8, top_p=0.8)
print(responds)

Note

  1. You can alse inference with vLLM(>=0.4.1), which is compatible with this repo and has a much higher inference throughput.
  2. The precision of model weights in this repo is bfloat16. Manual convertion is needed for other kinds of dtype.
  3. For more details, please refer to our github repo.

Statement

  1. As a language model, MiniCPM-MoE-8x2B generates content by learning from a vast amount of text.
  2. However, it does not possess the ability to comprehend or express personal opinions or value judgments.
  3. Any content generated by MiniCPM-MoE-8x2B does not represent the viewpoints or positions of the model developers.
  4. Therefore, when using content generated by MiniCPM-MoE-8x2B, users should take full responsibility for evaluating and verifying it on their own.

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms