Own Weights

Build vs buy for a custom AI model

Build vs buy AI model decisions: when a custom model trained on one task beats a frontier API, and how to test the choice on your own data first.

Updated

Build vs buy for a custom AI model is a choice about who controls the model that does one job. Buying means calling a hosted frontier model through an API and writing good prompts. Building means taking an open-weight model, training it on examples from your own work, and running the result in your own cloud account or on-prem. Most teams should buy first, then build only when their own test shows a clear reason.

What buying gives you

Buying is the fastest start. You create an account, send a prompt, and get usable output the same day. A frontier model handles many tasks with no training, so you do not need labeled data on day one. The vendor runs the infrastructure, and you pay per token, which keeps early spending small and easy to predict.

The costs arrive later. Your documents leave your environment on every call. The vendor can retire the model version you depend on, on its own schedule. Your bill grows with every call, and you have little say in how the model handles your edge cases. You keep your prompts, so switching vendors is possible, but the model itself stays with them.

What building involves

Building is three jobs: collect examples, train, and serve. Collecting examples takes most of the effort. Each example needs an input and a correct answer checked by someone who knows the work, and examples that contradict each other teach the model to contradict itself. Training starts from an open-weight model that already understands language, so it needs far fewer examples than training from nothing.

Serving puts the trained model where you set the access rules. You keep the weights, which means you decide when to retrain, when to upgrade, and when to stop. Plan for the ongoing work too: someone must watch the output, add examples for new cases, and rerun the test each time the inputs change.

Test both on your own data

Do not decide from a public leaderboard. Those scores measure general skill, not your task. Build a test from real documents or tickets your team already handled, score the current model on it, then train a candidate and score it on the same test. Only switch when the candidate wins on that test. For the method, see how to test an LLM on your own data before you switch.

On one contract task, a trained model scored 0.717 on exact-quote accuracy against 0.635 for Claude Opus, using 510 commercial contracts with lawyer-checked answers and 5-fold cross-validation so every document was scored by a model that never trained on it. The full results show the other models and the setup. That is one task, not a legal product, and your own test is the one that counts.

What the cost math looks like

Per 1,000 documents on that same contract task, the frontier model cost $154.49 and the trained model cost $4.50. Suppose your team processed 10,000 documents a month. The gap would be about $1,500 a month in model fees. That is an illustration, not a forecast.

The one-time costs decide the payback. Add up labeling, engineering, and the work of running the serving system, then divide that total by the monthly saving. If the answer is months, a build can pay for itself. If it is years, buying usually wins unless you need control for other reasons. Run your own volumes through the LLM cost calculator before you commit. For the broader cost side, see API vs self-hosted LLM cost.

Speed matters too at high volume. A model that clears a backlog overnight changes staffing, deadlines and how often you can rerun work.

Common mistakes

  • Comparing a trained model with a weak prompt on a frontier model. Give the frontier model clear instructions and good examples first, or the comparison proves nothing.
  • Splitting data by chunk, so pieces of one contract land in both training and testing. That inflates the score. Split by case instead.
  • Letting one reviewer label everything when the team disagrees about what a correct answer is. Settle the rule first, then label.
  • Counting only the per-call price and forgetting labeling, retraining and the time someone spends keeping the system running.
  • Treating one good test run as permanent. Inputs drift, so rerun the test on a schedule.

When to build, and when to buy

Buy when the task changes every few weeks, because each change means another round of labeling and training. Buy when volume is low and the monthly bill is small. Buy when you have no examples and no one to label them. Buy when a frontier model already passes your test and the cost is acceptable.

Build only when every item on this checklist is true:

  1. One task repeats at high volume.
  2. The inputs change slowly.
  3. Someone who knows the work has checked the labels.
  4. You have a test built from real cases, split by case, with a fixed and recorded seed.
  5. Your data must stay in your environment, or you need to own the weights.
  6. You keep the frontier API as the baseline and as the fallback for the cases the trained model does not handle.

Start by listing the AI calls that cost you the most and the ones that repeat the same task. Own Weights runs a free audit that maps your AI spend by task from your code and invoices. Then we build a test from your real data before anyone commits to training. Use the button on this page to book a call.

Questions

Is building cheaper than buying an AI model?

It depends on volume and how stable the task is. Buying has no setup cost and usually wins on low volume. Building can cost less per call on one repeated task at high volume, but only after the test shows the trained model is good enough.

Do I need labeled data to build a custom model?

Yes. You need examples of the task with answers that people who know the work have checked. A small, clean set can be enough for a narrow job, while conflicting labels hurt more than a small set does.

Who keeps the model if we stop paying the vendor?

With a build, you hold the weights and can run them in your own cloud account or on-prem for as long as you need. With a buy, you keep your prompts and can switch vendors, but the model stays with the vendor and can be retired on its schedule.