Open-weight vs closed models

Licences, hosting, data sovereignty and cost: when a closed API is the right call, and when the weights need to run on hardware you control.

Updated CompTech Team

The practical split is where the weights run, and who is allowed to run them.

A closed model is reached through an API. The weights stay with the vendor. You pay per token, you get a new version when they ship one, and every prompt crosses to their network unless the contract puts the service in a region and on terms you have actually read.

An open-weight model gives you the file. You can run it on your own GPUs, on a cloud account you control, or on an air-gapped OpenShift cluster. "Open-weight" describes the download. It does not describe the licence. Some checkpoints are Apache-2.0. Some are MIT. Some are a community licence with a user threshold, an acceptable-use policy, or a ban on offering the model itself as a service. Popular models names the families. This page is the decision.

Four questions

Ask them in this order. The second one settles more procurements than the first.

Question Closed API Weights you host
Where does the prompt go? To the vendor, in the region the account uses. Logs and retention are whatever the contract says. Stays in your network, including an air-gapped one.
What does the licence allow? The API terms: what you may send, whether they may train on it, what happens when they retire a model id. The checkpoint licence: commercial use, redistribution, user caps, attribution.
Who patches it? The vendor. A model id can change behaviour under you, or disappear. You. A new checkpoint is a deployment you schedule, test and roll back.
What does a token cost? A published price, plus the tokens you waste on long prompts. No GPU contract. GPUs, power, people, and idle time. Cheap per token only once the cards are busy.

A model that is slightly better on a public benchmark and illegal to run for your use loses to a model you are allowed to run. Legal reads the licence that shipped with the file, not a blog post about the family.

When a closed API is the right tool

  • You are still discovering the task. A week of API calls is cheaper than a GPU order.
  • The data is allowed to leave. Public text, synthetic tests, non-sensitive drafts.
  • You need a capability nobody has reproduced in a file you can host yet, and the business owner accepts the dependency.
  • Burst load. An API scales for a week-long spike. A GPU cluster you sized for the spike sits idle afterwards.

Pin the model id. "The vendor's best model" will change, and your evaluation will no longer describe production. Store the id next to the test set from Benchmarks.

Turn off training-on-customer-content if the toggle exists, and confirm it in the contract. A toggle in a console is not a control unless it is the thing the agreement names.

When the weights need to run at home

  • Customer, citizen, health, or classified data must stay in the country, or on a network that has no route out. This is the normal case for the banks, ministries and units we work with.
  • You must be able to re-run last year's model. An API id that the vendor retired cannot be reproduced.
  • You need to fine-tune, or you need to know the artefact byte for byte.
  • The volume is steady and high enough that the GPUs earn their keep. Do the sum from the specs and the running lab before you claim that.

Self-hosting is a platform, not a file copy. You still need an inference server, a way to ship a new checkpoint, GPU drivers, disk for the weights, and someone on call. OpenShift AI and NIM are how this series does that. A laptop running a quantised model is a fine way to learn and a poor way to serve a branch network.

Licences, read properly

For each candidate file, record:

  • Who may use it, and whether a threshold (monthly users, revenue, sector) changes the terms.
  • Whether you may fine-tune and serve the result internally.
  • Whether you may expose it as an API to other organisations. Several "open" licences forbid exactly that.
  • Whether acceptable-use clauses rule out your domain. A general ban on weapons, surveillance, or medical advice matters if that is the project. The defence use cases series is explicit about what we will not build.
  • What you must ship alongside the model: a notice, the original licence, a statement that you changed the weights.

Apache-2.0 and MIT are the easy ones for an internal service. A community licence can still be the right choice. It just has to be read before the download, not after the demo.

Closed terms need the same reading: data processing location, subprocessors, retention, deletion, and whether a new model version is opt-in. Sovereignty is a property of the deployment, not of the slogan on the model card.

Air gap, as a checklist

A disconnected cluster makes the hosting decision physical. Before you call a deployment sovereign, the following are already inside the registry, not "available for download":

  • The model weights, by digest, and the tokenizer that matches them.
  • The inference server image (vLLM or NIM) and the GPU driver it was built for.
  • The embedding and reranking images, if the task is RAG. A language model with no embedding model is a chat window.
  • The licence text, stored next to the digest, so the approval still means something when the vendor's website is unreachable.

If any of those is missing, the thing you have is a demo that worked while the proxy was open. The OpenShift AI security labs rehearse the disconnected install. Do that rehearsal with the model you actually chose, not with a tiny sample file.

Cost without a fantasy spreadsheet

Do not compare "an API token price" with "a GPU in a catalogue" as if they were the same unit.

  • API: price per million input tokens, price per million output tokens, expected prompt length (RAG contexts are mostly input), requests per day, and the failure mode when the vendor has an outage.
  • Self-hosted: GPU memory from the model card, number of concurrent requests, whether quantisation is acceptable for this task, power and cooling, and the cost of the second site if the service has an RTO. A model that only runs on one box does not have a DR story.

A common pattern that respects both columns: develop prompts against a closed API using synthetic or approved data, then run production on an open-weight model you evaluated on the same test set. If the self-hosted model loses on that set by enough to matter, you have a fact. If it does not, you have a deployment that can live inside the country.

Write the decision next to the model id, in the same note as the test set:

model: llama-3.1-8b-instruct @ <digest>
licence: Meta community licence, read on <date>, internal serving only
data: may include customer text, must not leave the cluster
fallback API: none in production

A later reader should not have to reconstruct why the weights are local. The digest is what you run. The sentence under it is why.

What's next

How to choose a model puts licence and data location on a full checklist. Running models is the API-versus-GPU decision in commands. Risks and responsible use covers what else has to be true once the model is allowed to answer.