BuildTube Preview About
Back to the feed

MiniCPM5-2B: Run a 2B model built for phones that holds 131k tokens

Added · Updated

A small language model — 2.5 billion parameters in a standard Llama-style architecture — built specifically for running on a device rather than in a data centre, with a 131,072-token context that is unusual at this size.

The creator reports it reaching the best average in its size class on their comparison set and staying competitive with 4-billion-parameter models, with its clearest advantages in coding, mathematics, long-context work, tool use and agent tasks. Unusually, the team also published the training data behind it as open datasets, covering web text, tiered code data, agent examples and reinforcement learning samples.

Model details

Original model openbmb/MiniCPM5-2B

Write & reason

Input Text Output Text

Ways to use it Browser demo · Run locally

Local fit guide

One reviewed local configuration. Add My computer details to compare them.

BF16 Transformers on CPU · Transformers · The model card documents Transformers CPU and GPU inference. This configuration uses the BF16 checkpoint with a conservative 4K context estimate.

How this configuration was checked

16 GB memory · reviewed estimate Source lists 5 GB (parameter-derived). Estimate uses about 5.0 GB for 2.52B BF16 parameters, an architecture-based ~0.176 GB KV cache at 4K (42 layers × 2 KV heads × assumed 128-wide heads × K/V × 2-byte values), 4 GB runtime buffers, and 6.824 GB reserved for the operating system and applications.

BF16 · 4,096 token context · source context 131,072 tokens · batch size 1 · concurrency 1 · Single-user estimate at 4K context; the source supports CPU inference, and a smaller context reduces memory pressure.

Source checked 2026-10-08 · revision f974000. published setup and parameter count; memory threshold estimated by BuildTube

Set up My computer · Open the exact setup source (opens in a new tab)

What it does

This is the second model in the MiniCPM5 series, scaling the same training recipe up from the 1-billion version, and it is aimed squarely at situations where sending text to a server is not an option: local assistants, coding agents running on a laptop, tool-use workflows, and anything on constrained hardware. The architecture is deliberately unexciting — a standard Llama-style causal model, 42 layers, grouped-query attention — because that means every existing runtime already supports it, and the team ships it in the formats that matter for on-device work: GGUF for llama.cpp and Ollama, MLX for Apple Silicon, a 4-bit GPTQ build, and a LiteRT version. What is less usual is the data release. Alongside the model come the datasets it was trained on, including a web pre-training corpus, code data organised into difficulty tiers, half a million agent training samples and 80,000 reinforcement learning samples.

You could use it to…

  • Run a local assistant on your laptop without sending text to a server
  • Run a coding agent against a small model on your own hardware
  • Read a very long document in one go using the 131,072-token context

Can I use this?

Runs in LM Studio on your computer

You'll need A phone, laptop or small GPU · Setup needed

Worth knowing Every benchmark figure is the creator’s own, measured against a comparison set they chose, and a small model’s strength on benchmarks does not always survive contact with an unusual real task. At this size it will be weaker on broad general knowledge than models several times larger, which is the trade being made. The repository holds several checkpoints from different training stages, so picking the wrong one gets you a model that has not been through its final tuning. Apache 2.0.

Why it's here

Not trending this week

Last seen on the Hugging Face trending list on 20 September 2026. It stays on BuildTube so you can still find it.

  • 1,841 people have liked it on Hugging Face.
  • It was downloaded 1,061,626 times in the last 30 days.

Numbers checked on 8 November 2026; not refreshed since.

Behind it

View model page

BuildTube has not run or verified this project. Everything above is written from what the creator published.

Made this?

Quick questions

What is MiniCPM5-2B?
This is the second model in the MiniCPM5 series, scaling the same training recipe up from the 1-billion version, and it is aimed squarely at situations where sending text to a server is not an option: local assistants, coding agents running on a laptop, tool-use workflows, and anything on constrained hardware.
What can I use MiniCPM5-2B for?
Run a local assistant on your laptop without sending text to a server; Run a coding agent against a small model on your own hardware; Read a very long document in one go using the 131,072-token context
Can I run MiniCPM5-2B on my computer?
It runs on your own hardware with a model runtime. A phone, laptop or small GPU.
What do I need to use MiniCPM5-2B?
Modest hardware by current standards — the creator publishes builds for llama.cpp, Ollama, LM Studio, Apple Silicon through MLX, and quantized 4-bit versions. The final released checkpoint is the one at the repository root; earlier training stages are published separately.
What license does MiniCPM5-2B use?
The source lists the Apache License 2.0 license (Apache-2.0), an OSI-approved open-source license. Read the license file on the source page for the full terms.

More from this week

Explore by topic

Post this

A ready-made picture of this card for X, LinkedIn or a group chat. Link to this page alongside it.

Share image for MiniCPM5-2BDownload share image

For makers

Made this? Show it’s on BuildTube — add the badge to your README or embed the card on your site.

Featured on BuildTube

README badge (Markdown)

[![Featured on BuildTube](https://buildtube.app/badge/hf-openbmb-minicpm5-2b.svg)](https://buildtube.app/p/hf-openbmb-minicpm5-2b/)

Embed card (HTML)

<iframe src="https://buildtube.app/embed/hf-openbmb-minicpm5-2b/" width="560" height="240" style="border:0;max-width:100%" loading="lazy" title="MiniCPM5-2B on BuildTube"></iframe>

Back to the feed