Skip to content
mentoor

Topic 4 of 6 · 4 min read

Hosted tuning APIs versus open weights

Goal: Choose between a hosted fine-tuning service and an open-weight run for a stated budget, privacy rule and deployment target.

Hosted tuning trades control for speed and low effort; open-weight tuning trades effort for control, privacy and portability. Neither is better in general. The choice follows your data rules, your team and where the model must run.

Check yourself · 1 of 3

A company's contract says customer text must never leave its network. Which tuning route is open to it?

Choose one answer

The two routes

Hosted tuning API. You upload a training file to a provider and they train on their infrastructure and serve the result behind their API. Providers such as OpenAI and Google offer this for selected models. Setup is hours, not weeks. You need no GPUs.

Open-weight tuning. You take weights such as Llama, Qwen, Mistral or Gemma, train with open tools such as Hugging Face libraries and PEFT adapters (see LoRA), and host the result yourself or on a rented GPU service. You own the artefact.

How to compare

  1. Data and privacy. Check what the provider does with training files, where they are stored, and whether your contracts or regulations allow sending them. Some data can never leave your network, which settles the choice.
  2. Control. Hosted routes expose a few settings. Open weights let you choose the method, base model, hyperparameters and inference stack.
  3. Cost shape. Hosted: a training fee plus a per-token price for the tuned model, often higher than the base model. Open: GPU time to train, then a fixed server cost to serve. Volume decides which is cheaper.
  4. Lock-in and retirement. A hosted tuned model lives only at that provider and is tied to a base model that will eventually be retired. A retired base means you retrain, often on a new base, and may see different behaviour. Open weights you hold keep running, but you now own security patches and upgrades.
  5. Team skill. Training, serving, monitoring and GPU capacity are real work. A small team without ML experience may be better served by the hosted route.
  6. Deployment target. On-device, offline or edge needs open weights.

Before and after

Weak: "Use the hosted API because it is easiest."

Better: "Patient notes cannot leave our network, so open weights on our own servers. For a separate marketing classifier on public text, the hosted route is cheaper to start and a retraining plan covers the base model's retirement date."

What goes wrong

  • Assuming the tuned model is portable. A hosted tune cannot be exported to another provider; only the data and eval can.
  • Forgetting the price of serving. Idle GPUs cost money; low volume may not justify them.
  • Skipping the data terms. The contract, not the marketing page, defines data use.
  • No retirement plan. Keep the training data and eval so a re-tune is a rerun, not a new project.

Examples

Clinic notes

A clinic must keep patient notes inside its own network. Hosted tuning is ruled out by policy, so the team tunes an open-weight model with adapters on its own servers and accepts the serving and security work.

Public-text tagger

A publisher tags public articles with 20 topics, has no ML staff and moderate volume. A hosted tuning job is the quickest path. They store the training file and eval so they can retrain when the base model is retired.

Key points

  • Hosted tuning is quick and needs no GPUs, but the tuned model lives at that provider.
  • Open-weight tuning gives control, privacy and portability in exchange for training and serving work.
  • Data rules can settle the choice before cost is compared.
  • Hosted tuned models depend on a base model that will be retired, so plan to retrain.
  • Keep your training data and eval, which are the portable assets in either route.

Common mistakes

  • Choosing on setup speed alone while ignoring where training data is sent.
  • Assuming a hosted tuned model can be moved to another provider.
  • Ignoring the ongoing cost of serving and patching a self-hosted model.
  • Throwing away training data and evals, which makes retraining after retirement a new project.

Check yourself · 2 of 3

What is a real lock-in risk of a hosted tuned model?

Choose one answer

Check yourself · 3 of 3

A team with no ML staff needs a quick classifier on public text, and volume is modest. Which route fits best at the start?

Choose one answer

Practice items, not counted towards your mastery.

Start here

More for this topic