This post is for CTOs and product leads who have been told fine-tuning is the fix for an underperforming model, and it gives them the decision tree to check that before spending two months on data curation. Fine-tuning is the most over-prescribed solution in production AI. Teams hear about it, assume it is the right answer because the base model is not good enough, spend two months curating data and running training, and end up with a model that performs no better than careful prompting plus retrieval would have delivered in a week. We have fine-tuned 12 models across healthcare, legal, EdTech and finance for clients, and the honest answer is that fine-tuning is the right call about a third of the time we are asked for it.
Here is the decision tree we run when a client asks for fine-tuning, the four scenarios where it genuinely pays off, and the cases where prompting, RAG or model selection is the better answer.
When fine-tuning is the wrong answer
The most common request: "the foundation model does not answer questions correctly about our domain, so we need to fine-tune it on our knowledge base." This is almost always wrong. If the model needs to know facts that are not in its training data, the right architecture is RAG (retrieval-augmented generation), not fine-tuning. RAG retrieves the relevant facts at query time and the model uses them. Fine-tuning a model on a knowledge base is expensive, freezes the knowledge at training time, and the model often still hallucinates because it has no grounding mechanism.
Four scenarios where fine-tuning is the right answer
Scenario 1: Structured output the model cannot reliably produce
If you need the model to emit a specific JSON schema, specific terminology or a specific structured format consistently, and prompting alone gets you to 92% but not 99%, fine-tuning closes the gap. Production document extractors are a common example: the foundation model can extract invoice fields 92% of the time, but fine-tuning on 500 to 2,000 labeled invoices gets it to 99.5% with reliable JSON structure. We have done this for clients in finance and insurance with strong ROI in 8 to 10 weeks.
Scenario 2: Latency or cost requires a smaller model
A frontier hosted model may produce excellent answers on your task, but at frontier per-token pricing and p95 latency approaching a second, the unit economics or the user experience does not work. Fine-tuning a smaller open-weight model (an 8B-class Llama, a 7B-class Mistral) on outputs from the larger model, sometimes called distillation, can give you 90-95% of the quality at a small fraction of the cost and latency. This is the second-most-common fine-tuning win we ship. Reference deployment: a healthcare voice agent that needed sub-500ms inference for a HIPAA-scoped on-premises deployment. A distilled Llama 3 8B fine-tuned on 8,000 examples generated with Claude got there.
Scenario 3: Data residency or sovereignty requires self-hosting
If the engagement requires zero customer data egress, which is common in healthcare, defense, regulated finance and some EU clients, you cannot use the major hosted LLMs at all. The model must be self-hosted, which usually means an open-weight base (Llama, Mistral, Qwen). Fine-tuning that base on your domain data is then often necessary, because smaller open-weight models without fine-tuning lag hosted models on specialized tasks.
Scenario 4: Tone, voice or persona that prompting cannot reliably control
For consumer-facing applications where the AI's voice is part of the product (adaptive tutors, brand chatbots, character agents), prompting alone produces inconsistency across long conversations. The model drifts toward its default tone after 8-10 turns. Fine-tuning on 1,000 to 5,000 example dialogues in the desired voice locks in the persona. Mockinto, an adaptive AI interviewer from our EdTech case studies, is a clean example: the fine-tuned model maintains the interviewer persona across 30-turn conversations where the base model would drift.
What fine-tuning actually costs (engineering, not just compute)
The compute bill for a LoRA fine-tune of an 8B-class model on 5,000 examples is maybe $100-500, almost a rounding error. The real cost is engineering and data:
- Data curation: 2-6 weeks. Sampling representative examples, labeling them, validating label quality. This is the bulk of the work and the biggest source of project risk.
- Eval harness: 1-2 weeks. You cannot fine-tune without a way to measure whether the fine-tune is better than the base. Build this before training, not after.
- Training pipeline and experiment tracking: 1 week. Hyperparameter sweeps, checkpointing, versioned datasets and weights via MLflow or Weights & Biases.
- Deployment and serving: 1-2 weeks. vLLM or TGI, throughput tuning, integration into the existing application.
- Ongoing tuning: continuous. Domain drift means the fine-tune needs a refresh every 3-6 months on most production deployments.
A full production fine-tune engagement at Aiinfox lands between $60,000 and $180,000 fixed-price depending on data complexity and deployment scope; see how much AI development costs for how we scope it. The compute is irrelevant; the engineering is everything. We will say no on the first call if the use case is one where prompting plus RAG would deliver the same outcome cheaper and faster.
The decision tree, condensed
- Need the model to know domain facts? RAG. Do not fine-tune for knowledge.
- Need a specific structured output the base model cannot reliably produce? Fine-tune.
- Need a smaller, cheaper, faster model with quality close to the large model? Distill via fine-tuning.
- Need self-hosting with zero data egress? Open-weight base plus fine-tune, usually.
- Need consistent tone or persona across long conversations? Fine-tune.
- None of the above, but the base model is not good enough? Improve prompting, retrieval and tool use first. Most teams find the gap closes without fine-tuning.
Wrapping up
Fine-tuning is a powerful technique used for the wrong problem most of the time. When it is the right answer, it delivers production wins that nothing else can. When it is the wrong answer, it burns two months and a hundred thousand dollars to arrive at a system no better than what RAG plus careful prompting would have shipped. Run the decision tree before you commit. Build the eval harness first. And budget for the engineering time, not the compute bill; that is where the real cost lives.
If you are weighing a fine-tune against RAG or a model swap, our LLM development team will run the decision tree with you on a 30-minute call and tell you plainly if fine-tuning is not the answer. Book a discovery call to start.
Frequently asked questions
Should we fine-tune a model on our company knowledge base?
Almost never. Facts belong in retrieval, where they can be updated and cited. Fine-tuning freezes knowledge at training time and does not stop hallucination.
What does a production fine-tune cost?
Compute is a few hundred dollars for a LoRA fine-tune of an 8B-class model. The engineering (data curation, eval harness, training pipeline, serving) is what takes an engagement to the $60,000-180,000 range.
How often does a fine-tuned model need refreshing?
Every 3-6 months on most production deployments, because the domain drifts. Budget for it as an ongoing cost, not a one-off.

