MiniCPM5-2B

OpenbmbMCP Tool CallReasoning
openbmb/minicpm5-2bOpen Weights

Dense 2B-class open-source model for on-device and resource-constrained use, with native long-context support, tool calling, and agentic tasks

Benchmark Pricing$0.00 / 1M in$0.00 / 1M out$0.00 cache read
Context: 131,072 tokens•Max Output: 131,072 tokens•Released: 2026-09-06

TECHNICAL SPECIFICATIONS

Context Window131,072131.1K tokens
Max Output131,072131.1K tokens
Licenseapache-2.0Self-hostable
Input Modalities
Text
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema

MODEL CONTEXT PROTOCOL (MCP) READINESS

✓ MiniCPM5-2B natively supports OpenAI / Anthropic format tool calling and is fully compatible with MCP servers and agent loops.

MCP Context Window Recommendations

With a context capacity of 131,072 tokens, this model can handle moderately large MCP tool definitions and multi-turn conversation logs comfortably.

API CALL INVOCATION EXAMPLE

// Example: Calling MiniCPM5-2B via OpenAI SDK
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.OPENBMB_API_KEY,
});

const response = await client.chat.completions.create({
  model: "openbmb/minicpm5-2b",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

console.log(response.choices[0].message.content);

PRICING BY PROVIDER

1 providers
AMDMiniCPM5-2B
$0.00 / $0.00$0.00 cache

Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.

Prompt Caching Active

This model supports prompt caching at $0.00 / 1M tokens, saving up to 100% on repetitive MCP tool definitions and system instructions.