Skip to content

Mistral models

Mistral models are called on LLMTR through /v1/chat/completions. This page covers the rules shared by every Mistral row and the models that replace retired ones. For the details of Mistral Large 4, see Mistral Large 4.

Model Context Input
mistral/mistral-large-4 1,048,576 Text, image, PDF
mistral/mistral-large-latest 256,000 Text, image, PDF
mistral/mistral-medium-latest 262,144 Text, image, PDF
mistral/mistral-small-latest 256,000 Text, image, PDF
mistral/ministral-14b-latest 128,000 Text, image, PDF
mistral/ministral-8b-latest 128,000 Text, image, PDF
mistral/ministral-3b-latest 128,000 Text, image, PDF
mistral/codestral-latest 128,000 Text
mistral/voxtral-small-latest 32,768 Text, audio

Current prices are on each model's catalog page.

Model Levels Default
mistral/mistral-large-4 low, medium, high Always reasons, high by default
mistral/mistral-medium-latest none, high Answers without reasoning
mistral/mistral-small-latest none, high Answers without reasoning

The level is sent in reasoning_effort. Reasoning tokens are counted in completion_tokens and billed as output; the reasoning trace is returned in reasoning_content. In multi-turn conversations, send assistant messages back with their reasoning_content; the model reads its earlier reasoning from there.

The Mistral models not in this table do not accept reasoning_effort and return 400 invalid_request. For the general rules on levels, see Reasoning Effort.

On the models that take PDF input in the table, a document is sent as a file_url part with an https:// address. The provider downloads the document itself; the request fails for an address it cannot reach.

{
"model": "mistral/mistral-small-latest",
"messages": [
{
"role": "user",
"content": [
{ "type": "text", "text": "Summarise this report in three points." },
{ "type": "file_url", "file_url": { "url": "https://example.com/report.pdf" } }
]
}
]
}

Files uploaded to LLMTR (input_file) are not read by Mistral models and return 400 unsupported_input.

mistral/voxtral-small-latest takes audio as an input_audio part. Audio input is billed by its duration at $0.004 per minute; text input and output are billed separately at their token prices.

{
"model": "mistral/voxtral-small-latest",
"messages": [
{
"role": "user",
"content": [
{ "type": "input_audio", "input_audio": { "data": "UklGRiQAAABXQVZF...", "format": "wav" } },
{ "type": "text", "text": "Transcribe this recording." }
]
}
]
}
  • temperature must be between 0 and 1.5. A higher value is refused with 400 invalid_request.
  • seed is supported.
  • user, logprobs, top_logprobs and an n above 1 are not applied. These fields are removed from the request and reported in llmtr_dropped_parameters in the response.

Every Mistral chat model supports tool calling. On mistral/mistral-large-4, mistral/mistral-medium-latest and mistral/codestral-latest, tool_choice: "required" is not available; the request is refused with 400 invalid_request. To make a tool call mandatory, name the function in tool_choice. See Tool Calling for details.

Repeated prompt prefixes are cached automatically. On the models with a cache read price (mistral/mistral-large-4, mistral/mistral-small-latest, the three Ministral models and mistral/codestral-latest), tokens read from the cache are reported in usage.prompt_tokens_details.cached_tokens and billed at the cache read price instead of the input price. On the other models the whole prompt is billed at the input price. A cache hit is not guaranteed.

A request to a retired model is refused with 410 model_retired, and the error message names the model that replaces it. The model's catalog page stays online.

Model Replaced by
mistral/pixtral-large-latest mistral/mistral-large-4
mistral/pixtral-12b mistral/ministral-14b-latest
mistral/devstral-medium-latest mistral/mistral-large-4
mistral/devstral-small-latest mistral/mistral-small-latest
mistral/magistral-medium-latest mistral/mistral-large-4
mistral/magistral-small-latest mistral/mistral-small-latest
mistral/voxtral-mini-latest mistral/voxtral-small-latest

Mistral shuts two models down on 2027-04-30. From then on, requests receive 410 model_retired:

Model Shutdown Replaced by
mistral/mistral-large-latest 2027-04-30 mistral/mistral-large-4
mistral/mistral-medium-latest 2027-04-30 mistral/mistral-large-4

mistral/mistral-large-4 always reasons and does not accept reasoning_effort: "none"; when you move, send reasoning_effort: "low" for the least reasoning.