onema
AI solutions
MVP
Web development
Mobile apps
UX/UI design
Branding
Find out your project cost
office@onema.ru
Questions and suggestions
Get a cost estimate

What is fine-tuning — and why you need it less often than you think

Fine-tuning teaches a model style and format, not your facts. How it differs from RAG, what methods exist and when it's genuinely needed.
Nikolay S.
CTO at onema
What is fine-tuning — and why you need it less often than you think — illustration for the onema article
Fine-tuning is the further training of an existing language model on your examples: the model picks up the style, format and manner of its responses. Unlike RAG, which supplies knowledge at query time, fine-tuning changes the model itself — so it costs more in data preparation and maintenance, and has to be repeated whenever things change significantly.

What fine-tuning does and doesn't teach


A useful way to think about it: fine-tuning teaches a model "how to speak", not "what to know". It works well when you need a consistent style (brand tone across thousands of responses), a strict format (the model always returns a valid structure for your system) or a niche genre that's under-represented in open data.

What it doesn't teach is your facts. The FineTuneBench benchmark (Stanford, 2024) tested the commercial fine-tuning APIs of OpenAI and Google and found that they are poor at teaching a model new information — such as a support knowledge base. A 2024 study (Gekhman et al.) showed the flip side: the more new facts a model learns during fine-tuning, the more often it hallucinates afterwards. Prices, stock levels and procedures change every day, while a fine-tuned model is frozen at the moment of training. Knowledge at query time is supplied by RAG. That's why, when someone asks us to "fine-tune the model on our data", our first question back is: "Does the data change?" If it does, you almost certainly don't need fine-tuning.

Types of fine-tuning and where to do it in 2026


  • Full fine-tuning— all of the model's weights are changed. Expensive and rarely needed.
  • LoRA and other "lightweight" methods (PEFT)— the model is frozen and small add-ons to it are trained. The authors of LoRA (2021) showed 10,000 times fewer trainable parameters and 3 times less GPU memory than full fine-tuning of GPT-3. That's why the expensive part today isn't compute but the dataset.
  • Distillation— a large model teaches a small one so that it runs faster and more cheaply on a narrow task.
Managed fine-tuning of proprietary models is offered by the big clouds — Google Vertex AI (Gemini), Amazon Bedrock and Azure AI Foundry; the list of tunable models changes often, so check it before you plan. Open-weight models (Llama, Qwen, Mistral) are fine-tuned on your own or rented GPUs with libraries such as Hugging Face PEFT. Either way, companies almost always adapt an existing model rather than train their own.

Where to start if fine-tuning still seems necessary


With a cheap check: can the same task be solved with prompting and RAG? If so, you've saved the fine-tuning budget and got a pipeline that doesn't go out of date. If not, fine-tuning is treated as a late-stage optimisation of a working system, with a clear metric for exactly what it will improve.

A real-world example

In Sigma.AI, an assistant for the Sigma.Market grocery marketplace with a catalogue of 1,155 recipes, the most important things the assistant must know precisely — prices and stock — live in the warehouse database and change every day. The assistant takes this data from the database, not from the model's memory. Standard scenarios and popular recipes are handled without generation, while new non-standard queries are served by our own local model with our own embedding (what embeddings are). Baking a catalogue that changes daily into the model's weights makes no sense here. More on this in the Sigma.AI case study.
Wondering whether you need fine-tuning?
Describe your task in the estimate form — we'll tell you honestly whether it can be solved with prompting and RAG, and cost out both options. To see how we build AI pipelines, visit our AI development page and the Sigma.AI case study.

FAQs

Cost calculation
Tell us where your product has hit a wall, in the estimate form
After the audit, we'll tell you what to migrate, what to keep and how much it costs
More articles