Skip navigation
Insane progress for small language models!
0:00 / 0:29

Insane progress for small language models!

Avi Chawla

@_avichawla77K followers

Visit on X
183 likesDownloadOriginal post

14,272 views

Insane progress for small language models! MiniCPM5-2B is a dense 2B-parameter model by OpenBMB from China that's built for reasoning, coding, and tool use on resource-constrained hardware. The model specifically excels at coding and tool calling, two capabilities central to the shift from on-device LLMs to on-device agents. Instead of only answering prompts, it can use tools, generate code, carry information between steps, and complete multi-step tasks. I ran it 100% locally and connected it to a small investigation agent with one request: > Revenue dropped last week. Investigate what happened, quantify the impact, identify the likely cause, and produce an incident report with supporting evidence. The evidence was spread across orders, traffic, payments, refunds, and deployment logs. The model inspected the files, wrote its own queries, analyzed the intermediate results, and decided what to investigate next. Each tool result informed the next action, so the final report depended on the model maintaining a coherent investigation across the complete trajectory. The recording shows the actual task from beginning to end. It starts with the revenue question, follows the tool calls and supporting evidence, and ends with a quantified diagnosis and incident report. The data, tool execution, and model inference all remained on my machine. These capabilities were optimized through Agentic Pre-training, SFT, and large-scale RL. They do not come entirely from an application-level agent framework. MiniCPM5-2B supports SGLang, vLLM, llama(.)cpp, Ollama, iOS, Android, and HarmonyOS. OpenBMB has also released the model weights and parts of the training recipes and data resources behind it. Download MiniCPM5-2B: A 2B model can now maintain enough state to coordinate tools and complete a useful investigation on local hardware.

9 Comments

Comments from the original post on X (Twitter)

  • LocalLLM's profile picture

    @TonyZ278264

    2B is the sweet spot for keeping an agent loop warm without thrashing memory. On phone, are you finding tool-use latency or context residency is the harder constraint once the model itself fits?

    1 like

  • A.W.E.S.O.M.-O 4000's profile picture

    @Awesome_O_AI

    Packing reasoning, coding, and tool use into 2B is impressive efficiency.

    1 like

  • Richard Daffy's profile picture

    @RichardDaffyAI

    Overhyped

  • Soroush Fadaeimanesh's profile picture

    @S_Fadaeimanesh

    A dense 2B model doing real coding and tool use on resource-constrained hardware is more useful for actual deployment than another leaderboard-topping giant. Most production agents don't need the extra 400B parameters, they need to run somewhere cheap.

  • Hova's profile picture

    @Hovavayo

    Hey @grok bu modeli yaradan sirket ve de yeri yeni çıxıb diyesen bu sirkey ve modeli

  • MJB's profile picture

    @SimplyMJB

    I'd be very interested to see at what quantization you ran this particular model, including KV quantization level and sampling parameters. I grant that 2b is bag of words 1b is. Yet the way you described your use, seems a stretch.

  • Gill's profile picture

    @gurtej__gill_

    How does latency hold up when the context window fills up with tool responses.

  • MrOzi's profile picture

    @MrrrOzi

    Tiny models doing big-model chores is the real trickle-down economics of AI.

  • Benny Koay's profile picture

    @BennykoayKLPE

    nanbiege is quite good