---
title: "Voxtral Small 24B 2507"
description: "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."
canonical: https://pydantic.dev/models/list/voxtral-small-24b-2507/
---

# Voxtral Small 24B 2507

> 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.
>
> Markdown copy of https://pydantic.dev/models/list/voxtral-small-24b-2507/. Index for agents: https://pydantic.dev/models/llms.txt

**Agents: use the API for model information.** It answers a question in one request, where the pages need several.

- Choose a model for an agent: `POST https://pydantic.dev/models/api/select` with a JSON body such as `{"description": "what the agent does"}`. It returns up to five ranked models with reasons. Format: https://pydantic.dev/models/select.md
- Search models by name: `GET https://pydantic.dev/models/api/search?query=<text>`
- List, filter and sort models: `GET https://pydantic.dev/models/api/models`, for example `?weights=open&max_price=2&sort=efficiency`
- One model in full: `GET https://pydantic.dev/models/api/models/<slug>`
- Any other question about the models: `GET https://pydantic.dev/models/api/ask?query=<question>`

Add `intent=<intent>&stack=<stack>&harness=<harness>` to the query string of all but the single model. An `OPTIONS` request to any endpoint returns its schema. The same five are tools of the MCP server at `https://pydantic.dev/models/mcp`. More: https://pydantic.dev/models/usage.md

Use it with Pydantic AI as `gateway/bedrock:mistral.voxtral-small-24b-2507`.

## Spec sheet

- **Family:** Mistral
- **Released:** 15 Jul 2025
- **Weights:** open
- **Context window:** 32,000 tokens
- **Largest response:** 26,214 tokens
- **Accepts:** text, audio, file
- **Tool calling:** yes
- **Knowledge cutoff:** unknown
- **Intelligence index:** not enough benchmark results yet
- **Scores updated:** unknown
- **Price:** $0.1 input, $0.3 output, $0.15 blended per 1M tokens
- **Index points per $:** – (rank –)
- **Speed:** 100.5 tokens/sec (rank 41)
- **Popularity:** rank 179 of 194 by usage
- **Pydantic AI Gateway:** built in

## Benchmarks


No results yet on the benchmarks we track.

## Providers and prices

US dollars per million tokens.

| Provider    | Gateway  | Pydantic AI string                               | Input | Cached input | Output |
| ----------- | -------- | ------------------------------------------------ | ----- | ------------ | ------ |
| Mistral     | BYOK     | `mistral:voxtral-small-24b-2507`                 | $0.1  | $0.01        | $0.4   |
| AWS Bedrock | built in | `gateway/bedrock:mistral.voxtral-small-24b-2507` | $0.1  | –            | $0.3   |
| OpenRouter  | BYOK     | `openrouter:mistralai/voxtral-small-24b-2507`    | $0.1  | $0.01        | $0.3   |

## Use Voxtral Small 24B 2507 with Pydantic AI

### hello.py

Ask Voxtral Small 24B 2507 a question with a Pydantic AI agent and print the answer. Run it with uv run hello.py.

```python
# /// script
# dependencies = ["pydantic-ai"]
# ///
import os

from pydantic_ai import Agent

os.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'

agent = Agent('gateway/bedrock:mistral.voxtral-small-24b-2507', instructions='Be concise, reply with one sentence.')

result = agent.run_sync('Where does "hello world" come from?')
print(result.output)
```

### structured_output.py

Get validated, typed output from Voxtral Small 24B 2507 by giving the agent a Pydantic model. Run it with uv run structured_output.py.

```python
# /// script
# dependencies = ["pydantic-ai"]
# ///
import os

from pydantic import BaseModel
from pydantic_ai import Agent

os.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'


class CityLocation(BaseModel):
    city: str
    country: str


agent = Agent('gateway/bedrock:mistral.voxtral-small-24b-2507', output_type=CityLocation)

result = agent.run_sync('Where were the olympics held in 2012?')
print(result.output)
#> city='London' country='United Kingdom'
```

### tools.py

Give Voxtral Small 24B 2507 two tools to call, one of which reads the agent's dependencies. Run it with uv run tools.py.

```python
# /// script
# dependencies = ["pydantic-ai"]
# ///
import os
import random

from pydantic_ai import Agent, RunContext

os.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'

agent = Agent(
    'gateway/bedrock:mistral.voxtral-small-24b-2507',
    deps_type=str,
    instructions="You're a dice game, roll the die and see if it matches the user's guess.",
)


@agent.tool_plain
def roll_dice() -> str:
    """Roll a six-sided die and return the result."""
    return str(random.randint(1, 6))


@agent.tool
def get_player_name(ctx: RunContext[str]) -> str:
    """Get the player's name."""
    return ctx.deps


result = agent.run_sync('My guess is 4', deps='Anne')
print(result.output)
```

### streaming.py

Stream Voxtral Small 24B 2507's reply to the terminal as it is generated. Run it with uv run streaming.py.

```python
# /// script
# dependencies = ["pydantic-ai"]
# ///
import asyncio
import os

from pydantic_ai import Agent

os.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'

agent = Agent('gateway/bedrock:mistral.voxtral-small-24b-2507')


async def main():
    async with agent.run_stream('Explain prompt caching in three bullet points.') as response:
        async for text in response.stream_text(delta=True):
            print(text, end='', flush=True)


asyncio.run(main())
```

### pax.sh

Code with Voxtral Small 24B 2507 in your terminal using Pax, the Pydantic AI coding agent. On macOS, open a new terminal after installing, so pax isn't the system's archiver.

```sh
# uv tool install pydantic-ai-pax
export PYDANTIC_AI_GATEWAY_API_KEY='...'

pax -m 'gateway/bedrock:mistral.voxtral-small-24b-2507'
```

### ai_sdk.ts

Call Voxtral Small 24B 2507 from TypeScript with the Vercel AI SDK, through Pydantic AI Gateway.

```ts
// npm install ai @ai-sdk/amazon-bedrock
import { createAmazonBedrock } from '@ai-sdk/amazon-bedrock'
import { generateText } from 'ai'

process.env.PYDANTIC_AI_GATEWAY_API_KEY = '...'

const bedrock = createAmazonBedrock({
  baseURL: 'https://gateway.pydantic.dev/proxy/bedrock',
  apiKey: process.env.PYDANTIC_AI_GATEWAY_API_KEY,
})

const { text } = await generateText({
  model: bedrock('mistral.voxtral-small-24b-2507'),
  system: 'Be concise, reply with one sentence.',
  prompt: 'Where does "hello world" come from?',
})
console.log(text)
```

## About Voxtral Small 24B 2507

Voxtral Small 24B 2507 costs $0.1 per million input tokens and $0.3 per million output tokens and has a 32k token context window.

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.

**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.

Prices come from [genai-prices](https://github.com/pydantic/genai-prices), in US dollars per million tokens. Benchmark scores come from Epoch AI and LMArena (CC BY 4.0), Browser Use, and our own Pydantic AI benchmarks (CC BY 4.0); the index and its sources are described at https://pydantic.dev/models/methodology.md. Data built 2026-11-30. This model from the API: `https://pydantic.dev/models/api/models/voxtral-small-24b-2507`. Compare it with others: `https://pydantic.dev/models/api/models?slug=voxtral-small-24b-2507,<other slug>`
