OpenBMB's MiniCPM5 Runs a 15B Model at 52 Tokens per Second on iPhones
OpenBMB released a 15B Mixture-of-Experts model activating 2.5B parameters that runs on iPhones at 30 tokens per second with IMO gold-level reasoning.
Takeaways
- OpenBMB released MiniCPM5-15B-A2.5B, a 15B MoE with 2.5B active parameters for on-device agents.
- Hits 52 tokens/s on iPhone 18 Pro Max, 30 tokens/s at ~3 GB memory usage.
- Scored 123/126 at CMO 2026 finals and 32 on IMO 2026, both gold-medal level.
- Ranks first on 22 of 36 benchmarks among MoE baselines, beating Qwen3.6-35B-A3B.
- Trained with JustRL-II reinforcement learning plus multi-teacher on-policy distillation from 22 experts.
- Apache-2.0, 524K context, native tool calling, supports vLLM, SGLang, llama.cpp, MLX, iOS.
OpenBMB has released MiniCPM5 model card, an Apache-2.0 Mixture-of-Experts model designed for local inference on consumer hardware. The release combines 15 billion total parameters, 2.5 billion active parameters per token, tool-calling support, and a maximum context window of 524,288 tokens.
| Specification | MiniCPM5-15B-A2.5B |
|---|---|
| Parameters | 15B total, 2.5B active per token |
| Experts | 160 routed experts; 16 routed and 1 shared expert active per token |
| Layers | 28, with a dense first layer and MoE layers from 1 through 27 |
| Attention | 32 query heads, 2 key-value heads, head dimension 128 |
| Context | 524,288 tokens |
| Modes | Thinking and non-thinking, selectable per request |
| License | Apache-2.0 |
Only 2.5B parameters fire per token
A Mixture-of-Experts model stores many specialized feed-forward networks and routes each token through a subset of them. MiniCPM5 activates 16 of its 160 routed experts, plus one shared expert, for each token. That design lowers per-token computation while retaining capacity across the complete 15B-parameter model.
Storage still has to account for all weights. OpenBMB uses quantization and streams expert weights from flash storage to reduce resident memory, which allows the model to operate under tighter mobile RAM limits.
OpenBMB reports 52 generated tokens per second on an iPhone 18 Pro Max in an unrestricted-memory configuration. A configuration using roughly 3 GB of memory reportedly reaches about 30 tokens per second. Reproducing either result requires the same quantization, prompt length, cache policy, runtime build, thermal state, and expert-loading configuration.
The published speed and context figures describe different operating points. Longer prompts increase prefill time and key-value cache usage, so the 3 GB result does not imply that the full 524,288-token window fits within the same memory budget.
Strong scores, pending reproduction
OpenBMB says it entered MiniCPM5 in the 2026 Chinese Mathematical Olympiad finals, where the model received gold-medal certification with 123 points out of 126. The company also reports a score of 32 in an IMO 2026 self-evaluation, above the stated gold cutoff of 29, and describes MiniCPM5 as the first on-device model to reach that level.
| Evaluation | Reported score | Context |
|---|---|---|
| Chinese Mathematical Olympiad finals | 123/126 | Gold-medal certification reported by OpenBMB |
| IMO 2026 | 32 | Self-evaluation; stated gold cutoff was 29 |
| SWE-Bench Verified | 68.4 | Software-engineering benchmark |
| AIME 2025 | 97.3 | Competition mathematics |
| LiveCodeBench v6 | 82.1 | Code generation |
Across OpenBMB’s comparison set, MiniCPM5 ranks first on 22 of 36 benchmarks covering general knowledge, mathematics, coding, long context, tool use, and agent tasks. The company reports that it often matches or exceeds Qwen3.6-35B-A3B while using less than half as many total parameters. Independent evaluation will need to control for reasoning budgets, sampling settings, tool access, and benchmark contamination.
Twenty-two teachers feed one student
OpenBMB’s post-training pipeline begins with millions of synthetic interactive environments containing multi-step tasks. The company uses JustRL-II to train 22 specialized teacher models through long-horizon reinforcement learning, then consolidates their capabilities into the release model through multi-teacher on-policy distillation.
During distillation, the student generates its own responses and receives a token-level learning signal from the relevant teacher. At each position, training compares the student’s full-vocabulary probability distribution with the teacher’s distribution using reverse Kullback-Leibler divergence. In plain English, the loss pushes the student toward tokens the specialist teacher considers plausible.
The divergence replaces the verification-based advantage used during the earlier reinforcement-learning stage. OpenBMB also reuses each teacher’s original prompts as distillation data, avoiding a separate prompt-generation pipeline for the consolidation stage.
The router predicts the next expert
Phone inference often stalls while expert weights move from flash storage into memory. Building on LES 1.0, OpenBMB adds native prefetch-routing training so the runtime can predict which experts upcoming tokens will need and begin loading them early.
OpenBMB reports an average improvement of about 11% in expert-prefetch prediction accuracy. The practical gain depends on storage bandwidth, cache size, quantization, routing patterns, and implementation overhead, so end-to-end latency remains the relevant deployment measurement.
Tool use starts in the training loop
OpenBMB designed MiniCPM5 for multi-step tool use and lists compatibility with Codex, Claude Code, DeepSeek Harness, and WorkBuddy. Its chat template preserves earlier reasoning across turns, while thinking mode is enabled by default and can be switched off for individual requests.
Preserved reasoning can help maintain state during longer tool loops, though it also consumes context and may expose internal traces to application logs. Local execution can keep prompts, files, and model state on the device. Network tools, hosted APIs, telemetry, and remote search connectors can still transmit data, so privacy depends on the complete agent stack.
Choose the runtime, then test the build
OpenBMB publishes several weight and runtime formats for different hardware targets:
| Format | Typical use |
|---|---|
| BF16 | Highest-fidelity published weights and server deployment |
| GGUF | Quantized local inference across CPU and GPU runtimes |
| MLX 4-bit | Apple Silicon systems |
| GPTQ | Quantized GPU inference |
| LiteRT-LM | Mobile deployment |
| DSpark draft model | Speculative decoding |
Recent changes add MiniCPM5 support to vLLM and SGLang. Developers need a runtime build containing those changes, with the MiniCPM5 tool parser enabled for automatic tool selection.
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
The iOS route uses the MiniCPM-V-Apps TestFlight build, where OpenBMB recommends Q3 quantization for faster inference. The company also offers a hosted API, which provides an alternative to managing local or server infrastructure.
The benchmark gaps are specific
OpenBMB’s comparison table shows weaker instruction following on IFBench and MultiChallenge than Qwen3.5-35B-A3B and Gemma-4-26B-A4B-it. On LongBench v2 at 128K, MiniCPM5 scores 51.1, compared with 60.6 for Qwen3.5-35B-A3B.
Tool performance also varies by task. MiniCPM5 records 27.6 on the banking subset of τ³-Bench, the highest result in its comparison class, while its BFCL v4 result sits near the middle of the listed models. Teams should evaluate the exact schemas, argument constraints, retry behavior, and multi-step workflows their applications use.
Test the operating point you need
A deployment evaluation should measure the complete application under realistic workloads:
- Memory: Record weight storage, resident RAM, key-value cache growth, runtime overhead, and peak usage.
- Latency: Measure prompt prefill, time to first token, sustained decoding, expert-loading stalls, and thermal throttling.
- Long context: Test retrieval quality and memory use at the prompt lengths the product will actually support.
- Tool calls: Validate schema adherence, malformed arguments, parallel calls, retries, and recovery from tool errors.
- Quality: Run domain-specific tasks with fixed inference settings and compare quantized builds against BF16.
- Privacy: Audit every connector, logging service, crash reporter, and hosted endpoint in the agent path.
Local agents gain another option
MiniCPM5 combines sparse activation, flash-aware expert loading, long-context support, and agent-oriented post-training in a model that OpenBMB says can run interactively on a phone. Successful independent reproduction would expand the range of coding, research, and workflow agents that can operate with lower network latency, offline availability, and local data processing.
The practical value will depend on reproducible speed, memory use at realistic context lengths, tool-call reliability, and quality after quantization. Those measurements will show where MiniCPM5 can replace a remote model call and where larger hosted systems remain the better fit.