Module 4 · Fine-tuning & Custom Models

Manish Garg
Manish Garg Associate of (ISC)² · RingSafe
Apr 25, 2026
4 min read
Read as

Last updated: April 29, 2026

When APIs aren’t enough — train, evaluate, deploy custom models on your own infra. LoRA, vLLM, evals, and the cost trade-offs.

Most teams reach for fine-tuning too early. This module is about when fine-tuning genuinely beats prompt engineering + RAG, how to do it cost-effectively (LoRA on a single GPU), and how to ship the resulting model to production.

When to fine-tune (and when not to)

Fine-tune when:

  • You need consistent output structure at high volume that prompt engineering can’t reliably enforce
  • You have a narrow domain where the base model lacks vocabulary (legal, medical, security domain-specific)
  • API cost at your volume exceeds ₹2-3L/month — fine-tuned hosted model could be 10× cheaper
  • You need data privacy — fine-tuning on-prem keeps data out of API providers

Don’t fine-tune when:

  • Prompt engineering hasn’t been seriously tried (most teams skip this)
  • You don’t have at least 200-500 high-quality training examples
  • You don’t have an eval harness to measure improvement
  • The use case is rapidly evolving (fine-tuning is point-in-time)
Want this for your team?

Custom team training + practitioner advisory

Beyond the free academy — we run private workshops, vCISO advisory, and red-team exercises tailored to your stack. For Indian SMBs scaling past their first hire.

Book team training call Replies in 4 working hrs · India-only · Senior consultants