When to adapt
CoreChoose between prompting, RAG, and fine-tuning on evidence, not hype. Most problems are solved before fine-tuning.
Concepts
The adaptation ladderPrompting, then RAG, then fine-tuning; climb only when the rung below falls short.
Prompting is the first rung: change the words, change the behavior, no training cost. RAG is the second: attach retrieval to feed the model fresh or domain-specific facts it was never trained on. Fine-tuning is the third: reshape the model's weights to lock in a format, a tone, or a reasoning style that context alone cannot reliably produce. Each rung costs more to climb than the one below, so the right move is to exhaust the current rung before ascending.
The ladder framing keeps teams honest. Fine-tuning decisions made before a prompt has been seriously iterated almost always turn out to be premature, and rolling back a training run costs far more than revising a system prompt.
Sources
Cost-per-successJudge adaptation by cost per successful task, not raw accuracy.
Raw accuracy is a misleading optimization target for fine-tuning decisions because it ignores the cost side of the ledger. Cost-per-success ties both together: for every task the system completes correctly, what did it cost in tokens, latency, and engineering time? A fine-tuned 7B model that hits 90% accuracy at one-tenth the inference cost of a frontier model can win on cost-per-success even if the frontier model scores 95%.
This framing also exposes when fine-tuning is not worth it. If the baseline is already cheap and accurate enough, the overhead of data curation, training, and deployment rarely pays off at the task volumes most teams actually run.
Task specializationFine-tuning buys format, tone, and latency; it is weak for fresh facts.
Fine-tuning is a tool for reshaping behavior, not for loading new knowledge into a model. It excels at teaching a consistent output format, adopting a brand voice, reliably following a specific reasoning pattern, or reducing latency by eliminating long in-context prompts. It is a poor tool for teaching facts the base model was never trained on: the weights can memorize a limited amount of new information, but retrieval is still the right mechanism for fresh or rapidly changing knowledge.
This distinction prevents a common and expensive mistake. Teams that fine-tune to inject factual knowledge typically end up with a model that still hallucinates, now wrapped in a false sense of confidence that it was trained on the topic.
Technologies
Eval harnessYou can't decide to fine-tune without an eval to prove it helped.
You cannot make a principled decision to fine-tune, nor prove that a fine-tune helped, without an eval harness in place first. An eval harness is the combination of a held-out dataset representative of your task, one or more metrics that capture what success actually means, and a repeatable runner you can execute before and after any change. Without it, the decision to fine-tune is a guess, and the claim that it worked is anecdotal.
Building the harness before training also forces clarity on what the model is supposed to do, which in turn sharpens data collection. Teams that skip this step routinely discover, after weeks of training, that they optimized for the wrong thing.
Sources
Full definition in the glossaryIn production
The discipline that separates a shipped system from a demo.
Exhaust prompting and RAGFine-tune for behavior and latency context can't buy, not to inject new knowledge.
Fine-tuning for behavior that a well-engineered prompt could already produce wastes training budget and creates a maintenance burden: every time the task definition changes, a new training run is required instead of a prompt edit. The practical test is to iterate on the system prompt seriously, including few-shot examples and chain-of-thought cues, before declaring prompting insufficient. If RAG is available, use it to address knowledge gaps first.
When prompting and retrieval genuinely fall short, the gap is usually in consistent format or style under production latency constraints, not in knowledge. Scoping the fine-tune to that specific behavioral gap keeps the training set small and the result predictable.
Decide on cost-per-successA small fine-tune can cut cost-per-success 5-30x on a narrow task (TensorZero).
Before committing to a fine-tuning project, quantify the cost-per-success baseline with the current setup and model the expected improvement. A narrow task running at high volume is the most favorable scenario: even a modest accuracy gain or a switch to a smaller, faster model can reduce cost-per-success by 5 to 30 times. Low-volume tasks rarely justify the overhead regardless of accuracy gains.
The analysis should include one-time costs (data labeling, training compute, deployment engineering) amortized across the expected query volume. Teams that skip this arithmetic often discover that the optimized system is cheaper per call but costs more in total once engineering time is counted.