{"slug":"ministral-3b-2512","name":"Ministral 3 3B 2512","family":"mistral","family_name":"Mistral","developer":"Mistral","color":"#f2b705","status":"active","released":"2025-12-02","snapshot_of":null,"open":true,"context":131072,"max_output":131072,"knowledge_cutoff":null,"modalities":["text","image"],"output_modalities":["text"],"reasoning":false,"tools":true,"structured_output":true,"huggingface":"mistralai/Ministral-3-3B-Instruct-2512","speed":172.5,"latency":0.32,"short":"A small open-weights model from Mistral, released December 2025, priced among the cheapest in the registry at $0.10 per million tokens. It accepts text and image input.","strengths":["Input and output both cost $0.10 per million tokens, 5th cheapest of 194","Accepts text and image input with tool calling and structured output","131k context window and up to 131k response tokens","Open weights, available from Mistral and OpenRouter"],"weaknesses":["No benchmark results, so capability cannot be compared with other models","No reasoning mode","Ranks 146th of 194 for popularity"],"best_for":"Low-cost, high-volume agent steps such as tool calling, structured extraction, and handling image inputs.","long":"Ministral 3 3B 2512 is a 3B-class open-weights model from Mistral, released in December 2025. Its main appeal is price. At $0.10 per million input tokens and $0.10 per million output tokens, it ranks 5th cheapest of 194 models, against a registry median blended price of about $1.01. It accepts text and image input, supports tool calling and structured output, and offers a 131k context window with up to 131k response tokens. It has no reasoning mode.\n\nThe registry holds no benchmark results for this model, so its quality cannot be ranked against others, and it has no intelligence or value rank. Its popularity rank is 146 of 194. It is offered by two providers, Mistral and OpenRouter. A builder choosing it should weigh the low cost and feature set against the lack of measured capability, and test it on the intended task before relying on it.","described":true,"gateway":false,"byok":true,"string":"mistral:ministral-3b-2512","input":0.1,"output":0.1,"cache_read":0.01,"blended":0.1,"efficiency":null,"bench":{},"offers":[{"provider":"mistral","name":"Mistral","model_id":"ministral-3b-2512","api":["openai"],"input":0.1,"output":0.1,"cache_read":0.01,"cache_write":null,"input_tiers":[],"output_tiers":[],"context":131072,"deprecated":false,"gateway":false,"gateway_route":null,"byok":true,"string":"mistral:ministral-3b-2512","gateway_string":null},{"provider":"openrouter","name":"OpenRouter","model_id":"mistralai/ministral-3b-2512","api":["openai"],"input":0.1,"output":0.1,"cache_read":0.01,"cache_write":null,"input_tiers":[],"output_tiers":[],"context":131072,"deprecated":false,"gateway":false,"gateway_route":null,"byok":true,"string":"openrouter:mistralai/ministral-3b-2512","gateway_string":null}],"ranks":{"intelligence":null,"popularity":146,"efficiency":null,"speed":9,"price":5},"top_score":0.1048,"about":["A small open-weights model from Mistral, released December 2025, priced among the cheapest in the registry at $0.10 per million tokens. It accepts text and image input.","Ministral 3 3B 2512 is a 3B-class open-weights model from Mistral, released in December 2025. Its main appeal is price. At $0.10 per million input tokens and $0.10 per million output tokens, it ranks 5th cheapest of 194 models, against a registry median blended price of about $1.01. It accepts text and image input, supports tool calling and structured output, and offers a 131k context window with up to 131k response tokens. It has no reasoning mode.","The registry holds no benchmark results for this model, so its quality cannot be ranked against others, and it has no intelligence or value rank. Its popularity rank is 146 of 194. It is offered by two providers, Mistral and OpenRouter. A builder choosing it should weigh the low cost and feature set against the lack of measured capability, and test it on the intended task before relying on it."],"examples":[{"file":"hello.py","lang":"python","code":"# /// script\n# dependencies = [\"pydantic-ai\"]\n# ///\nimport os\n\nfrom pydantic_ai import Agent\n\nos.environ['MISTRAL_API_KEY'] = '...'\n\nagent = Agent('mistral:ministral-3b-2512', 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['MISTRAL_API_KEY'] = '...'\n\n\nclass CityLocation(BaseModel):\n    city: str\n    country: str\n\n\nagent = Agent('mistral:ministral-3b-2512', 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['MISTRAL_API_KEY'] = '...'\n\nagent = Agent(\n    'mistral:ministral-3b-2512',\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['MISTRAL_API_KEY'] = '...'\n\nagent = Agent('mistral:ministral-3b-2512')\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 MISTRAL_API_KEY='...'\n\nuvx pax --model 'mistral:ministral-3b-2512'","soon":true},{"file":"pi.sh","lang":"sh","code":"# npm install -g @earendil-works/pi-coding-agent\nexport MISTRAL_API_KEY='...'\n\npi --model 'mistral/ministral-3b-2512'","soon":false},{"file":"codex.sh","lang":"sh","code":"# npm install -g @openai/codex\nexport MISTRAL_API_KEY='...'\n\ncodex --model 'ministral-3b-2512' \\\n  -c model_provider='mistral' \\\n  -c model_providers.mistral.name='Mistral' \\\n  -c model_providers.mistral.base_url='https://api.mistral.example/v1' \\\n  -c model_providers.mistral.env_key='MISTRAL_API_KEY'","soon":false},{"file":"ai_sdk.ts","lang":"ts","code":"// npm install ai @ai-sdk/mistral\nimport { createMistral } from '@ai-sdk/mistral'\nimport { generateText } from 'ai'\n\nprocess.env.MISTRAL_API_KEY = '...'\n\nconst mistral = createMistral({ apiKey: process.env.MISTRAL_API_KEY })\n\nconst { text } = await generateText({\n  model: mistral('ministral-3b-2512'),\n  system: 'Be concise, reply with one sentence.',\n  prompt: 'Where does \"hello world\" come from?',\n})\nconsole.log(text)","soon":false}],"benchmarks":[],"generated":"2026-11-25","gaps":{"speed":3,"index":80,"description":0}}