- Models and inference
Conversations
Conversations
These pages cover how to hold a conversation with a Mistral model: send messages, get answers, and extend a request with images, reasoning, tools, and structured formats.
Choose an API
You can send conversations through two APIs.
Chat completions
Send a list of chat messages and get a new assistant message, in the native Mistral format or through an OpenAI-compatible endpoint (public preview).
Responses API
Use the OpenAI Responses format, with text, image, and file inputs, streaming, and function calling.
The Responses API is stateless: your application keeps the conversation history and sends it with each request.
In this section
Chat completions
Send chat messages, stream answers, and run multi-turn conversations.
Responses API
Generate text from text, image, and file inputs, stream responses, and count input tokens.
Vision
Send images to a vision-capable model and get answers about their content.
Reasoning
Let a model think through a problem before it answers, and handle its thinking chunks.
Function calling
Connect a model to your own functions and APIs.
Structured outputs
Get answers in JSON, with your own schema or in JSON mode.
Citations & References
Ground answers in documents and return their sources.
To get a first answer in a few minutes, see Quickstart: send your first API request.