Every time a competitive open-weights model comes out, like Ergo, which Amazon announced at re:Invent 2026, the same question returns: do I deploy it myself or keep using an API? There is no universal answer, but a few questions bring order to the decision.
First, what each option means
With an API, you send the request to a provider and pay per use (usually per token). With an open-weights model, you download the model and run it on your own infrastructure or on a managed service that hosts it for you. Between the two there are shades of grey: many cloud providers offer open models as a service, billed per use.
1. Where can your data live?
If regulation or contracts mean data cannot leave your environment, a model you control greatly simplifies the conversation with security and legal. Without that restriction, enterprise APIs usually offer adequate guarantees on data retention and use; read them before deciding.
2. How much will you use it?
With low or irregular volume, paying per use is almost always cheaper: you don't pay for idle machines. With high, steady volume, owning the capacity can pay off. Do the maths with your real numbers, including the hours when the machine does nothing.
3. Who will run it?
Deploying a model is the easy part. The hard part comes after: scaling for peaks, upgrading versions, watching latency, handling failures. If your team lacks that experience, the real cost includes learning it or hiring it.
4. Is it good enough for your case?
Launch benchmark tables are usually the vendor's own tests and do not reflect your problem. The only evaluation that counts is yours: a set of real examples from your use case, with the expected answer, run through each option.
5. How locked in will you be?
An open model can move between providers; a specific API, less so. A thin layer of your own that isolates your application from the model (same input and output format, whatever model sits behind it) reduces that dependency in either case.
My starting point
I would start with an API to validate that the use case adds value, with my own evaluation from day one. If the case works and volume, data or cost justify it, that same evaluation will tell you whether an open model performs as well on your problem. Decide with your data, not with the launch headline.