Open Weight Models for Internal AI Workflows: When Running Your Own Model Beats a Hosted API
Sooner or later someone asks whether your internal AI workflows should run on open-weight models instead of a hosted API. Usually the question arrives after a big release, a surprising invoice, or a customer contract with a data-location clause. Teams that answer it by model leaderboard tend to make one of two mistakes. They move a workflow to a cheaper open model and find out weeks later that it fails more often on their real documents, or they buy GPUs for a workload too small to keep them busy.
This guide is for the operations lead, AI program owner, or engineering lead at a 50 to 1,000 person company who has to make that call workflow by workflow. It covers where each workflow should run, how to test an open model on your own cases, which licence terms to read, and how to keep the decision reversible.
The short answer
- Most mid-size teams should keep most work on a hosted API. Cost alone rarely justifies running your own model at this size.
- The usual reasons to move a workflow are a contract or residency term that rules out a third-party API, or a high-volume, narrow task where a smaller model is good enough.
- Try open weights through a managed or dedicated provider before you consider self-hosting.
- Decide on the workflow's own test cases, run end to end, not on benchmark charts.
- Read the licence before engineering starts, and keep every workflow able to switch models.
What open weights are, and what they are not
An open-weight model is one whose trained parameters you can download and run yourself. gpt-oss, Llama, Mistral, Qwen, DeepSeek, and GLM all publish weights. Open weights are not the same as open source. The Open Source Initiative's explainer on open weights points out that a weights release usually leaves out the training code and data, so you can run and fine-tune the model but cannot rebuild or fully inspect it. For an internal workflow the gap rarely matters. What you get is the right to run the model where you choose, under the licence attached to it.
Interest has grown fast. UK searches for "open weight models" went from about 70 a month in late 2025 to about 1,600 a month by September 2026 in Google Ads Keyword Planner, and the jump lines up with a run of large releases this summer. The Orange ITS guide to open-weight models counts six credible families as of August 2026, and also notes that the trillion-parameter flagships that make headlines are not what most companies run. The production workhorses are 40 to 100 billion parameter models that fit on a single high-end GPU.
Why the leaderboard answer goes wrong
Benchmarks score a model on someone else's tasks. Your workflow is a chain: read a document, extract fields, check them against a rule, draft a reply, route an exception. A small drop in accuracy at each step adds up. In a Show HN thread about Forge, Texas Instruments' AI director put the arithmetic plainly: 90% per-step accuracy over a five-step workflow fails about 40% of the time. He also reported that adding retries, step checks, and error recovery around an 8B self-hosted model took it from about 53% to about 99% on his multi-step agentic test set. A commenter reported a large jump on 13B models on a different benchmark. Those are author reports on their own tests, not general rates, but the lesson carries over.
Judge an open-weight model on the workflow's own evaluation cases run end to end, not on a leaderboard, because small per-step error rates compound across a multi-step workflow and the checks around a smaller model can matter as much as the model. Ask whether this workflow, with this model and its checks, passes your cases as often as it does today. Orange ITS makes a related point: open models tend to be strong on task-specific work like code generation and weaker on broad, hard reasoning, and blended "competitive with frontier models" headlines hide that split.
Three places a workflow can run
Each workflow can run in one of three places. Helmcode's cost analysis of self-hosting open models describes the same tiers from the provider side.
| Option | What you run | Good fit | Main cost |
|---|---|---|---|
| Hosted API | Nothing; you call a proprietary model | Hard reasoning, low or bursty volume, fast iteration | Per-token price and dependence on one vendor |
| Managed open weights | Nothing; a provider serves an open model on shared or dedicated capacity | Residency or contract terms, wanting a way out of one vendor, steady mid-size volume | Per-token or reserved capacity price, plus provider due diligence |
| Self-hosted | GPUs, the serving stack, monitoring, upgrades | Hard data-location rules, very high steady volume, a team that can own it | Hardware or rental, staff time, idle capacity |
Use these rules to place each workflow:
- If a contract, regulator, or customer forbids sending the data to a third-party model provider at all, the choice is between self-hosting and a provider you can sign the right terms with. Check the second first.
- If the task is broad reasoning, judgement on messy inputs, or anything where a wrong answer is expensive, keep it on the best hosted model until a parity test says otherwise.
- If the task is narrow and high volume (classification, extraction into a fixed schema, first-pass drafting, triage), it is the natural candidate for an open model.
- If volume is low or spiky, stay on per-token pricing. Idle GPUs are the most common way self-hosting loses money.
Most companies end up mixed. Orange ITS describes the common pattern as a hosted API for complex or high-stakes reasoning and smaller open models for high-volume, lower-complexity work.
Start with managed open weights, not your own GPUs
Running an open model through a provider that serves it in your region gives you most of what people want from "running our own model": you can pick a provider whose data terms fit your contracts, you are not tied to one model vendor's roadmap, and the same weights can later move to another provider or to your own hardware. You avoid buying GPUs, staffing an on-call rota, and patching a serving stack.
Two cautions. First, a managed provider is still a third party, so it needs the same due diligence as any API vendor: where requests are processed, what is logged, and how long it is kept. Our guides on enforcing data residency across AI workflows and BYOK and customer-managed key contracts cover the checks. Second, Entrans' guide to open-weight models in the enterprise suggests asking what leaves with you if you drop a managed provider. Entrans names the tuned adapter, the evaluation harness, the routing config, and your request logs; with open weights the model itself should leave with you too. If the provider has wrapped the model in proprietary tooling you depend on, part of the benefit is gone.
Our recommendation, drawn from how the options compare rather than from any one source: treat open weights served by a managed or dedicated provider as the default first step, since it settles most licence, residency, and lock-in questions without taking on GPUs and an on-call rota, and move to self-hosting only when steady volume or a hard contract term forces it.
When self-hosting pays
Self-hosting costs a lot more than the GPUs. Helmcode's worked example prices an 8×H200 node at about €21,500 a month in rental and adds half an engineer at about €3,750, for roughly €25,250 a month. On its assumptions, that setup breaks even at around 14 billion tokens a month against a standard API price, and around 25 billion against a cheaper API. That is one practitioner's model with its own prices, so redo the arithmetic with yours. The calculation has four parts:
- Fixed monthly cost of hardware or rented capacity, whether or not it is busy.
- Staff time to serve, monitor, upgrade, and evaluate the model. Orange ITS describes self-hosting as "closer to hiring than to procurement".
- Utilisation. A node serving one workflow during office hours sits idle most of the week.
- Capacity is tied to one model. Helmcode notes that the hardware is provisioned for a specific model, so trying a different one means re-provisioning.
Smaller models change the numbers. OpenAI says in its gpt-oss announcement that the 120b model runs on a single 80 GB GPU and the 20b model needs 16 GB of memory. A single-GPU deployment for one narrow workflow is a very different commitment from a multi-GPU cluster, but it still needs an owner.
Self-hosting is worth it when at least one of these holds: the data cannot leave your environment under any provider terms, volume is steady and high enough that your own break-even sum says yes, or latency and availability requirements rule out a shared service. If none of them holds, the managed row is cheaper and less work.
Read the licence before the benchmark
"Open" covers very different terms. Before an engineer builds against a model, put its licence through the same review as any third-party dependency.
- Permissive licences. gpt-oss is released under Apache 2.0, according to OpenAI's announcement, and its usage policy asks users to comply with applicable law. Orange ITS lists Mistral Large 3 and smaller Qwen checkpoints as Apache 2.0, and GLM-5.2 and DeepSeek releases as MIT.
- Community licences with conditions. The Llama 3.3 Community License requires a separate licence from Meta for companies with more than 700 million monthly active users, requires "Built with Llama" attribution when you distribute a product that includes it, and incorporates an acceptable use policy. Most mid-size companies will never hit the user threshold, but the attribution and use-policy terms still apply.
- Custom licences. Orange ITS reports that the Kimi K3 licence requires a commercial agreement above defined revenue thresholds and that the flagship Qwen 3.8-Max weights ship under their own licence, separate from the Apache 2.0 terms on smaller Qwen models. Do not assume a whole model family shares one licence.
- Model origin. Orange ITS also flags that vendor documentation for several Chinese-origin families says nothing about export controls or EU AI Act obligations. Do not read that silence as clearance. If you work in a regulated sector, get legal advice before you build.
Write the licence name and any conditions into the workflow's record, next to the model version. When the model is upgraded, check the licence again, because terms can change between releases.
Run a parity test on your own cases
This is the step that decides most moves. Before switching any workflow, build or reuse an evaluation set for that workflow and run the whole chain, not just the model call.
- Collect real cases. Take 50 to 200 recent inputs that cover normal work and known awkward cases: scanned documents, long threads, mixed languages, edge-case amounts. If you already have regression tests, start there.
- Define pass and fail per case. For extraction, field-level exact match. For classification, the right label. For drafts, a rubric a reviewer can apply in under a minute. Agree the threshold with the business owner before you see results.
- Run the current setup and the candidate side by side. Same prompts, same schemas, same checks. Record pass rate, the kinds of failure, cost per run, and latency.
- Add structure before giving up on a smaller model. Strict output schemas, validation with a retry, and a step that checks results against business rules often close much of the gap, as the Forge thread illustrates.
- Decide per workflow. If the candidate meets the threshold and the cost or residency case holds, move it behind a flag, keep the old route available, and watch production results for a few weeks.
A hypothetical example shows how this plays out. A 300-person logistics company runs three workflows on a hosted API: invoice field extraction (about 40,000 documents a month), support email triage, and a policy question-answering assistant. A new customer contract requires EU processing for invoice data. The team runs the invoice set on two open models through an EU-hosted managed provider. One matches the current pass rate once a schema check and one retry are added; the other misses on scanned invoices. They move invoices to the first model through the managed provider, leave triage where it is because nothing is forcing a change, and keep the policy assistant on the hosted model because its parity test fell well short. They did not buy hardware. One workflow moved and two stayed.
Keep every workflow able to switch
The lasting benefit of open weights is being able to switch models, so keep each workflow swappable through a gateway, model-neutral prompts and output schemas, and a per-workflow test set, because self-hosted capacity is pinned to one model and a licence can rule a model out later. New open releases arrive every few weeks, prices move, and a hosted API can deprecate the version you tested. Changing the model should be a configuration change plus a test run, not a rewrite.
- Route model calls through one gateway or client layer, as in our guide to deploying an LLM gateway, so the model is a setting per workflow.
- Keep prompts and output schemas model-neutral. Avoid features only one provider supports unless the workflow needs them, and note it when it does.
- Store the evaluation set and threshold with the workflow, and rerun it on every model or version change. Our model deprecation runbook covers the switch itself.
- Record the model, version, licence, and where it is served for each workflow.
A post summarising how Nubank chooses between open and closed models describes the same stance at a much larger scale: build around choice rather than betting on one provider. For routing different tasks to different models deliberately, see our guide to routing LLM requests by task, cost, and quality.
Failure modes to watch for
- Moving on the leaderboard. A model that scores well in public can still fail on your documents. Nothing moves without a parity test.
- Buying for peak. Sizing GPUs for the busiest hour leaves them idle the rest of the week. Price self-hosting at your real average utilisation.
- No owner. A self-hosted model with nobody responsible for upgrades and monitoring will drift out of date and fail without anyone noticing.
- Licence by family name. Assuming every model in a family has the same terms. Check the exact checkpoint.
- Privacy by assumption. Self-hosting does not make a workflow private on its own. Access control, logging, and retention still need to be set up, as in our guide to data privacy requirements for internal AI tools.
How to tell the decision was right
A few months after a move, you should be able to show that:
- Each workflow has a recorded placement (hosted, managed open weights, or self-hosted) and the reason for it.
- The moved workflows pass their evaluation set at or above the agreed threshold, and production error rates did not rise.
- Cost per run is known for each workflow, and for self-hosted ones, utilisation is high enough to support the break-even assumption.
- The licence and any conditions are recorded next to each model version.
- Switching a workflow to another model has been rehearsed at least once, with the test set rerun.
If a moved workflow fails these checks, switch it back to its previous model and rerun the test set.
What to do next
List your internal AI workflows with their monthly volume, the data each one handles, and any contract terms on where that data can go. Mark the one or two that are high volume and narrow, or that are blocked by a residency term. For those, build an evaluation set and run a parity test against an open model through a managed provider before anyone prices hardware. If you want help, our AI workflow automation and internal tools work includes this kind of model placement, and an AI audit can review which of your workflows are good candidates for open-weight models.