{"slug":"mistral-large-4-0","name":"Mistral Large 4","family":"mistral","family_name":"Mistral","developer":"Mistral","color":"#f2b705","status":"active","released":"2026-10-06","snapshot_of":null,"open":false,"context":null,"max_output":262144,"knowledge_cutoff":null,"modalities":["text","image"],"output_modalities":["text"],"reasoning":true,"tools":true,"structured_output":true,"huggingface":"mistralai/Mistral-Large-4-1T-A52B","speed":42,"latency":1.09,"short":"Closed-weight model from Mistral, released October 2026, accepting text and image input with tool calling and reasoning mode. It is strongest on competition mathematics and weakest on factual recall from memory.","strengths":["98.3% on OTIS Mock AIME, 27th of 95, above the 94.2% median","Intelligence per dollar of 56.3, ranking 38th of 194","Input $0.70 and output $2.10 per million tokens, near the median blended price","Supports image input, tool calling, reasoning mode and structured output"],"weaknesses":["20.0% on SimpleQA Verified, 70th of 76, far below the 46.5% median","Intelligence index of 59.1 ranks 61st of 114, just under the 59.5 median","Context window is not listed, and OpenRouter is the only provider"],"best_for":"Math-heavy reasoning and tool-using agents where cost per answer matters more than factual recall.","long":"Mistral Large 4 is a closed-weight model released in October 2026. It accepts text and image input and supports tool calling, reasoning mode and structured output. Its Intelligence index of 59.1 sits just below the registry median of 59.5, ranking 61st of 114. Pricing is $0.70 per million input tokens and $2.10 per million output tokens, a blended rate close to the median, and it ranks 38th of 194 on intelligence per dollar.\n\nThe clearest result is competition mathematics, where it scores 98.3% on OTIS Mock AIME, 27th of 95 and above the median of 94.2%. Other results are mixed. GPQA Diamond at 88.1% and FrontierMath at 58.6% both fall below their medians, and APEX-Agents at 51.6% is slightly under the median of 54.3%.\n\nFactual recall is the weak point. SimpleQA Verified scores 20.0%, placing 70th of 76. The context window is not listed, and OpenRouter is the only provider in the registry.","described":true,"gateway":false,"byok":true,"string":"openrouter:mistralai/mistral-large-4-0","input":0.7,"output":2.1,"cache_read":0.07,"blended":1.05,"efficiency":56.3,"bench":{"index":59.1,"gpqa":88.1,"aime":98.3,"frontiermath":58.6,"simpleqa":20,"scicode":54.2,"apex":51.6,"lmarena":1413.7,"eci":154.6},"offers":[{"provider":"openrouter","name":"OpenRouter","model_id":"mistralai/mistral-large-4-0","api":["openai"],"input":0.7,"output":2.1,"cache_read":0.07,"cache_write":null,"input_tiers":[],"output_tiers":[],"context":null,"deprecated":false,"gateway":false,"gateway_route":null,"byok":true,"string":"openrouter:mistralai/mistral-large-4-0","gateway_string":null}],"ranks":{"intelligence":58,"popularity":61,"efficiency":38,"speed":142,"price":97},"top_score":0.7124,"about":["Closed-weight model from Mistral, released October 2026, accepting text and image input with tool calling and reasoning mode. It is strongest on competition mathematics and weakest on factual recall from memory.","Mistral Large 4 is a closed-weight model released in October 2026. It accepts text and image input and supports tool calling, reasoning mode and structured output. Its Intelligence index of 59.1 sits just below the registry median of 59.5, ranking 61st of 114. Pricing is $0.70 per million input tokens and $2.10 per million output tokens, a blended rate close to the median, and it ranks 38th of 194 on intelligence per dollar.","The clearest result is competition mathematics, where it scores 98.3% on OTIS Mock AIME, 27th of 95 and above the median of 94.2%. Other results are mixed. GPQA Diamond at 88.1% and FrontierMath at 58.6% both fall below their medians, and APEX-Agents at 51.6% is slightly under the median of 54.3%.","Factual recall is the weak point. SimpleQA Verified scores 20.0%, placing 70th of 76. The context window is not listed, and OpenRouter is the only provider in the registry."],"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:mistralai/mistral-large-4-0', 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:mistralai/mistral-large-4-0', 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:mistralai/mistral-large-4-0',\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:mistralai/mistral-large-4-0')\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:mistralai/mistral-large-4-0'","soon":true},{"file":"pi.sh","lang":"sh","code":"# npm install -g @earendil-works/pi-coding-agent\nexport OPENROUTER_API_KEY='...'\n\npi --model 'openrouter/mistralai/mistral-large-4-0'","soon":false},{"file":"codex.sh","lang":"sh","code":"# npm install -g @openai/codex\nexport OPENROUTER_API_KEY='...'\n\ncodex --model 'mistralai/mistral-large-4-0' \\\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('mistralai/mistral-large-4-0'),\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":"gpqa","name":"GPQA Diamond","unit":"%","desc":"Graduate-level science questions, multiple choice","category":"reasoning","floor":25,"ceiling":97,"url":"https://epoch.ai/benchmarks/gpqa-diamond","credit":"Epoch AI (CC BY 4.0)"},{"id":"aime","name":"OTIS Mock AIME","unit":"%","desc":"Competition mathematics problems with exact answers","category":"reasoning","floor":0,"ceiling":100,"url":"https://epoch.ai/benchmarks/otis-mock-aime-2024-2025","credit":"Epoch AI (CC BY 4.0)"},{"id":"frontiermath","name":"FrontierMath","unit":"%","desc":"Original research-level mathematics problems, tiers 1 to 3","category":"reasoning","floor":0,"ceiling":95,"url":"https://epoch.ai/frontiermath","credit":"Epoch AI (CC BY 4.0)"},{"id":"simpleqa","name":"SimpleQA Verified","unit":"%","desc":"Short factual questions answered from memory, without search","category":"reasoning","floor":0,"ceiling":100,"url":"https://epoch.ai/benchmarks/simpleqa-verified","credit":"Epoch AI (CC BY 4.0)"},{"id":"scicode","name":"SciCode","unit":"%","desc":"Scientific programming problems written by researchers","category":"coding","floor":0,"ceiling":100,"url":"https://scicode-bench.github.io/","credit":"SciCode, via Epoch AI (CC BY 4.0)"},{"id":"apex","name":"APEX-Agents","unit":"%","desc":"Long professional tasks (banking, consulting, law) passed on the first attempt","category":"agents","floor":0,"ceiling":100,"url":"https://epoch.ai/benchmarks","credit":"Mercor, 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)"},{"id":"eci","name":"Epoch Capabilities Index","unit":"","desc":"Epoch AI's own composite across about 40 benchmarks; shown for comparison, not part of our index","category":"reference","floor":80,"ceiling":180,"url":"https://epoch.ai/benchmarks/eci","credit":"Epoch AI (CC BY 4.0)"}],"generated":"2026-11-25","gaps":{"speed":3,"index":80,"description":0}}