What this thread does
Do first: run vllm serve openbmb/MiniCPM5-15B-A2.5B --served-model-name MiniCPM5-15B-A2.5B --port 8000 --enable-auto-tool-choice --tool-call-parser minicpm5 --reasoning-parser qwen3 (vLLM main branch or a nightly build), then connect your harness. Model card
Not for: picking a local coding model by RAM (see local-coding-model-24-32gb-machine), or running it with a vLLM release that lacks MiniCPM5 support: the card says to use a main branch or nightly build. Model card
Short answer
MiniCPM5-15B-A2.5B is a sparse Mixture-of-Experts model from OpenBMB with 15B total and 2.5B activated parameters, a 524,288-token context length, released under Apache-2.0. Model card The card says it is built for on-device agents and is compatible with agent harnesses such as Codex and Claude Code. Model card It names CC Switch as the open-source manager through which Claude Code (Anthropic Messages protocol) and Codex CLI or Desktop (OpenAI Responses protocol) were verified. Model card The benchmark and speed claims on the card are the vendor's own and are not repeated or checked here. Model card
Choose / don't choose
| Runtime | Choose it when | Not for |
|---|---|---|
| vLLM | You have a GPU server and want an OpenAI-compatible API with tool calling. Model card | Using the BF16 or GPTQ launch command in this guide with a GGUF file |
llama.cpp (llama-server) | You want to run the GGUF model, for example the Q4_K_M weights, locally. Model card | Releases older than llama.cpp b12847 |
| Transformers | You want to run it from Python; MiniCPM5 support is in Transformers 5.25.0 and newer. Model card | Using the local Python example here as a ready-made harness API server |
| 4-bit GPTQ variant | GPU memory is tight; the card links MiniCPM5-15B-A2.5B-GPTQ. Model card | Setups that need the BF16 final release |
Settings that matter
| Item | Behavior | Source |
|---|---|---|
--enable-auto-tool-choice --tool-call-parser minicpm5 --reasoning-parser qwen3 | Turns on tool calling in vLLM | Model card |
| vLLM version | Use the main branch with PRs #69127 and #69128, or the nightly wheel | Model card |
--max-model-len / --tensor-parallel-size | Reduce the first or raise the second if GPU memory runs out | Model card |
| llama.cpp | 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 | Model card |
--min-p 0 | The card says llama.cpp's default min_p=0.05 can trigger repetition | Model card |
| Thinking mode sampling | General tasks: temperature=1.0, top_p=0.95, min_p=0.0, plus repetition_penalty=1.05 if output repeats. Creative-writing tasks: temperature=0.7, top_p=0.95, min_p=0.0, repetition_penalty=1.05 | Model card |
enable_thinking | Chat template argument; False disables thinking mode | Model card |
Order of operations
1. Run vllm serve openbmb/MiniCPM5-15B-A2.5B --served-model-name MiniCPM5-15B-A2.5B --port 8000 --enable-auto-tool-choice --tool-call-parser minicpm5 --reasoning-parser qwen3, using vLLM main or a nightly build. Model card 2. Check it answers with a request to http://localhost:8000/v1/chat/completions using model MiniCPM5-15B-A2.5B. Model card 3. Install CC Switch (github.com/farion1231/cc-switch) and add the local endpoint for Claude Code or Codex. Model card 4. Use the card's sampling values for thinking or non-thinking mode. Model card 5. For the full harness setup and FAQs, follow the Tool Usage Guide the card links. Model card
Known failures and fixes
- Repetitive output: try
repetition_penalty=1.05in thinking mode, and--min-p 0in llama.cpp. Model card - Out of GPU memory in vLLM: raise
--tensor-parallel-sizeor lower--max-model-len. Model card - Model not recognized: use vLLM main or a nightly build, llama.cpp b12847 or newer, or Transformers 5.25.0 or newer. Model card
Missing
- No independent coding-agent test of this model is cited; the card's benchmarks are the vendor's.
- Memory needed for the Q4_K_M file on a given laptop is not given here.
Evidence
openbmb/MiniCPM5-15B-A2.5B model card at Hugging Face revision 7fb38b9 (last modified 2026-12-03), read 2026-12-04. Independent report: vLLM issue #64517, opened 2026-10-29 by simon-veitner-redhat, found that the minicpm5 tool-call parser decoded string parameters that are not declared as a plain string type, for example optional strings; it was run with MiniCPM5-2B on a vLLM nightly build, closed as completed 2026-11-03 (checked 2026-12-04), and pull request #64518 (merged 2026-11-03) changed the parser. The model card's own checks are not independent. 0 trials in this draft; not tried by WhatWorks.
Checked
2026-12-04; the model card was read at that revision.
Started from a post by @OpenBMB (openbmb/MiniCPM5-15B-A2.5B), packaged by the editor. Original post