Models and inference
This section covers how to call Mistral models through the Mistral API. Start with a quickstart, choose a model, generate text and embeddings, then tune cost, latency, and where your requests run.
Get started
Quickstarts
Send a request, call functions, get structured output, analyze an image, create embeddings, or run a batch job.
Models
View all models with their capabilities, performance, and trade-offs.
Compare models
Compare pricing, performance, features, context size, and licensing.
Generate
Conversations
Use Chat Completions or the Responses API, with vision, reasoning, function calling, and structured outputs.
Embeddings
Turn text and code into vectors for retrieval, clustering, and classification.
Prompting
Write prompts that get high-quality responses from Mistral models.
Sampling
Adjust temperature, top P, and penalties to tune generation.
Optimize cost and latency
Batch processing
Run large asynchronous workloads at a 50% discount.
Prompt caching
Reuse computed prompt tokens when requests share the same prefix.
Predicted outputs
Lower response time by passing content you expect in the output.
Priority Tier
Route eligible API requests through a priority queue.
Platform
Regional inference
Process inference requests within the European Union or the United States.
Pricing
Compare model pricing by family.
Model lifecycle policy
Plan for model lifecycle stages, aliases, and retirement.
Labs
Try experimental models available for a limited time.
API Reference
Review endpoints, request parameters, and response fields.
