Skip to main content

Prompting vs RAG vs Fine-tuning

Start cheap, escalate only when evals show you must.

PromptingRAG / toolsFine-tuning
Adds new knowledgeOnly what fits in the promptYes, fresh and private dataPoorly; not for facts that change
Changes behavior/styleYes, mostlyNoYes, strongly
EffortMinutesDays (pipeline + index)Weeks (data + training + evals)
Update costEdit textRe-index docsRe-train
Citations / traceabilityNoYesNo
Typical winsMost tasksQ&A over docs, support, searchNarrow high-volume tasks, distilling a big model into a small one

Rules of thumb​

  • Prompting first - most "we need fine-tuning" cases are fixed with clearer instructions and examples.
  • Knowledge problem → RAG, behavior problem → fine-tuning.
  • Combine them: a fine-tuned model can still use RAG.
  • Fine-tuning needs data: hundreds to thousands of high-quality examples plus an eval set.
  • Check availability: not every vendor/model offers fine-tuning; open-weight models can be fine-tuned yourself (e.g. LoRA/QLoRA).
  • New base models often beat your old fine-tune - re-evaluate on upgrades.