On this page
On this page
Providers
Mistral
The official external mistral plugin registers four contracts: chat completions,
media understanding (Voxtral batch transcription), realtime STT for Voice Call
(Voxtral Realtime), and memory embeddings (mistral-embed).
| Property | Value |
|---|---|
| Provider id | mistral |
| Plugin | @openclaw/mistral-provider |
| Auth env var | MISTRAL_API_KEY |
| Onboarding flag | --auth-choice mistral-api-key |
| Direct CLI flag | --mistral-api-key <key> |
| API | OpenAI-compatible (openai-completions) |
| Base URL | https://api.mistral.ai/v1 |
| Default model | mistral/mistral-large-latest |
| Embedding model | mistral-embed |
| Voxtral batch | voxtral-mini-latest (audio transcription) |
| Voxtral realtime | voxtral-mini-transcribe-realtime-2602 |
Getting started
Install the plugin
Installation applies to a running Gateway automatically; otherwise it takes effect on the next startup. See Apply changes and inspect.
Get your API key
Create an API key in the Mistral Console.
Run onboarding
Or pass the key directly:
Set a default model
Verify the model is available
Built-in LLM catalog
| Model ref | Input | Context | Max output | Notes |
|---|---|---|---|---|
mistral/mistral-large-latest |
text, image | 262,144 | 16,384 | Default model |
mistral/mistral-medium-3-5 |
text, image | 262,144 | 8,192 | Mistral Medium 3.5; adjustable reasoning |
mistral/mistral-small-latest |
text, image | 262,144 | 16,384 | Mistral Small 4 latest; adjustable reasoning_effort |
mistral/mistral-small-2603 |
text, image | 262,144 | 16,384 | Mistral Small 4 pinned; adjustable reasoning_effort |
mistral/codestral-latest |
text | 128,000 | 4,096 | Coding |
mistral/mistral-medium-2508 |
text, image | 128,000 | 8,192 | Deprecated; hidden; use Mistral Medium 3.5 |
mistral/devstral-medium-latest |
text | 262,144 | 32,768 | Deprecated; hidden; use Mistral Medium 3.5 |
Browse the plugin catalog row before changing config:
Smoke-test a model without starting the Gateway:
Audio transcription (Voxtral)
Use Voxtral for batch audio transcription through the media understanding pipeline:
Voice Call streaming STT
The mistral plugin registers Voxtral Realtime as a Voice Call streaming STT provider.
| Setting | Config path | Default |
|---|---|---|
| API key | plugins.entries.voice-call.config.streaming.providers.mistral.apiKey |
Falls back to MISTRAL_API_KEY |
| Model | ...mistral.model |
voxtral-mini-transcribe-realtime-2602 |
| Encoding | ...mistral.encoding |
pcm_mulaw |
| Sample rate | ...mistral.sampleRate |
8000 |
| Target delay | ...mistral.targetStreamingDelayMs |
800 |
Advanced configuration
Adjustable reasoning
mistral/mistral-small-latest, mistral/mistral-small-2603, and mistral/mistral-medium-3-5 support adjustable reasoning on the Chat Completions API via reasoning_effort (none minimizes extra thinking in the output; high surfaces full thinking traces before the final answer).
Thinking defaults to off. OpenClaw accepts these session thinking levels and maps them to Mistral's API:
| OpenClaw thinking level | Mistral reasoning_effort |
|---|---|
| off / minimal | none |
| low / medium / high / xhigh / adaptive / max | high |
Example model-scoped config for Medium 3.5 reasoning:
Memory embeddings
Mistral can serve memory embeddings via /v1/embeddings (default model: mistral-embed):
Auth and base URL
- Mistral auth uses
MISTRAL_API_KEY(Bearer header). - Provider base URL defaults to
https://api.mistral.ai/v1and accepts the standard OpenAI-compatible chat-completions request shape. - Onboarding default model is
mistral/mistral-large-latest. - Override the base URL under
models.providers.mistral.baseUrlonly when Mistral explicitly publishes a regional endpoint you need.