Fine-tuning through the API is no longer an active feature. Its documentation has been moved into the "deprecated features" section of Mistral's site, carrying the notice that the feature is deprecated and no longer actively supported. That applies to both halves of it: supervised text and vision fine-tuning, and the Classifier Factory.
The need has not gone away: it changed scale and address. Since 17 March 2026, Mistral answers it with Forge, an enterprise training platform. Different product, different audience, more on that at the end of the page.
What follows keeps the historical narrative, because the principles of fine-tuning remain correct and plenty of 2024 and 2025 projects still depend on them. But do not build a new project on the API calls described here.
Fine-tuning: adapting a model to your domain
A general-purpose model speaks a bit about everything and excels at nothing in particular. For your own domain, you want it to speak your language, follow your conventions, and grasp the subtleties of your trade.
Fine-tuning means continuing a model's training on your own data. The result: a model that understands your jargon, follows your answering style, and performs better on your specific tasks.
The analogy: a university degree gives solid general knowledge. Fine-tuning is the professional specialisation that follows: you take someone competent and train them on the particulars of one job.
Three complementary ways to adapt a model:
- Prompt engineering: adjust the instructions and the prompt format. Free, fast, but limited.
- RAG: supply documentary context to the model on every request. Powerful for factual information, useless for style or behaviour.
- Fine-tuning: change the model's weights with your data. The most powerful lever for style, format and recurring behaviour.
That hierarchy still holds in 2026. What changed is the third floor: it is no longer available self-service through the API.
Why the feature stopped
No official explanation accompanies the deprecation. But two technical shifts make it legible.
The fine-tunable models disappeared. The deprecated documentation lists the base models you could specialise: open-mistral-7b, open-mistral-nemo, mistral-small-latest, mistral-large-latest, codestral-latest, ministral-8b-latest, ministral-3b-latest, and pixtral-12b-latest for vision. Read that list with July 2026 eyes: Mistral 7B and Mixtral were retired in March 2025, Mistral Large 2 in May 2026, and neither Pixtral nor NeMo remains in the catalogue. The fine-tunable list emptied out at the same pace as the catalogue consolidated.
Configuration replaced training for many cases. A good share of what people used a light fine-tune for (a stable output format, deeper reasoning behaviour) is now a parameter: structured outputs guarantee the format with no training at all, and reasoning_effort sets the depth of thinking without touching the weights. What remains are the heavy cases, the ones where proprietary knowledge genuinely has to be injected. Those now belong to Forge.
What the API did: the data format
The format is still instructive, because it is the same format any supervised training tool expects. Each line of the JSONL file is one conversation example:
{"messages": [{"role": "system", "content": "You are a legal assistant specialised in French law."}, {"role": "user", "content": "What is force majeure?"}, {"role": "assistant", "content": "Force majeure is an unforeseeable, irresistible and external event..."}]}
Expected structure:
- Each example is a conversation (a list of messages)
- Available roles:
system,user,assistant - The
systemmessage is optional but very useful for framing behaviour
One technical detail is explicitly documented and matters a lot: loss is computed only on the tokens of assistant messages. In other words, the model does not learn to produce the questions, it learns to produce the answers. That is why the quality of your assistant messages counts infinitely more than that of your user messages.
Hyperparameters: two dials, not ten
This is a point the previous version of this page got wrong. The API exposed two hyperparameters, not a whole console:
training_steps: the number of training stepslearning_rate: how fast the model learns
Learning rate remains the delicate one. Too high and the model learns fast but "forgets" its base knowledge (catastrophic forgetting). Too low and it barely learns anything from your data.
The previous version cited hyperparameters (epochs, batch size, warmup ratio) that do not appear in Mistral's API documentation: they are general training concepts, not fields the API accepted. It also cited three "successful production case studies" with very precise accuracy figures and no source. Those figures were verifiable nowhere, so they are gone.
The documented job-creation call looked like this:
{
"model": "open-mistral-7b",
"training_files": [{"file_id": "...", "weight": 1}],
"validation_files": ["..."],
"hyperparameters": {"training_steps": 10, "learning_rate": 0.0001},
"auto_start": false
}
In the Python SDK, that was client.fine_tuning.jobs.create(...).
Data preparation: the part that has not aged
This is the one chapter of the page that remains fully valid whatever tool you use tomorrow. The quality of the training data does most of the work.
Best practices:
- Diversity: cover the range of real situations the model will meet. If nearly all your examples are easy cases, the model will not handle hard ones.
- Consistency: keep the same style and format across every example. Inconsistency muddies learning.
- Realism: your examples must look like your users' actual requests. Artificial examples produce a model that works in testing and not in production.
- Class balance: in classification, a heavy imbalance biases the model.
A small flawless corpus produces a better model than a large mediocre one. Every line of your file should be a perfect example of the behaviour you want. That is as true for an API fine-tune as for an enterprise training run.
Monitoring: two curves to watch
Training loss: the model's error on the training data. It should fall steadily. If it plateaus, you probably have a data or learning-rate problem.
Validation loss: the error on data the model has never seen. If it climbs while training loss keeps falling, that is the signature of overfitting: the model is memorising examples instead of learning regularities.
The main risk of any training run on a small corpus: the model memorises your examples rather than extracting patterns from them. Symptoms: excellent on cases already seen, poor on new ones. Remedies: more data, fewer training steps, or regularisation.
And evaluation
Qualitative: test the specialised model on representative cases you know well. Are the answers better than the base model's? Is the style right? Is the format respected?
Quantitative: if you have objective metrics (precision, recall, F1), evaluate on a test set the model has never seen.
A/B testing: compare the specialised model with the base model on real user requests. That is the most reliable test, because it measures actual impact.
All three matter even more in a regulated setting: if you have to justify a system's behaviour, a written evaluation protocol beats an impression.
Forge: where the need goes today
Announced on 17 March 2026, Forge is Mistral's answer to the same problem, posed at enterprise scale rather than at the scale of a lone developer.
The starting idea is the fine-tuning idea, more ambitious: generic models are trained on public data and do not reflect an organisation's own knowledge. Forge lets that knowledge (internal policies, code bases, procedures) be written directly into a model's behaviour.
What the announcement page describes:
- pre-training on large internal datasets, to obtain a model that genuinely knows a domain;
- post-training to refine a specific task;
- reinforcement learning to align the model with the organisation's rules and objectives;
- continuous evaluation and improvement cycles;
- an "agent-first" design: an agent such as Vibe can drive model customisation from plain-language instructions.
The stated audiences are government agencies, financial institutions, software teams with proprietary code bases, manufacturers, and more broadly large organisations deploying internal agents.
Moving fine-tuning to Forge is not just a change of product. An API fine-tune was a job billed per task on the supplier's infrastructure. Forge is presented as a platform where the enterprise keeps ownership of both the model and the underlying data. Those are two very different contractual situations: who owns the weights? who may reuse them? what happens to the model if the contract ends? Those questions barely mattered for a few-dollar API job; they become central as soon as an enterprise model is on the table.
One detail worth knowing if you are reviewing an invoice or a quote: Mistral's pricing page still shows a training line for classifier models (a per-million-training-token cost, a minimum per job, and a monthly storage cost per model), even though the Classifier Factory documentation has moved to the deprecated section. If in doubt about what can actually be ordered, ask for confirmation rather than trusting the public page.
Fine-tuning remains the most powerful lever for specialising a model. What changed in 2026 is the front door: no longer a self-service API endpoint, but an enterprise platform. The data-preparation principles have not moved an inch.