MiniCPM5-1B
Very smart small 1B model, but to prevent occasion loopsm enforce strict max_tokens or step ceilings.
Agent Compatibility
To make the MiniCPM5-1B model compatible with OpenAI's agentic ecosystem, you must translate the model's native raw XML outputs into structured OpenAI JSON tool calls. MiniCPM5-1B inherently uses tags like <function name="...">.
Option 1: SGLang
SGLang is the officially recommended backend for MiniCPM5 agentic workflows. It has a built-in parser that automatically translates MiniCPM5's XML into standard OpenAI tool calls on the fly.
Option 2: MiniCPM5-1B-Agentic-v1
To run the model locally via llama.cpp using GGUF format, you can use community variants like hudsongouge/MiniCPM5-1B-Agentic-v1. This pre-packs a modified chat_template.jinja allowing direct compatibility with agent tools.