INTELLIGENCE, ENCODED.
Loading000%
Skip to content

Private model or API? How to decide when to train on your own data

When a general-purpose model API is enough, when a model fine-tuned on your own data earns its keep, and what a private-model project actually involves, from evaluation set to deployment in your cloud.

Shyam Prabahar · · 5 min read

Every leadership team using AI eventually asks the same question: should we keep calling a general-purpose model through an API, or should we have a model of our own, trained on our data?

The honest answer is that most companies should start with an API, and some of them should move to a private model sooner than they think. This guide is about telling which one you are.

What "training on your data" actually means

The phrase covers four quite different things, and confusing them leads to bad decisions:

  • Prompting. You describe the task and give examples in the request. No training happens. Cheap, fast to change, and the right first step.
  • Retrieval (RAG). The system looks up relevant passages from your documents and hands them to the model at answer time. The model doesn't change; its context does. Best for facts that change.
  • Fine-tuning. You continue training a base model on examples from your business, so it learns your formats, terminology and judgement. This is what most people mean by a private model.
  • Pre-training from scratch. Building a foundation model yourself. Very few companies need this, and those that do usually know already.

When this article says private model, it means the third option: an open-weight base model, fine-tuned on your data, deployed in an environment you control.

When an API is the right call

Stay with a general-purpose model API when:

  • The task is broad or still changing. If you are exploring use cases, you want flexibility, not a model optimised for last month's idea.
  • Volume is modest. At low volume, the engineering effort of a private model costs more than the API calls it saves.
  • Your data isn't the differentiator. If the work is general writing, summarisation or coding help, a frontier model is already very good at it.
  • You haven't defined "good" yet. Without an evaluation set, you can't tell whether a fine-tuned model is better. Build that first.

Tip · The API phase isn't wasted

Every prompt, correction and edge case you collect while using an API becomes training and evaluation data later. Log it from day one, with the right consent and access controls.

Five signals a private model will earn its keep

1. The task is narrow, repeated and has a right answer. Classifying claims, drafting first-pass credit memos, extracting fields from a specific document type, answering in a strict format. On tasks like these, a well fine-tuned smaller model can often match much larger general models, at a fraction of the size and cost to run.

2. Your data is sensitive or regulated. If policy or regulation says data can't leave your environment, a model you serve in your own cloud or on-premise removes a whole category of risk and procurement debate.

3. Volume makes per-call pricing painful. When the same task runs thousands of times a day, a smaller specialised model on infrastructure you control can change the economics. Do the arithmetic with your real volumes before assuming it will.

4. You need control over behaviour, latency or availability. Consistent output formats, predictable latency, no surprise changes when a provider updates a model, and the option to run where connectivity is limited.

5. Your proprietary data is the edge. If years of expert decisions, cases or conversations encode how your business does things better than competitors, a model trained on them is an asset that's hard to copy.

If two or more of these are true, a private model deserves a serious look.

How to decide in practice

SituationStart with
Exploring use cases, low volumeAPI + prompting
Answers must come from current documentsAPI + RAG
Narrow, high-volume task with a clear right answerPrivate model (fine-tuned)
Sensitive data that can't leave your environmentPrivate model, self-hosted
Domain style and current facts both matterFine-tuned model + RAG

What a private-model project actually involves

A well-run project follows the same shape every time:

  1. Define the task and the bar. One task, written down, with the outcome that matters to the business and the level that counts as good enough.
  2. Build the evaluation set first. A few hundred real, representative cases with expected outputs, reviewed by your experts. This is the most important asset in the project.
  3. Measure the baseline. Score your current approach (often an API with a good prompt) on that set. Now you know what you're trying to beat.
  4. Prepare the training data. Clean, de-identify where needed, balance the cases, and keep the evaluation set strictly separate.
  5. Fine-tune and compare. Train candidate models, score each one against the evaluation set, and keep only what beats the baseline on the measures you agreed.
  6. Deploy where your data lives. Serve the model in your cloud account, a private cloud or on-premise, with access controls, logging and monitoring.
  7. Improve on real usage. Production feedback and corrections become new training and evaluation data, so the model keeps getting better.

Watch out · Check the licence

Open-weight models come with different licences. Some restrict commercial use, size of deployment or require attribution. Confirm the licence fits your use before you invest in training.

Mistakes we see most often

  • Training before evaluating. Without a baseline and a test set, nobody can say whether the new model is better.
  • Fine-tuning for facts. Facts change; fine-tuning bakes them in. Use retrieval for facts and fine-tuning for behaviour.
  • One giant model for everything. Several small, specialised models routed by task are often cheaper and more accurate than one large model asked to do it all.
  • Ignoring operations. A model is a production system: it needs monitoring, rollback, access control and someone who owns it.

Where to start

Pick the one task where accuracy, cost or data sensitivity hurts most today. Collect real examples, build the evaluation set, and measure what you have now. That alone will tell you whether a private model is worth it, and if it is, you'll have the foundation to build one properly.

Work with us

Private Models by Zaiphr Labs

Models fine-tuned exclusively on your data, evaluated against your own benchmarks and deployed in your cloud or on-premise.

Shyam Prabahar

Written by

Shyam Prabahar · Founder & CEO, Zaiphr Labs

Twelve years building and scaling products, including at a FAANG company, a world-leading premium automaker and a Fortune 500 multinational, and 350+ brands since. Now building private models, agents and platforms companies own.

About →LinkedIn ↗

Questions people ask

  • In practice it usually means fine-tuning: taking a capable open-weight base model and continuing its training on examples from your business, so it learns your domain, formats and judgement. It rarely means training a model from scratch, which is expensive and seldom necessary.

  • They solve different problems. RAG gives a model access to current facts from your documents at answer time. Fine-tuning changes how the model behaves: its style, format, terminology and task skill. Many production systems use both: a fine-tuned model that reads retrieved context.

  • If it is built on an open-weight base model with a permissive licence and trained in your environment, you hold the resulting weights, subject to the base model's licence terms. Check the licence of the base model before you start; they differ on commercial use and attribution.

  • Build an evaluation set from real cases before training anything, score your current setup on it to get a baseline, and only adopt the private model if it beats that baseline on the measures that matter to you: accuracy, format compliance, latency and cost.