{"slug":"voxtral-small-24b-2507","name":"Voxtral Small 24B 2507","family":"mistral","family_name":"Mistral","developer":"Mistral","color":"#f2b705","status":"active","released":"2025-07-15","snapshot_of":null,"open":true,"context":32000,"max_output":26214,"knowledge_cutoff":null,"modalities":["text","audio","file"],"output_modalities":["text"],"reasoning":false,"tools":true,"structured_output":true,"huggingface":"mistralai/Voxtral-Small-24B-2507","speed":100.5,"latency":0.46,"short":"A 24B open-weights model from Mistral that accepts text, audio and files and is priced well below the registry median. It has no benchmark results in the registry.","strengths":["Input costs $0.10 per million tokens, 15th cheapest of 194 models","Output costs $0.30 per million tokens, well below the $1.01 blended median","Accepts audio input alongside text and files","Supports tool calling and structured output"],"weaknesses":["No benchmark results, so capability cannot be compared with other models","Context window of 32k tokens is small for agent workloads","Ranks 185th of 194 on popularity"],"best_for":"Low-cost agents handling voice or audio input with short context and function calling, where benchmark evidence is not required.","long":"Voxtral Small 24B 2507 is an open-weights model from Mistral, released in July 2025. Its main appeal is price. At $0.10 per million input tokens and $0.30 per million output tokens, it ranks 15th of 194 models on price. It accepts text, audio and files, so it can take spoken input, which may suit voice-driven workflows.\n\nThe model supports tool calling and structured output, so it suits agents that call functions or return typed data. Its 32k-token context window is small compared with many current models, which limits how much material fits in one request. The registry holds no benchmark results for it, so its quality cannot be compared with other models.\n\nIt is available from Mistral, AWS Bedrock and OpenRouter, and is built into the Pydantic AI Gateway.","described":true,"gateway":true,"byok":true,"string":"gateway/bedrock:mistral.voxtral-small-24b-2507","input":0.1,"output":0.3,"cache_read":null,"blended":0.15,"efficiency":null,"bench":{},"offers":[{"provider":"mistral","name":"Mistral","model_id":"voxtral-small-24b-2507","api":["openai"],"input":0.1,"output":0.4,"cache_read":0.01,"cache_write":null,"input_tiers":[],"output_tiers":[],"context":32768,"deprecated":false,"gateway":false,"gateway_route":null,"byok":true,"string":"mistral:voxtral-small-24b-2507","gateway_string":null},{"provider":"aws","name":"AWS Bedrock","model_id":"mistral.voxtral-small-24b-2507","api":["anthropic","bedrock-converse"],"input":0.1,"output":0.3,"cache_read":null,"cache_write":null,"input_tiers":[],"output_tiers":[],"context":32000,"deprecated":false,"gateway":true,"gateway_route":"bedrock","byok":true,"string":"bedrock:mistral.voxtral-small-24b-2507","gateway_string":"gateway/bedrock:mistral.voxtral-small-24b-2507"},{"provider":"openrouter","name":"OpenRouter","model_id":"mistralai/voxtral-small-24b-2507","api":["openai"],"input":0.1,"output":0.3,"cache_read":0.01,"cache_write":null,"input_tiers":[],"output_tiers":[],"context":32000,"deprecated":false,"gateway":false,"gateway_route":null,"byok":true,"string":"openrouter:mistralai/voxtral-small-24b-2507","gateway_string":null}],"ranks":{"intelligence":null,"popularity":185,"efficiency":null,"speed":41,"price":15},"top_score":0.0119,"about":["A 24B open-weights model from Mistral that accepts text, audio and files and is priced well below the registry median. It has no benchmark results in the registry.","Voxtral Small 24B 2507 is an open-weights model from Mistral, released in July 2025. Its main appeal is price. At $0.10 per million input tokens and $0.30 per million output tokens, it ranks 15th of 194 models on price. It accepts text, audio and files, so it can take spoken input, which may suit voice-driven workflows.","The model supports tool calling and structured output, so it suits agents that call functions or return typed data. Its 32k-token context window is small compared with many current models, which limits how much material fits in one request. The registry holds no benchmark results for it, so its quality cannot be compared with other models.","It is available from Mistral, AWS Bedrock and OpenRouter, and is built into the Pydantic AI Gateway."],"examples":[{"file":"hello.py","lang":"python","code":"# /// script\n# dependencies = [\"pydantic-ai\"]\n# ///\nimport os\n\nfrom pydantic_ai import Agent\n\nos.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'\n\nagent = Agent('gateway/bedrock:mistral.voxtral-small-24b-2507', 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['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'\n\n\nclass CityLocation(BaseModel):\n    city: str\n    country: str\n\n\nagent = Agent('gateway/bedrock:mistral.voxtral-small-24b-2507', 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['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'\n\nagent = Agent(\n    'gateway/bedrock:mistral.voxtral-small-24b-2507',\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['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'\n\nagent = Agent('gateway/bedrock:mistral.voxtral-small-24b-2507')\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 PYDANTIC_AI_GATEWAY_API_KEY='...'\n\nuvx pax --model 'gateway/bedrock:mistral.voxtral-small-24b-2507'","soon":true},{"file":"ai_sdk.ts","lang":"ts","code":"// npm install ai @ai-sdk/amazon-bedrock\nimport { createAmazonBedrock } from '@ai-sdk/amazon-bedrock'\nimport { generateText } from 'ai'\n\nprocess.env.PYDANTIC_AI_GATEWAY_API_KEY = '...'\n\nconst bedrock = createAmazonBedrock({\n  baseURL: 'https://gateway.pydantic.dev/proxy/bedrock',\n  apiKey: process.env.PYDANTIC_AI_GATEWAY_API_KEY,\n})\n\nconst { text } = await generateText({\n  model: bedrock('mistral.voxtral-small-24b-2507'),\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}}