mistral
Package
Section titled “Package”@ai-sdk/mistral
Factories
Section titled “Factories”AIProviders.mistral
Capabilities
Section titled “Capabilities”- Language
- Embedding
- Transcription
- Speech
Mistral chat, embeddings, Voxtral transcription, and speech mirror upstream Mistral 4.0.39: MISTRAL_API_KEY, custom base URL and headers, versioned user-agent suffix, callable/language/chat, embedding/textEmbedding, transcription, and speech/speechModel aliases, chat /v1/chat/completions, embeddings /v1/embeddings, transcription /v1/audio/transcriptions, speech /v1/audio/speech, structured outputs, JSON-object instruction injection, stop sequences via native stop, top-level reasoning mapped to supported Mistral reasoning effort with providerOptions precedence, provider option schema validation including speech refAudio, tool/tool-choice mapping, fragmented streaming tool-call buffering, tool-result output conversion, image/PDF user file support, typed assistant thinking blocks, Voxtral option validation and rich segment/usage metadata, streaming text/reasoning/tool lifecycle, promptCacheKey to prompt_cache_key mapping, complete raw usage and cached-token accounting, speech reference-audio metadata redaction, response metadata, Mistral error schema, and unsupported image family. ProviderV4 type names, ESM-only packaging, Node 22 engines, optional JS headers config, and workflow serialization helpers are JS-only upstream concerns.
Factory argument requirements are defined by the public Swift factory signatures. Use Public symbols when you need the exact initializer or factory declaration.
Return to the provider matrix.