mistralM

Docs

Models and inference

Explore model serving, model choice, request behavior, and inference-related API concepts.
illustrationCatbackground-square-illustration

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

Send your first request and pick the model that fits your task.
Quickstarts
illustrationRocket

Quickstarts

Send a request, call functions, get structured output, analyze an image, create embeddings, or run a batch job.

Models
illustrationModel

Models

View all models with their capabilities, performance, and trade-offs.

Compare models
illustrationScale

Compare models

Compare pricing, performance, features, context size, and licensing.

Generate

Build conversations, create embeddings, and shape the output of a model.
Conversations
illustrationChatText

Conversations

Use Chat Completions or the Responses API, with vision, reasoning, function calling, and structured outputs.

Embeddings
illustrationCubes

Embeddings

Turn text and code into vectors for retrieval, clustering, and classification.

Prompting
illustrationPen

Prompting

Write prompts that get high-quality responses from Mistral models.

Sampling
illustrationPotion

Sampling

Adjust temperature, top P, and penalties to tune generation.

Optimize cost and latency

Reduce cost, cut response time, and get more predictable access.
Batch processing
illustrationBatch

Batch processing

Run large asynchronous workloads at a 50% discount.

Prompt caching
illustrationBolt

Prompt caching

Reuse computed prompt tokens when requests share the same prefix.

Predicted outputs
illustrationTimer

Predicted outputs

Lower response time by passing content you expect in the output.

Priority Tier
illustrationClock

Priority Tier

Route eligible API requests through a priority queue.

Platform

Plan where requests run, what they cost, and how long a model stays available.
Regional inference
illustrationEarth

Regional inference

Process inference requests within the European Union or the United States.

Pricing
illustrationCoin

Pricing

Compare model pricing by family.

Model lifecycle policy
illustrationCalendar

Model lifecycle policy

Plan for model lifecycle stages, aliases, and retirement.

Labs
illustrationMicroscope

Labs

Try experimental models available for a limited time.

API Reference
illustrationBook

API Reference

Review endpoints, request parameters, and response fields.