mistral-embed)。
| Property | Value |
|---|---|
| Provider id | mistral |
| Plugin | bundled, enabledByDefault: true |
| 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 (音频转录) |
| Voxtral realtime | voxtral-mini-transcribe-realtime-2602 |
开始使用
内置 LLM 目录
Mistral Medium 3.5 是捆绑目录中的当前混合式 Medium 模型:128B 稠密权重、 文本和图像输入、256K 上下文、函数调用、结构化输出、编码, 以及通过 Chat Completions API 可调的推理能力。若你想使用 Mistral 更新的统一 agentic/coding 模型而不是默认的mistral/mistral-large-latest,
请使用 mistral/mistral-medium-3-5。
OpenClaw 当前提供以下捆绑的 Mistral 目录:
| Model ref | Input | Context | Max output | Notes |
|---|---|---|---|---|
mistral/mistral-large-latest | text, image | 262,144 | 16,384 | 默认模型 |
mistral/mistral-medium-2508 | text, image | 262,144 | 8,192 | Mistral Medium 3.1 |
mistral/mistral-medium-3-5 | text, image | 262,144 | 8,192 | Mistral Medium 3.5;可调推理 |
mistral/mistral-small-latest | text, image | 128,000 | 16,384 | Mistral Small 4;可通过 API reasoning_effort 调整推理 |
mistral/pixtral-large-latest | text, image | 128,000 | 32,768 | Pixtral |
mistral/codestral-latest | text | 256,000 | 4,096 | 编码 |
mistral/devstral-medium-latest | text | 262,144 | 32,768 | Devstral 2 |
mistral/magistral-small | text | 128,000 | 40,000 | 支持推理 |
音频转录(Voxtral)
通过媒体理解流水线使用 Voxtral 进行批量音频转录。Voice Call 流式 STT
内置的mistral 插件会将 Voxtral Realtime 注册为 Voice Call 的
流式 STT 提供方。
| 设置 | 配置路径 | 默认值 |
|---|---|---|
| API key | plugins.entries.voice-call.config.streaming.providers.mistral.apiKey | 回退到 MISTRAL_API_KEY |
| 模型 | ...mistral.model | voxtral-mini-transcribe-realtime-2602 |
| 编码 | ...mistral.encoding | pcm_mulaw |
| 采样率 | ...mistral.sampleRate | 8000 |
| 目标延迟 | ...mistral.targetStreamingDelayMs | 800 |
OpenClaw 将 Mistral 实时 STT 默认设为 8 kHz 的
pcm_mulaw,因此 Voice Call
可以直接转发 Twilio 媒体帧。只有当你的上游流已经是原始 PCM 时,才使用 encoding: "pcm_s16le" 并配合
匹配的 sampleRate。高级配置
Adjustable reasoning
Adjustable reasoning
mistral/mistral-small-latest (Mistral Small 4) 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). Mistral recommends reasoning_effort="high" for Medium 3.5 agentic and code use cases.OpenClaw 会将会话的 thinking 级别映射到 Mistral 的 API:| OpenClaw thinking 级别 | Mistral reasoning_effort |
|---|---|
| off / minimal | none |
| low / medium / high / xhigh / adaptive / max | high |
其他内置的 Mistral 目录模型不使用此参数。当你想要 Mistral 原生的“优先推理”行为时,请继续使用
magistral-* 模型。记忆嵌入
记忆嵌入
Mistral 可以通过
/v1/embeddings 提供记忆嵌入(默认模型:mistral-embed)。认证和基础 URL
认证和基础 URL
- Mistral 认证使用
MISTRAL_API_KEY(Bearer 头)。 - 提供方基础 URL 默认为
https://api.mistral.ai/v1,并接受标准的 OpenAI 兼容 chat-completions 请求格式。 - 接入引导的默认模型是
mistral/mistral-large-latest。 - 只有当 Mistral 明确发布了你需要的区域端点时,才在
models.providers.mistral.baseUrl下覆盖基础 URL。
相关内容
模型选择
选择提供方、模型引用和故障转移行为。
媒体理解
音频转录设置和提供方选择。