unstale

npm / @ai-sdk/mistral

@ai-sdk/mistral

What changed in @ai-sdk/mistral 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

1 security4 new APIs and options2 behavior and defaults10 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.1.1 on npm

@ai-sdk/mistral 417 changes

Security 1

  • @ai-sdk/provider-utils has an Uncontrolled Resource Consumption issue

    4.0.33security advisory

New APIs and options 4

  • Adds a conversations API to @ai-sdk/mistral.

    4.0.60release notes

  • Adds a web search tool to @ai-sdk/mistral.

    4.0.60release notes

  • The portable reasoning levels now include max, widening LanguageModelV4CallOptions['reasoning'] and ReasoningLevel. Consumers with exhaustive switches or mappings must handle it.

    4.0.58release notes

  • Experimental streaming lifecycle callbacks were added for speech generation and transcription.

    4.0.56release notes

Behavior and default changes 2

  • Top-level embedding dimensions are mapped to provider settings.

    4.0.62release notes

  • Telemetry was added to speech generation and transcription, with provider usage propagation.

    4.0.56release notes

Fixes and other changes 10

  • Reasoning configuration is forwarded for unknown model IDs instead of being silently stripped; known models without reasoning-effort support retain their previous handling.

    4.0.63release notes

  • Reasoning effort is now enabled for Mistral Large 4 models.

    4.0.59release notes

  • JSON schemas are preserved when structured outputs are disabled.

    4.0.55release notes

  • Provider error finish reasons are mapped to error.

    4.0.55release notes

  • The User-Agent header is now standards-compliant.

    4.0.54release notes

  • Fixes streamed tool calls with missing, blank, or repeated IDs.

    4.0.53release notes

  • Updated Mistral model IDs.

    4.0.43release notes

  • Updated the Mistral reasoning configuration.

    4.0.43release notes

  • Raw usage metadata now preserves complete Mistral chat usage objects.

    3.0.63, 4.0.36release notesrelease notes

  • Mistral now supports incremental streaming tool calls.

    2.0.43, 3.0.59, 4.0.31release notesrelease notesrelease notes