{"slug":"minimax-m2.5","name":"MiniMax M2.5","family":"minimax","family_name":"MiniMax","developer":"MiniMax","color":"#e8467c","status":"active","released":"2026-02-12","snapshot_of":null,"open":true,"context":204800,"max_output":131072,"knowledge_cutoff":null,"modalities":["text"],"output_modalities":["text"],"reasoning":true,"tools":true,"structured_output":true,"huggingface":"MiniMaxAI/MiniMax-M2.5","speed":30,"latency":3.21,"short":"An open-weights text model from MiniMax, released February 2026, priced well below the registry median. It ranks near the bottom on the composite intelligence index and on human-vote arenas.","strengths":["Blended price of $0.52 per million tokens, about half the median","Ranks 33rd of 194 on intelligence points per dollar","Open weights, 200k context window, 131k maximum output","Supports tool calling, reasoning mode and structured output"],"weaknesses":["Intelligence index 40.2, 107th of 114, versus a 59.5 median","ARC-AGI-2 score of 4.9%, 59th of 68","LMArena text rating 1359, 107th of 114"],"best_for":"Cost-sensitive agents needing tool calls and long context, where top-tier reasoning is not required.","long":"MiniMax M2.5 is an open-weights text model with a 200k context window and up to 131k output tokens. It supports tool calling, reasoning mode and structured output. Its main appeal is cost: a blended price of about $0.52 per million tokens, roughly half the registry median.\n\nCapability is the trade-off. Its intelligence index of 40.2 ranks 107th of 114, well below the median of 59.5, and its LMArena text rating is similarly low. It scores 4.9% on ARC-AGI-2. Terminal-Bench, at 42.7%, sits close to the median.\n\nOnly five benchmarks are listed, and two providers serve it. Test it on your own workload before choosing it for tasks where accuracy matters more than token cost.","described":true,"gateway":false,"byok":true,"string":"openrouter:minimax/minimax-m2.5","input":0.295,"output":1.2,"cache_read":0.06,"blended":0.5212,"efficiency":77.1,"bench":{"index":40.2,"arc_agi_2":4.9,"terminal":42.7,"webdev":1384.1,"lmarena":1359.3},"offers":[{"provider":"openrouter","name":"OpenRouter","model_id":"minimax/minimax-m2.5","api":["openai"],"input":0.295,"output":1.2,"cache_read":0.06,"cache_write":null,"input_tiers":[],"output_tiers":[],"context":null,"deprecated":false,"gateway":false,"gateway_route":null,"byok":true,"string":"openrouter:minimax/minimax-m2.5","gateway_string":null},{"provider":"novita","name":"Novita","model_id":"minimax/minimax-m2.5","api":["openai"],"input":0.3,"output":1.2,"cache_read":0.03,"cache_write":null,"input_tiers":[],"output_tiers":[],"context":204800,"deprecated":false,"gateway":false,"gateway_route":null,"byok":true,"string":null,"gateway_string":null}],"ranks":{"intelligence":104,"popularity":137,"efficiency":33,"speed":170,"price":62},"top_score":0.4516,"about":["An open-weights text model from MiniMax, released February 2026, priced well below the registry median. It ranks near the bottom on the composite intelligence index and on human-vote arenas.","MiniMax M2.5 is an open-weights text model with a 200k context window and up to 131k output tokens. It supports tool calling, reasoning mode and structured output. Its main appeal is cost: a blended price of about $0.52 per million tokens, roughly half the registry median.","Capability is the trade-off. Its intelligence index of 40.2 ranks 107th of 114, well below the median of 59.5, and its LMArena text rating is similarly low. It scores 4.9% on ARC-AGI-2. Terminal-Bench, at 42.7%, sits close to the median.","Only five benchmarks are listed, and two providers serve it. Test it on your own workload before choosing it for tasks where accuracy matters more than token cost."],"examples":[{"file":"hello.py","lang":"python","code":"# /// script\n# dependencies = [\"pydantic-ai\"]\n# ///\nimport os\n\nfrom pydantic_ai import Agent\n\nos.environ['OPENROUTER_API_KEY'] = '...'\n\nagent = Agent('openrouter:minimax/minimax-m2.5', instructions='Be concise, reply with one sentence.')\n\nresult = agent.run_sync('Where does \"hello world\" come from?')\nprint(result.output)","soon":false},{"file":"structured_output.py","lang":"python","code":"# /// script\n# dependencies = [\"pydantic-ai\"]\n# ///\nimport os\n\nfrom pydantic import BaseModel\nfrom pydantic_ai import Agent\n\nos.environ['OPENROUTER_API_KEY'] = '...'\n\n\nclass CityLocation(BaseModel):\n    city: str\n    country: str\n\n\nagent = Agent('openrouter:minimax/minimax-m2.5', output_type=CityLocation)\n\nresult = agent.run_sync('Where were the olympics held in 2012?')\nprint(result.output)\n#> city='London' country='United Kingdom'","soon":false},{"file":"tools.py","lang":"python","code":"# /// script\n# dependencies = [\"pydantic-ai\"]\n# ///\nimport os\nimport random\n\nfrom pydantic_ai import Agent, RunContext\n\nos.environ['OPENROUTER_API_KEY'] = '...'\n\nagent = Agent(\n    'openrouter:minimax/minimax-m2.5',\n    deps_type=str,\n    instructions=\"You're a dice game, roll the die and see if it matches the user's guess.\",\n)\n\n\n@agent.tool_plain\ndef roll_dice() -> str:\n    \"\"\"Roll a six-sided die and return the result.\"\"\"\n    return str(random.randint(1, 6))\n\n\n@agent.tool\ndef get_player_name(ctx: RunContext[str]) -> str:\n    \"\"\"Get the player's name.\"\"\"\n    return ctx.deps\n\n\nresult = agent.run_sync('My guess is 4', deps='Anne')\nprint(result.output)","soon":false},{"file":"streaming.py","lang":"python","code":"# /// script\n# dependencies = [\"pydantic-ai\"]\n# ///\nimport asyncio\nimport os\n\nfrom pydantic_ai import Agent\n\nos.environ['OPENROUTER_API_KEY'] = '...'\n\nagent = Agent('openrouter:minimax/minimax-m2.5')\n\n\nasync def main():\n    async with agent.run_stream('Explain prompt caching in three bullet points.') as response:\n        async for text in response.stream_text(delta=True):\n            print(text, end='', flush=True)\n\n\nasyncio.run(main())","soon":false},{"file":"pax.sh","lang":"sh","code":"export OPENROUTER_API_KEY='...'\n\nuvx pax --model 'openrouter:minimax/minimax-m2.5'","soon":true},{"file":"pi.sh","lang":"sh","code":"# npm install -g @earendil-works/pi-coding-agent\nexport OPENROUTER_API_KEY='...'\n\npi --model 'openrouter/minimax/minimax-m2.5'","soon":false},{"file":"codex.sh","lang":"sh","code":"# npm install -g @openai/codex\nexport OPENROUTER_API_KEY='...'\n\ncodex --model 'minimax/minimax-m2.5' \\\n  -c model_provider='openrouter' \\\n  -c model_providers.openrouter.name='OpenRouter' \\\n  -c model_providers.openrouter.base_url='https://api.openrouter.example/v1' \\\n  -c model_providers.openrouter.env_key='OPENROUTER_API_KEY'","soon":false},{"file":"ai_sdk.ts","lang":"ts","code":"// npm install ai @ai-sdk/openai-compatible\nimport { createOpenAICompatible } from '@ai-sdk/openai-compatible'\nimport { generateText } from 'ai'\n\nprocess.env.OPENROUTER_API_KEY = '...'\n\nconst openrouter = createOpenAICompatible({\n  name: 'openrouter',\n  baseURL: 'https://api.openrouter.example/v1',\n  apiKey: process.env.OPENROUTER_API_KEY,\n})\n\nconst { text } = await generateText({\n  model: openrouter('minimax/minimax-m2.5'),\n  system: 'Be concise, reply with one sentence.',\n  prompt: 'Where does \"hello world\" come from?',\n})\nconsole.log(text)","soon":false}],"benchmarks":[{"id":"index","name":"Intelligence index","unit":"","desc":"Our composite of the benchmarks below, 0-100","category":"reference","floor":0,"ceiling":100,"url":"/methodology/","credit":"Pydantic, from the sources credited below"},{"id":"arc_agi_2","name":"ARC-AGI-2","unit":"%","desc":"Abstract visual puzzles that test learning a new rule from a few examples","category":"reasoning","floor":0,"ceiling":100,"url":"https://arcprize.org/leaderboard","credit":"ARC Prize, via Epoch AI (CC BY 4.0)"},{"id":"terminal","name":"Terminal-Bench","unit":"%","desc":"Tasks completed in a terminal; the best result of any agent using the model","category":"coding","floor":0,"ceiling":100,"url":"https://www.tbench.ai/leaderboard/terminal-bench/2.0","credit":"Terminal-Bench, via Epoch AI (CC BY 4.0)"},{"id":"webdev","name":"WebDev Arena","unit":"","desc":"Rating from human votes on web apps the models built","category":"coding","floor":1000,"ceiling":1900,"url":"https://web.lmarena.ai/leaderboard","credit":"LMArena, via Epoch AI (CC BY 4.0)"},{"id":"lmarena","name":"LMArena text","unit":"","desc":"Rating from blind human votes between pairs of chat responses","category":"preference","floor":1100,"ceiling":1600,"url":"https://lmarena.ai/leaderboard/text","credit":"LMArena (CC BY 4.0)"}],"generated":"2026-11-25","gaps":{"speed":3,"index":80,"description":0}}