How / What / When

When / Answer

When to use prompt engineering instead of fine-tuning

Use prompt engineering first when the task, rules, and output contract are still changing. Consider fine-tuning only after the behavior is stable, examples are strong, and prompting has reached a measured limit.

For teams deciding whether a model needs better instructions or a training investment. · Reviewed 2026-09-29

Prompt first when the requirement is still moving

A prompt is easier to edit than a training set. If product terms, tone, fields, or approval rules are changing every week, fine-tuning will make a moving target expensive to maintain.

Prompt engineering is usually enough for

  • A clear task with a small number of examples.
  • Output formatting and schemas.
  • Role, audience, tone, and length constraints.
  • Adding a current source through retrieval.
  • Early prototypes where you are still learning what good looks like.

Fine-tuning becomes interesting when

The same failure repeats across a stable task, you have enough approved examples, and the improvement can be measured. Fine-tuning may help with classification, consistent transformations, or a stable style, but it will not automatically add current knowledge.

A practical order of operations

Try firstWhy
Clarify the taskA vague requirement cannot be trained reliably
Add examplesFew-shot examples often fix format and style issues
Add retrieval or toolsUse the right source instead of teaching changing facts
Build an evaluation setMeasure the failure rather than trusting anecdotes
Fine-tuneOnly when the stable behavior justifies maintenance

Keep learning

Get one useful AI answer each week.