
MiniCPM5-15B-A2.5B is an open-weight sparse Mixture-of-Experts model from OpenBMB, built for on-device agents running locally on phones and PCs. It has 15B total parameters with 2.5B activated and a 524,288-token context window, and is released under Apache 2.0. OpenBMB reports 52 tokens/s on an iPhone 18 Pro Max and 30 tokens/s at about 3 GB of memory, and says it works with agent harnesses such as Codex and Claude Code. Builds include BF16, GGUF for llama.cpp and Ollama, MLX 4-bit, GPTQ 4-bit and LiteRT-LM.
A situational 15B-parameter MoE language model from openbmb. Sits below the open-model average on our benchmarks; pick it for specific deployment constraints rather than peak quality. Newly released, so production-readiness is still being shaken out.
Generated from this model’s benchmarks and ranking signals. Editor reviews refine it over time.
Access model weights, configuration files, and documentation.
Benchmark data sourced from: Hugging Face, Arena.ai, Artificial Analysis.
Average benchmark score against active parameters for every text model we track. Models higher up deliver more quality for their size.
See how different quantization levels affect VRAM requirements and quality for this model.
| Format | VRAM Required | Quality | |
|---|---|---|---|
| Q2_K | 16.5 GB | Low | |
| Q4_K_MRecommended | 19.7 GB | Good | |
| Q5_K_M | 21.2 GB | Very Good | |
| Q6_K | 23.0 GB | Excellent | |
| Q8_0 | 26.7 GB | Near Perfect | |
| FP16 | 41.0 GB | Full |
The top devices for this model at 4-bit, ranked by fit and speed.
| Device | Grade | Speed | VRAM |
|---|---|---|---|
| ASRock Radeon AI PRO R9700 CreatorASRock | SS | 41.4 tok/s | 19.7 GB |
| Google Cloud TPU v6e (Trillium)Google | SS | 106.2 tok/s | 19.7 GB |
| NVIDIA GeForce RTX 5090 Founders EditionNVIDIA | SS | 116.0 tok/s | 19.7 GB |
| Origin PC M-CLASS v2Origin PC | SS | 116.0 tok/s | 19.7 GB |
| ASUS UGen Arc Pro B70 32GBASUS | SS | 39.4 tok/s | 19.7 GB |
Energy cost on AMD Radeon RX 7900 XT (~52 tok/s, Q4_K_M) vs flagship API pricing.
| Source | Cost per 1M tokens |
|---|---|
Local (energy only)MiniCPM5-15B-A2.5B on AMD Radeon RX 7900 XT · ~52 tok/s · 315W | $0.203 |
GPT-6.2 SolOpenAI · in $2.00 · out $10.00 | $4.40 |
Claude Fable 5.2Anthropic · in $8.00 · out $40.00 | $17.60 |
Gemini 4 NeonGoogle · in $3.00 · out $15.00 | $6.60 |
Grok 4.5xAI · in $2.00 · out $6.00 | $3.20 |
API prices blended at 70% input / 30% output.
Hardware amortisation not included. Run the full ROI calculator for payback math.
Cheapest current cloud rentals with at least 20 GB VRAM, refreshed hourly.
Advertising disclosure: we earn commissions when you shop through the links below.
| Option | Cost / GPU-hour |
|---|---|
NVIDIA GeForce RTX 3090Vast.ai · Spot · 24 GB VRAM | $0.11 |
NVIDIA RTX PRO 4000 BlackwellVast.ai · Spot · 24 GB VRAM | $0.13 |
NVIDIA RTX A5000RunPod · Community · 24 GB VRAM | $0.16 |
NVIDIA GeForce RTX 3090Vast.ai · On-Demand · 24 GB VRAM | $0.16 |
NVIDIA GeForce RTX 4090Vast.ai · Spot · 24 GB VRAM | $0.20 |
Per-GPU rate across RunPod, the Vast.ai marketplace, DigitalOcean, and Vultr.
Spot tier is interruptible. Plan for restarts when comparing against on-demand prices.
Cumulative cost of buying the smallest device in our directory that runs this model at 4-bit, compared with paying flagship APIs for the same token volume.
Assumes 1 million tokens a day, a 70/30 input and output mix and $0.12 per kWh. The device only runs as long as the workload needs. Use the ROI calculator for your own numbers.
MiniCPM5-15B-A2.5B is an open-weight sparse Mixture-of-Experts (MoE) model developed by OpenBMB, engineered specifically for on-device agent execution across consumer PCs and mobile hardware. Operating with 15 billion total parameters while activating only 2.5 billion parameters per token, the architecture hits a distinct operational sweet spot: it delivers the reasoning and coding capability of a much larger network while maintaining the compute overhead and execution speed of a sub-3B dense model. Released under an Apache 2.0 license, it stands out as an uncapped foundation model for engineers building fully local agentic workflows.
The model marks a shift in how small-footprint models handle multi-step tasks. Rather than relying on cloud handoffs for complex execution, MiniCPM5-15B-A2.5B integrates native support for terminal execution, tool use, and long-horizon context management. Designed to hook into existing coding and agent harnesses such as Codex, Claude Code, and DeepSeek Harness, it gives developers an offline drop-in backend capable of inspecting codebases, executing multi-turn tool chains, and maintaining state across a massive 524,288-token context window without leaking proprietary code or personal data.
As a local AI model with 15B parameters, MiniCPM5-15B-A2.5B competes directly against small MoE and mid-tier dense models, but with a structural throughput advantage. Its sparse routing means memory bandwidth demands during decoding map to its 2.5B active parameter footprint, enabling high throughput on memory-constrained devices ranging from modern unified-memory laptops to high-end mobile handsets.
The core strength of the MiniCPM5-15B-A2.5B MoE efficiency lies in how it decouples total capacity from inference compute. In a dense 15B architecture, every forward pass reads the entirety of the weights from memory, creating a substantial memory bandwidth bottleneck during autoregressive token generation. MiniCPM5 routes incoming tokens dynamically to specific expert sub-networks, activating only 2.5B parameters per step.
This design reduces the arithmetic operations per token to roughly one-sixth of what an equivalent dense 15B model requires. However, running MoE models locally introduces a known memory challenge: while compute scales with active parameters, all 15B parameters must still reside in system or video RAM unless an aggressive caching and prefetching mechanism is used.
To solve this for edge hardware, OpenBMB implemented native prefetch-routing training, iterating on their LES (Learnable Expert Shuffling) framework. By training the network to anticipate which experts will be activated in subsequent layers, the engine improves expert-prefetch prediction accuracy by roughly 11%. This enables fast memory streaming on edge devices:
The 524,288-token context length is particularly notable. It allows developers to load entire multi-file codebases, dense API documentations, or lengthy terminal histories directly into the prompt buffer without resorting to lossy retrieval-augmented generation (RAG) chunks.
MiniCPM5-15B-A2.5B is tuned for agentic execution, structured code output, and rigorous mathematical deduction. It is not merely a conversational model; its reinforcement learning pipeline explicitly optimizes for terminal interaction and multi-step tool calls.
Using MiniCPM5-15B-A2.5B for coding is one of its primary design goals. On coding evaluations like SWE-Bench Verified, the model scores 68.4, and on Terminal-Bench v2.1 it reaches 50.19 after online policy distillation. In real-world environments, this translates to reliable function calling, bash command generation, syntax tree modification, and bug isolation inside local developer tools. It works reliably when embedded into local agent harnesses like Claude Code or Codex-compatible CLI utilities.
In formal mathematical evaluations, the model displays exceptional density. MiniCPM5-15B-A2.5B recorded an official gold-medal-certified score of 123 out of 126 in the 2026 Chinese Mathematical Olympiad (CMO) finals, alongside an evaluation score of 32 on the 2026 International Mathematical Olympiad (IMO) problems, exceeding the typical gold-medal threshold of 29. For developers, this strong MiniCPM5-15B-A2.5B reasoning benchmark performance means the model avoids common logical failure modes in complex conditional chains, JSON schema generation, and algorithmic problem-solving.
Thanks to deep instruction-following and tool-use fine-tuning, the model serves as an effective local controller for:
When you run MiniCPM5-15B-A2.5B locally, your hardware sizing depends on whether you plan to hold the full 15B parameter footprint entirely in high-speed VRAM, or leverage dynamic prefetching to run within tight unified-memory footprints.
Because all 15B parameters must be accessible to route between experts, system memory requirements correspond to the full model weight size plus context space.
The best quantization for MiniCPM5-15B-A2.5B for general desktop inference is Q4_K_M via GGUF or 4-bit MLX on macOS. At 4-bit, expert degradation is minimal, while memory footprint drops to roughly 10 GB, making it accessible on a wide range of hardware:
Because only 2.5B parameters compute per token, MiniCPM5-15B-A2.5B tokens per second numbers are exceptionally high for a 15B-class model:
The simplest way to deploy the model locally is via Ollama or standard llama.cpp releases that support the MiniCPM5 architecture.
Pull and run the model directly in your terminal:
1ollama run openbmb/minicpm5:15b-a2.5b
For agentic frameworks requiring an OpenAI-compatible endpoint, launch Ollama's local server and configure your local harness (such as Claude Code or custom LangChain/AutoGPT scripts) to point to:
1Base URL: http://localhost:11434/v12Model: openbmb/minicpm5:15b-a2.5b
Evaluating MiniCPM5-15B-A2.5B requires looking at both larger sparse MoE networks and similarly capable dense models.
Qwen3.6-35B-A3B is a premier MoE architecture for code and general reasoning. While Qwen activates 3B parameters out of 35B total, its 35B footprint requires at least 22 GB of VRAM at 4-bit quantization, practically requiring a 24 GB GPU just to load the weights. MiniCPM5 matches or outperforms Qwen3.6-35B-A3B across benchmarks like SWE-Bench Verified (68.4 vs 67.8) while demanding less than half the total storage and VRAM capacity. If you have a single 16 GB GPU or want to run on a laptop, MiniCPM5 is far more practical.
Gemma-4-26B-A4B-it provides strong competitive reasoning, but its higher total parameter size makes it difficult to run alongside a 512k context buffer on consumer hardware. MiniCPM5's smaller 15B total size and aggressive native prefetch capabilities make it superior for local setups where total system memory and battery consumption dictate performance. Gemma remains compelling for purely server-side deployments, but MiniCPM5 holds the advantage for local agent tool use and edge installation.

Explore the Provider
Aggregate stats, leaderboard, release timeline, and benchmark coverage across every openbmb model we track.

Check which of your devices can run this model and how fast.

Compare hosted per-token prices before you commit to local hardware.

Break-even math for self-hosting, renting a GPU, or paying per token.
Live status for the hosted APIs you might use instead of running this locally.