Skip to content

How-ToGPU

How to Run MiniCPM 5 15B Locally on Your PC

OpenBMB's new MiniCPM5-15B-A2.5B is an open mixture-of-experts model with just 2.5B active parameters and a 9.12GB 4-bit file. We explain how much memory it needs, how to run it with llama.cpp, the DSpark speed-up and the settings to use.

By , Systems & Technical Editor

4 min read

How to Run MiniCPM 5 15B Locally on Your PC

This guide is based on OpenBMB's MiniCPM5-15B-A2.5B model card, its official GGUF file listing and the MiniCPM GitHub repository, all read on 4 December 2026. Memory figures other than published file sizes are our estimates.

OpenBMB released MiniCPM5-15B-A2.5B on 3 December 2026, according to the changelog in its MiniCPM GitHub repository. It's an open mixture-of-experts (MoE) language model under the Apache 2.0 licence, built for on-device agents, coding and tool use. Its official 4-bit file is just over 9GB, which makes it one of the easier new releases to run on an ordinary gaming PC.

Step 1: Know what you're downloading

OpenBMB's model card lists 15 billion parameters in total, with 2.5 billion activated for each token. It has 28 layers, 160 routed experts (16 routed plus one shared expert are used per token) and a context length of 524,288 tokens. It's a text model: the card lists text generation, and doesn't mention image input. Thinking mode is on by default, and the card says you can switch it off for lower latency.

If MoE models are new to you, our MoE vs dense LLMs for local AI explainer covers why only part of the model works on each token.

Step 2: Check how much memory you need

OpenBMB's official GGUF repository has three files:

File

Download size

Q4_K_M (4-bit)

9.12GB

Q8_0 (8-bit)

15.97GB

BF16 (unquantised)

30.03GB

Source: OpenBMB's MiniCPM5-15B-A2.5B-GGUF file listing. Sizes in GB (10^9 bytes).

You also need some memory for the context (the KV cache) and working buffers, so leave a little headroom above the file size.

Our rule of thumb: the 4-bit file sits comfortably on a 12GB or 16GB graphics card. The 8-bit file is about the size of a 16GB card's memory on its own, so on 16GB you'll want 4-bit or to keep part of the model in system RAM; a 24GB or 32GB card runs 8-bit fully on the GPU. On an 8GB card, put the model's experts partly in system RAM, as our guide to running MoE models on low VRAM with llama.cpp explains. Our guide to checking whether a model fits your GPU shows how to read file listings like this one.

Step 3: Get a recent llama.cpp

OpenBMB says you need official llama.cpp build b12847 or later to run the GGUF files. You can download a release build from llama.cpp's GitHub releases page or build it yourself. OpenBMB's instructions build llama-server with CUDA for NVIDIA cards; leave out -DGGML_CUDA=ON for a CPU-only build.

Step 4: Start the server

Download MiniCPM5-15B-A2.5B-Q4_K_M.gguf from the GGUF repository, then run OpenBMB's suggested command from the folder with the llama.cpp binaries:

./llama-server -m MiniCPM5-15B-A2.5B-Q4_K_M.gguf -a MiniCPM5-15B-A2.5B --port 8080 -ngl 99 -fa on --min-p 0 -c 8192 --jinja

Here -ngl 99 puts every layer on the GPU, -fa on enables flash attention and -c 8192 sets an 8,192-token context, which you can raise if you have spare memory. OpenBMB sets --min-p 0 deliberately: it says llama.cpp's default min_p of 0.05 can trigger repetition with this model. Swap the file name for the Q8_0 or BF16 file if you have the memory. The server provides an OpenAI-compatible API on port 8080, so chat apps and coding tools that support OpenAI-style APIs can connect to it. Our flash attention guide explains the -fa option.

Step 5: Try the DSpark draft model for extra speed

OpenBMB also publishes MiniCPM5-15B-A2.5B-DSpark-GGUF, a draft model of about 0.86GB for speculative decoding, which it says speeds up generation without changing the main model's output. Its command adds:

-md MiniCPM5-15B-A2.5B-DSpark.gguf --spec-type draft-dspark --spec-draft-n-max 7 --spec-draft-p-min 0 --n-gpu-layers-draft 99

OpenBMB notes that with a quantised main model the draft's acceptance rate may drop, and suggests lowering --spec-draft-n-max (for example to 2) in that case. It doesn't publish a speed-up figure for PCs, so compare with and without it on your own hardware. Our speculative decoding guide explains how drafting works.

OpenBMB recommends these sampling settings for general tasks:

Setting

Thinking mode

Non-thinking mode

temperature

1.0

0.7

top_p

0.95

0.80

top_k

not set

20

min_p

0.0

0.0

presence_penalty

not set

1.5

If you see repetitive output in thinking mode, OpenBMB suggests adding a repetition penalty of 1.05. To turn thinking off through the OpenAI-style API, send "chat_template_kwargs": {"enable_thinking": false} with your request.

Step 7: Other ways to run it

OpenBMB labels its GGUF repository as being for llama.cpp, Ollama and LM Studio, but those apps need a version that supports the new MiniCPM5 MoE architecture, so check for updates first. Our llama.cpp vs LM Studio comparison helps you choose. For bigger GPUs, OpenBMB also gives instructions for vLLM and SGLang, plus a 4-bit GPTQ version.

Wondering how it compares with this week's other big open release? See our MiniCPM 5 vs Qwen 4 comparison, and for hardware advice our best graphics cards for MiniCPM 5.

The bottom line

MiniCPM5-15B-A2.5B is a 15B mixture-of-experts model with 2.5B active parameters, and its official 4-bit GGUF is only 9.12GB, so a 12GB or 16GB graphics card can run it entirely on the GPU. Use llama.cpp build b12847 or later, keep OpenBMB's min_p 0 setting, and try the small DSpark draft model for extra speed.

In this article

Sources

  1. 01OpenBMB, MiniCPM5-15B-A2.5B model card (Hugging Face)
  2. 02OpenBMB, MiniCPM5-15B-A2.5B-GGUF files (Hugging Face)
  3. 03OpenBMB, MiniCPM5-15B-A2.5B-DSpark-GGUF (Hugging Face)
  4. 04OpenBMB, MiniCPM repository and changelog (GitHub)
  5. 05ggml-org, llama.cpp release b12847 (GitHub)

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

Best Graphics Cards for MiniCPM 5 in 2026

Best Picks

Best Graphics Cards for MiniCPM 5 in 2026

The best graphics cards for running OpenBMB's new MiniCPM5-15B-A2.5B at home, from the 16GB RTX 5060 Ti and RTX 5070 Ti to the 12GB RTX 5070, 32GB RTX 5090 and Radeon AI PRO R9700, and an 8GB budget option, ranked by memory.

Hannah Vance3 min

MiniCPM 5 vs Qwen 4: Which New Open Model Suits Your PC?

Versus

MiniCPM 5 vs Qwen 4: Which New Open Model Suits Your PC?

MiniCPM5-15B-A2.5B and Qwen4-35B-A3B are this week's big open mixture-of-experts releases. We compare their size, inputs, context, memory and graphics card needs, speed-up tricks and software support for running them at home.

Callum Reid3 min

Best Graphics Cards for Qwen 4 in 2026

Best Picks

Best Graphics Cards for Qwen 4 in 2026

The best graphics cards for running Qwen's new Qwen4-35B-A3B at home, from the 32GB RTX 5090 and Radeon AI PRO R9700 to the 96GB RTX PRO 6000 Blackwell, 128GB DGX Spark and 16GB RTX 5070 Ti and RTX 5060 Ti, ranked by memory.

Hannah Vance4 min