Beginner level
Free for every learner
Supplemental lesson

AirborneOps Learning Labs · AI fundamentals

Prompting or fine-tuning? How to choose

Both approaches can shape a language model’s response, but they change different things. Start with a prompt for most new tasks; consider fine-tuning when a stable, repeated task still needs a behavior that prompt examples do not produce reliably.

Learning outcome

After this lesson, you can compare prompting and fine-tuning, identify when each fits an IT task, and explain why current source facts usually belong in retrieval rather than in a model’s training examples.

This is a standalone reading lesson outside the eight-lesson sequence. It focuses on choosing a customization approach; the separate LLM architecture lesson explains how an application, model, and other system parts work together.

Two different levers

What changes when you choose each approach?

A prompt is the instruction and examples included with a request. Fine-tuning trains a base model on curated input-and-output examples so it can learn a more specific, repeatable response pattern. Neither removes the need to test real tasks.

Instructions at request time

Prompting

How it works
Put the task, constraints, examples, and relevant context in the request sent to the model. Edit the instructions without training a new model.
A good starting point when
You are exploring a task, changing the instructions, have few examples, or need to adjust behavior quickly. It is also useful for supplying current context that changes from request to request.
Watch for
Long or complicated instructions can be hard to maintain, and a prompt may not make behavior consistent enough across varied cases. Measure results on realistic examples instead of judging one answer.

Examples used in model training

Fine-tuning

How it works
Train an eligible base model with curated examples of inputs and the outputs you want. The result is a model adapted to a target task or response pattern.
Consider it when
The task is stable and repeated, you can prepare enough approved, representative examples with reliable target outputs, and prompt-based experiments still miss a measured quality or consistency goal.
Plan for
Dataset review, privacy and access controls, training cost, evaluation on examples kept out of training, and later checks as the task or data changes.

A practical decision rule

Choose based on the task and the evidence

  • Start with prompting

    The task is new, instructions may change, or you do not yet have many reviewed examples. Write a clear prompt and test it on representative cases.

  • Evaluate fine-tuning

    The task repeats, the desired behavior is stable and testable, quality examples are available, and prompting has not met a defined target.

  • Use retrieval for changing facts

    If an answer depends on today’s runbook, inventory, policy, or ticket state, retrieve the approved current source at request time. Fine-tuning is not a live document store.

Before a training run, confirm the provider supports tuning for the model you plan to use, that the dataset is approved for this purpose, and that both options can be compared against the same held-out test cases.

A made-up IT example

The service-desk triage task

Fictional teaching scenario: this is not a real service desk or a report about a deployed system.

An IT team wants every incoming request assigned one of six queue labels, followed by a short summary in the same format. The task happens often and the labels rarely change. The team has an approved collection of reviewed ticket-and-label examples. After testing several prompts, they still see inconsistent labels on familiar edge cases. They do not need the model to memorize current ticket status or a changing runbook.

This is a reasonable case to evaluate fine-tuning: the behavior is repeatable, target examples exist, and measured prompt attempts have fallen short. Keep a separate set of tickets for evaluation, and compare the result against the prompt baseline.

Short decision exercise

What should the team try next?

Use the service-desk scenario above. Choose one next step, then reveal the rationale.

The team has a stable repeated task, reviewed examples, and inconsistent prompt results. Which approach is the better next experiment?

Self-check only: this choice is not scored or saved.

Continue with documentation

Further reading

These provider guides are examples of current documentation. Check the model and platform you use, since supported tuning methods and setup differ.