All posts
LLMs

Fine-tuning vs prompting: a decision you can defend

Fine-tuning is rarely the first answer and occasionally the only one. A short decision procedure for choosing between prompt engineering, retrieval, and training.

Ishtiyaq KhanJun 11, 20261 min read

The question arrives early in most projects and gets answered by preference rather than evidence. Here is the order we actually work through.

Start with the prompt, but properly

Most "the model can't do this" conclusions come from a prompt with no examples, no output schema, and no failure instructions. Few-shot examples drawn from real cases usually close the gap on their own.

If it needs facts, that is retrieval

Knowledge the model lacks is a retrieval problem, not a training one. Fine-tuning teaches behaviour and format; it is an expensive and lossy way to teach facts that change.

Fine-tune for form, tone, and cost

Training earns its keep when you need a consistent house style, a rigid output structure, or the same quality from a smaller and cheaper model. Those are real wins — they are just narrower than people expect.

Count the total cost

A fine-tune is not a one-off. It is a dataset to maintain, a pipeline to run, evaluations to keep current, and a retraining commitment every time the base model moves. Take it on deliberately.

Share

Ishtiyaq Khan

Founder & AI Engineer

Builds production AI systems at Deep Tensors — retrieval pipelines, agent infrastructure, and the unglamorous evaluation work that keeps them honest.

Building something like this?

We help teams take AI systems from prototype to production — evaluation, infrastructure, and the interface around it.

Talk to us

Keep reading

AI EngineeringLLMs2 min

Why most AI agents fail in production

The demo works, the pilot stalls, the rollout quietly dies. Four failure modes we see in almost every agent project — and what a system that survives contact with real users looks like.

Ishtiyaq KhanJul 28, 2026
AI EngineeringLLMs1 min

RAG is not a product: retrieval patterns that hold up

Chunk, embed, search, stuff into a prompt. That pipeline gets you a convincing prototype and a support queue full of confidently wrong answers. Here is what we build instead.

Ishtiyaq KhanJul 14, 2026