Compact 2B-class model
The model has 2,516,756,480 parameters in a dense Transformer, providing a compact alternative for applications that do not require a much larger model.
MiniCPM5-2B is a compact 2B-class causal language model for local assistants, coding agents, tool use, long-context text processing and on-device reasoning.
MiniCPM5-2B is a 2B-class dense causal language model from the MiniCPM5 series. It uses the standard LlamaForCausalLM architecture and is designed for local assistants, coding agents, tool-use workflows and reasoning scenarios where a compact model is useful.
The model combines a small deployment target with a native 131,072-token context length. Its published comparison reports an average score of 53.9 across the stated evaluation set, with tests spanning coding, mathematics, instruction following, knowledge, long-context tasks, tool use and agent workflows. These results describe the authors' comparison set rather than a guarantee for every application.
The model has 2,516,756,480 parameters in a dense Transformer, providing a compact alternative for applications that do not require a much larger model.
A 131,072-token native context length supports tasks involving long documents, extended conversations and other large textual inputs.
The model is presented for local assistants, on-device deployment and resource-constrained scenarios, making local execution a central target rather than only a hosted workflow.
The published evaluation table covers code reasoning, mathematics, instruction following, general knowledge, long-context understanding, tool use and agent tasks.
The final checkpoint is described as post-trained with supervised fine-tuning, reinforcement learning and OPD, while the project also publishes related training datasets in the UltraData family.
The model directory provides BF16, GGUF, MLX/4-bit, GPTQ/4-bit, DSpark and LiteRT-LM variants for different deployment environments.
Use the model as a locally run conversational assistant when an application needs language interaction without selecting a larger model by default. The source specifically positions MiniCPM5-2B for on-device and local deployment.
Apply it to coding-oriented workflows such as code reasoning and coding-agent tasks. The published results include LiveCodeBench, LCB-Pro, OJBench, SciCode and software-engineering agent evaluations, but application-specific validation remains necessary.
Build workflows that combine model responses with external tools or structured actions. Tool-use benchmarks in the model card include τ³-Bench, τ²-Bench and BFCL v4, providing evidence for this intended workflow category.
Process long documents, extended conversations or other large text inputs within a single model context. The 131,072-token context length is the relevant published capability for this scenario.
Prototype compact reasoning or agent systems that need coverage across mathematics, general knowledge, search and general-agent tasks. The model card reports evaluations across these areas, while actual suitability depends on the task and runtime.
MiniCPM5-2B is a causal language model based on the standard LlamaForCausalLM architecture. It is a dense Transformer with 2,516,756,480 parameters, 42 layers, 16 query-attention heads and 2 key/value heads.
The model is intended for local assistants, coding agents, tool-use workflows, reasoning tasks, on-device deployment and other resource-constrained scenarios where a compact model is preferred.
The model card lists a native context length of 131,072 tokens, supporting long-context language tasks and workflows that need to process comparatively large inputs.
The listed model variants include a BF16 final release, GGUF for llama.cpp, Ollama and LM Studio, MLX/4-bit for Apple Silicon, GPTQ/4-bit, DSpark draft models for inference acceleration, and a LiteRT-LM version. The appropriate choice depends on the target runtime.
The model card identifies the license as Apache-2.0. Users should still review the repository's license and accompanying terms before deploying it in a particular project.
CreateOS Sandbox is an isolated compute environment for running code and agent workloads in Firecracker micro-VMs with private networking and SDK, CLI, or MCP control.
AakarDev AI helps teams manage AI provider access, project setup, logs, and analytics in one dashboard. BYOK support included.
ByteAsk is a terminal-first AI coding agent for C and C++ that edits repos and verifies changes with compilers, debuggers, sanitizers, and tests.
MeetStream is a meeting bot API for Zoom, Google Meet, Microsoft Teams, and Webex. Record, stream, and analyze meetings with usage-based pricing and $5 free credit.
Codex Plugins bundle reusable skills, app integrations, and MCP servers into workflows you can install in the Codex app or use from Codex CLI.
hob is an independent workspace for coding agents, with local control over sessions, terminals, history, routing, and follow-up work.