Learn · Fine-tuning vs RAG
Fine-tuning vs RAG
The most common question leaders ask about customising an LLM. They solve different problems: RAG changes what the model knows; fine-tuning changes how it behaves. Toggle your requirements and see what fits.
Your requirements — tap all that apply:
Recommendation:
Start with prompt engineering
No special requirements yet — the cheapest, fastest option is a good prompt. Add requirements to see when RAG or fine-tuning earns its place.
The short version
Reach for RAG when the problem is knowledge — current facts, private documents, answers that must cite sources. Reach for fine-tuning when the problem is behaviour — a consistent tone, a strict output format, or a narrow skill the base model fumbles. Many production systems use both: fine-tune the style, retrieve the facts. And always try a good prompt first. See how retrieval works in the RAG demo.