Model reference · open weights

MiniCPM4-MCP

LLMs openbmb Text gen 1 build Open weights 14k dl/mo

MiniCPM4-MCP is an open-weight language model from openbmb. MiniCPM4-MCP (BF16) weighs 16.4 GB; the smallest configuration that runs it is 2× RTX 3060 12 GB.

  • MiniCPM4-MCP is an 8.2B parameter text-generation model developed by openbmb, designed as an on-device LLM agent that autonomously calls Model Context Protocol tools to solve real-world tasks.
  • It supports Chinese and English with a context length of 32,768 tokens and is released under the Apache-2.0 license.
  • The model is built on the MiniCPM4-8B architecture and is capable of single- and multi-step tool calls across 16 supported MCP servers.

Summary of the openbmb/MiniCPM4-MCP model card, 2026-10-01

What it is

Released byopenbmb
Released2025-06-05
Parameters8.2B
VRAM16.4 GB for the weights

What it runs on

Memory and cards for MiniCPM4-MCP (BF16)

16.4 GBweights, file size
33 MBcache per 1K tokens
706 MBruntime overhead, at least
32,768 tokenscontext max
CardRequests at onceContext maxMemory
8K each32K each
RTX 3060 12 GB … RTX 4060 Ti 16 GB
2 smaller cards
———
RTX 3090 24 GB235all 32K23.4 GB
RTX 4090 24 GB235all 32K23.4 GB
RTX 5090 32 GB5112all 32K31.0 GB
L40S 48 GB10025all 32K44.0 GB
A100 80 GB22756all 32K78.2 GB
H100 80 GB21453all 32K78.1 GB
RTX PRO 6000 Blackwell 96 GB27268all 32K93.8 GB
DGX Spark (GB10) 128 GB unified32380all 32K107 GB
H200 141 GB437109all 32K138 GB
B200 180 GB576144all 32K176 GB
2× RTX 3060 12 GB
tensor parallel
205all 32K11.6 GB a card
2× RTX 4060 Ti 16 GB
tensor parallel
4812all 32K15.4 GB a card
Memory needed at each load
Requests at once8K tokens each32K tokens each
117.3 GB18.2 GB
518.4 GB22.4 GB
819.2 GB25.7 GB
1621.4 GB34.3 GB
3225.7 GB51.4 GB
6434.3 GB85.8 GB

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

From the model card

What openbmb says about MiniCPM4-MCP

Read the model card

What's New

  • [2025.06.06] MiniCPM4 series are released! This model achieves ultimate efficiency improvements while maintaining optimal performance at the same scale! It can achieve over 5x generation acceleration on typical end-side chips! You can find technical report here.🔥🔥🔥

MiniCPM4 Series

MiniCPM4 series are highly efficient large language models (LLMs) designed explicitly for end-side devices, which achieves this efficiency through systematic innovation in four key dimensions: model architecture, training data, training algorithms, and inference systems.

  • MiniCPM4-8B: The flagship of MiniCPM4, with 8B parameters, trained on 8T tokens.
  • MiniCPM4-0.5B: The small version of MiniCPM4, with 0.5B parameters, trained on 1T tokens.
  • MiniCPM4-8B-Eagle-FRSpec: Eagle head for FRSpec, accelerating speculative inference for MiniCPM4-8B.
  • MiniCPM4-8B-Eagle-FRSpec-QAT-cpmcu: Eagle head trained with QAT for FRSpec, efficiently integrate speculation and quantization to achieve ultra acceleration for MiniCPM4-8B.
  • MiniCPM4-8B-Eagle-vLLM: Eagle head in vLLM format, accelerating speculative inference for MiniCPM4-8B.
  • MiniCPM4-8B-marlin-Eagle-vLLM: Quantized Eagle head for vLLM format, accelerating speculative inference for MiniCPM4-8B.
  • BitCPM4-0.5B: Extreme ternary quantization applied to MiniCPM4-0.5B compresses model parameters into ternary values, achieving a 90% reduction in bit width.
  • BitCPM4-1B: Extreme ternary quantization applied to MiniCPM3-1B compresses model parameters into ternary values, achieving a 90% reduction in bit width.
  • MiniCPM4-Survey: Based on MiniCPM4-8B, accepts users' quiries as input and autonomously generate trustworthy, long-form survey papers.
  • MiniCPM4-MCP: Based on MiniCPM4-8B, accepts users' queries and available MCP tools as input and autonomously calls relevant MCP tools to satisfy users' requirements. (<-- you are here)

Introduction

MiniCPM4-MCP is an open-source on-device LLM agent model jointly developed by THUNLP, Renmin University of China and ModelBest, built on MiniCPM-4 with 8 billion parameters. It is capable of solving a wide range of real-world tasks by interacting with various tool and data resources through MCP.

Usage

As of now, MiniCPM4-MCP supports the following:

  • Utilization of tools across 16 MCP servers: These servers span various categories, including office, lifestyle, communication, information, and work management.

  • Single-tool-calling capability: It can perform single- or multi-step tool calls using a single tool that complies with the MCP.

  • Cross-tool-calling capability: It can perform single- or multi-step tool calls using different tools that complies with the MCP.

Inference

MCP Servers Deployment

The MCP Servers supported by MiniCPM4-MCP include Airbnb, Amap-Maps, Arxiv-MCP-Server, Calculator, Computer-Control-MCP, Desktop-commander, Filesystem, Github, Gaode, MCP-Code-Executor, MCP-DOCx, PPT, PPTx, Simple-Time-Server, Slack, and Whisper. Follow the instructions provided in each server's repository for successful deployment. Note that not all tools in these servers will function properly in every environment. Some tools are unstable and may return errors such as timeouts or HTTP errors. During training data construction, tools with consistently high failure rates (e.g., those for which the LLM fails to produce a successful query even after hundreds of attempts) are filtered out.

MCP Client Setup

We modified the existing MCP Client from the mcp-cli repository to enable interaction between MiniCPM and MCP Servers. After the MCP Client performs a handshake with a Server, it retrieves a list of available tools. An example of tool information contained in this list is provided in available_tool_example.json.

Once the available tools and user query are obtained, results can be generated using the following script logic:

python generate_example.py \
--tokenizer_path {path to MiniCPM4 tokenizer} \
--base_url {vllm deployment URL} \
--model {model name used in vllm deployment} \
--output_path {path to save results}

where the generate_example.py is located in link and MiniCPM4 gen

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