1:1 mentoring with Big Tech AI engineers
LLM & Agentic

When to Fine-Tune: The Decision Framework

Should you fine-tune at all? A structured decision framework for prompt engineering vs RAG vs fine-tuning.

Last updated

Core5 min readFirst readLLM Lifecycle

After this section you can

  • Answer the three questions that decide whether fine-tuning is the right tool at all
  • Compare fine-tuning, RAG, and prompting on the axes that actually differ
  • Recognise the green lights and red flags before committing a training budget
01

When to Fine-Tune: The Decision Framework

Fine-tuning is the last tool you should reach for, not the first. The optimization hierarchy, the three questions that settle it, and the honest defaults — so you spend weeks of engineering only when the cheaper levers are genuinely exhausted.

THE CENTRAL IDEA

“Should we fine-tune?” is the most common fine-tuning question, and the right answer is usually no. Fine-tuning changes model weights — it is the most powerful, most expensive, least reversible, and slowest-to-iterate option on the table. Almost every problem people reach for it to solve is actually a prompt problem (behavior) or a knowledge problem (facts), and both have cheaper, faster answers. This section is the filter: climb the optimization hierarchy and only fine-tune when the rungs below it have run out. The other five sections in this part are the how; this one is the whether.

The optimization hierarchy — climb from cheap/fast to expensive/slow, stop when it works
1 · Prompt engineering system prompt · few-shot · CoT · output format — hours, fully reversible. TRY FIRST. hours 2 · RAG & tools inject knowledge at query time · give the model actions — days. FOR FACTS & REACH. days 3 · Fine-tuning bake behavior/format/tone into weights — weeks. FOR SCALE, NOT FACTS. weeks 4 · Pre-training train a base model from scratch — months, $millions. ALMOST NEVER YOU. months cost · time · irreversibility → most production problems are solved on rungs 1–2 — and never leave them

Related

More in LLM & Agentic

Get full access to all 74+ sections with code examples, diagrams, and interactive animations.

Unlock Premium