Documentation Index
Fetch the complete documentation index at: https://docs.ai-stats.phaseo.app/llms.txt
Use this file to discover all available pages before exploring further.
Mistral: Mistral Small 3.2 to Mistral Small 4
Use this guide when migrating Mistral Small routes to:mistral/mistral-small-4-2026-03-16
mistral/mistral-small-3-2-2025-06-20
What changed
- Mistral Small 4 exposes a reasoning mode control via
reasoning_effort. - Gateway sends only two upstream values for this model route:
none(reasoning off)high(reasoning on)
- Gateway normalizes Mistral thinking blocks back into standard response fields:
message.contentfor assistant-visible textmessage.reasoning_contentandmessage.reasoning_detailsfor reasoning text
Required request changes
Reasoning defaults to off for this route. Gateway mapping rules:- if you omit reasoning controls, Gateway sends
reasoning_effort: "none" - if you pass
reasoning.enabled: true, Gateway sendsreasoning_effort: "high" - if you pass
reasoning.effort: "none", Gateway sendsreasoning_effort: "none" - if you pass any other
reasoning.effortvalue, Gateway sendsreasoning_effort: "high"
- use
reasoning.effort: "none"for lightweight behavior - use
reasoning.effort: "high"for deep reasoning
Response handling notes
Mistral may return mixed assistant content blocks (for examplethinking + text). Gateway maps that into a stable shape so you can consume:
- final user-visible answer from
choices[0].message.content - reasoning text from
choices[0].message.reasoning_content
Rollout checklist
- Update model ID to
mistral/mistral-small-4-2026-03-16. - Validate reasoning controls using only
noneandhigh. - Re-run output quality and schema tests on your high-effort routes.
- Compare latency/cost for
nonevshighbefore full cutover.