Guide
Thao Nguyen

Most engineering teams building AI systems start in the same place: a handful of workflows wired directly to a frontier API. That setup is fast to ship, and for early adoption, the simplicity is worth it. The friction shows up as usage scales. Inference bills climb faster than expected, sensitive documents start moving through external endpoints, and teams hit a ceiling where they can only tweak prompts on a rented model instead of using their own proprietary examples to improve a model they control.
That shift is already visible in production traffic. The open-weight share of enterprise token volume on Databricks’ Unity Gateway more than quadrupled from 7.3% in July to 30.9% in November 2026. Looking further ahead, Gartner’s October 2026 planning assumption expects open-weight models to account for 90% of enterprise operational agent workflow steps by 2030.
Yet moving a production workload off a frontier API is rarely as simple as swapping an API key. A single workflow may keep a frontier model for its hardest reasoning steps, route routine extraction to a hosted open-weight model, and run a fine-tuned specialist inside a private environment. Making that mix reliable requires changes to your enterprise AI architecture: specifically how workloads are evaluated, how endpoints are approved, and how traffic is routed when a provider or checkpoint changes.
Enterprises should own the model where it sets them apart and govern where every model runs.
This guide walks through what actually has to change in an enterprise AI stack to deploy open-weight models in production, starting with your first hosted workload and extending to private inference and specialized models, without overbuilding on day one.
What does an enterprise AI architecture for open-weight models look like?
An enterprise AI stack for open-weight models connects workflows to approved inference endpoints and gives teams a way to test, release, and roll back model changes. You do not need to rebuild your application layer, permissions, or CI/CD. Instead, you add three core pieces around your existing stack: a task-level route configuration, workload-specific evaluations, and a security review of every endpoint and data path.
Consider an illustrative workflow such as invoice extraction. Business logic like purchase-order lookup, totals checks, and review rules stays inside the application or its agent harness, not inside the model layer. Access controls also stay at the point where the workflow reads data or takes action. In Uber’s agent platform, for example, the system carries both the user’s and the agent’s identity into tool authorization rather than relying on the model to enforce permissions.
Between the workflow and the model sits a route. A route maps a task such as invoice-extraction to one or more approved model versions and endpoints, along with a fallback policy. For a first workload, a shared inference client can manage a fixed route. As more applications adopt multiple models, an AI gateway can centralize routing rules and translate provider-specific formats. LinkedIn took this approach by building a common inference API for external and internally served models so applications do not need to change when serving changes underneath.
The release process determines which endpoints may take live traffic. Before configuring a route, the team tests each candidate on representative work and verifies where the data goes. If the team later trains a custom checkpoint or adapter, that artifact enters the same review and release path at the candidate endpoint, as the bottom row of the diagram shows.

Every model change, whether a hosted open-weight model or a fine-tuned specialist, enters production through the same evaluation and data-path approval gate.
Where should inference run in a sovereign AI architecture?
Once you select a candidate model, evaluate the exact endpoint you intend to call. Two inference providers can serve the same model name with different serving precision, inference engines, chat templates, or tool-call parsing. A study of hosted open-weight APIs found measurable differences in latency, throughput, and API compatibility across providers. Testing the actual endpoint shows whether those differences affect your workflow. Check which model revision and serving settings you can pin and how the provider handles upgrades.
For an enterprise, sovereign AI means deciding, workload by workload, where data may go, who can administer the service, and which outside systems it depends on. Those decisions apply to fine-tuning as well as inference. Most teams start on a shared open-weight API for eligible workloads, move to dedicated managed endpoints when they need predictable latency or pinned custom artifacts, and adopt a private LLM deployment (in-account or self-hosted) when data residency, compliance, or custom runtimes require it.

A provider can also operate a dedicated endpoint inside your cloud account. If a workload requires an air gap, test whether it can start, authenticate, and run with external connections disabled, and plan how to bring in approved artifacts and offline updates.
When your team operates inference directly, it takes on GPU capacity, artifact verification and runtime patches, and on-call coverage. You also need to budget for idle capacity, peak demand, and upgrades, since running two clusters side by side during a model rollout can double GPU costs. To limit that spare capacity during upgrades, Chase scales up a new cluster incrementally as it shifts traffic off the old one.
Which data paths need approval?
Data governance becomes concrete when an endpoint goes down or a team copies production records for testing. Returning to the invoice extraction example, suppose an internal endpoint fails. A hosted backup can take traffic only if it is already approved for those invoices. If no eligible endpoint is available, the system should queue the work or return an error rather than failing over to an unapproved host. The same policy applies to any real documents copied to a candidate endpoint during evaluation.
Before approving an endpoint for a workload, review three areas:
Every hop in the data path: Approve every gateway, inference provider, subprocessor, and region that can receive prompts, retrieved documents, or tool results. Check support access and where logs and telemetry go, including for inference hosted inside your own cloud account.
Retention and training rules: Verify what each service keeps and whether it may use customer data for training. Set retention rules for your own logs, traces, and evaluation or training datasets.
Emergency controls: Test whether on-call staff can disable an endpoint, revoke its credentials, and identify every workload that called it.
If a workflow uses a decision model such as GLiDE to route complex requests to different endpoints, approve the data that router sees and restrict its choices to endpoints already cleared for the request. Re-check endpoint eligibility on every retry.
If a workload requires zero data retention (ZDR), treat contractual language as a starting point rather than technical proof. Recent security disclosures illustrate where retention guarantees can break down in practice, not as the norm across providers, but as concrete failure modes an enterprise architecture has to account for:
Contractual and feature-level gaps: In one disclosure, an enterprise customer found that a third-party inference provider had retained data from an analytics feature despite a contractual ZDR commitment.
Routing and supply-chain exposure: In late 2026, Dragos researchers seeded roughly two million canary prompts across inference endpoints and uncovered isolated cases of exposed traffic caused by compromised provider credentials, a compromised inference server, a routing misconfiguration that forwarded requests to an unintended upstream API, and deliberate logging by unauthorized marketplace resellers. Following those findings, OpenRouter removed 125 endpoints from ZDR eligibility and committed to ongoing technical testing.
Because these failure modes cross legal, network, and application boundaries, governance requires three distinct responsibilities (even if smaller organizations combine them across fewer teams): security and compliance approve eligible endpoints, subprocessors, and data paths; platform engineering enforces endpoint eligibility, credential revocation, and kill-switches in the gateway; and product and AI engineering, alongside domain reviewers, own task evaluations and quality thresholds.
Ask what a provider’s contract covers and which exceptions apply to requests, responses, logs, and caches. An independent retention audit can verify serving code and storage within a defined scope, and canary monitoring can flag some later reuse of test content, though copies that sit unread can still go undetected. The strongest control remains minimizing exposure at the source by sending only the fields the task requires.
How do you test and roll out your first open-weight workload?
A hosted, off-the-shelf model is a practical starting point for testing whether open weights can cut costs on a task your current frontier model already handles. Before routing live traffic, the business owner defines the release criteria for accuracy, latency, and cost per completed task, including retries and manual review. In an illustrative invoice extraction workflow, for example, finance sets the thresholds for critical field errors and turnaround time, security signs off on the data path, and platform engineering owns the rollout.
Start with a representative set of reviewed examples that are approved for the endpoints being tested, including missing fields and unfamiliar formats. Run both the incumbent frontier model and the candidate open-weight model on the same inputs, and grade them with the same rules. If the candidate needs a different prompt or tool setup, record that change and evaluate the full configuration together. Keep document access controls tested separately.
When a candidate falls short on the first pass, inspect the surrounding workflow before blaming the model weights or jumping to fine-tuning. Open-weight models often respond differently to prompts, tool schemas, and long context windows than frontier APIs, and fixing the system around the model can close the gap at a fraction of the cost. Amplitude saw this directly when it tested Kimi K2.7 inside its existing agent. Initially, Kimi scored 64 on Amplitude’s 186-case evaluation, trailing Claude Sonnet 4.6 at 72.7, largely because Kimi repeated failed tool calls until the turn ended. Rather than fine-tuning the weights, the team adjusted the agent harness: they added loop detection, supplied a calculation tool, and refined how long conversation histories were managed. Those workflow changes raised Kimi’s score to 73.7 at roughly a third of the cost for that workload.
Once a candidate meets your quality and cost bar offline, move it into production in four controlled steps:
Lock the baseline: Record the candidate model version, the endpoint that passed evaluation, and the approved fallback. Keep the incumbent model’s metrics as your baseline.
Run in shadow mode: Mirror a sample of eligible live requests to the candidate, logging its outputs without returning them to users or triggering downstream writes. Compare results against the incumbent, and time-box the shadow run to a statistically meaningful sample so you do not double inference spend indefinitely.
Shift a small share of live traffic: Route a controlled percentage of eligible production requests to the candidate and measure performance against your release thresholds.
Expand or roll back: Increase traffic if the results hold. If quality or latency slips, restore the previous route, provided it is still approved.
Throughout the rollout, link each attempt’s model version and endpoint to the eventual business outcome, such as a human reviewer correcting an extracted total, using request IDs. Keep sensitive payloads out of routine logs and enable content capture only where policy permits it. Review and redact any retained examples before adding them to regression suites. LinkedIn follows a similar feedback loop, using production execution traces to build regression datasets for its agent platform.
Those logged corrections also tell you when an off-the-shelf model has reached its limit. Returning to the invoice example, suppose the hosted model handles most documents well, but reviewers repeatedly fix the same field for a handful of suppliers. Turn those corrections into test cases. If the right value is already in the purchase order, fix retrieval or validation first. If the model still misreads the field even when given the right context, you have a concrete reason to evaluate fine-tuning.
When does a specialized model pay off?
A smaller specialist can cut cost and latency on a high-volume task if it clears the same quality bar. For work that sets your product apart, fine-tuning also lets you encode proprietary examples and reviewer corrections directly into a checkpoint or adapter you control, giving you the freedom to decide when to upgrade or move providers. That is the practical case for owning the intelligence behind a product. In our review of enterprise deployments, teams used both approaches, pairing hosted open-weight models for routine work with post-trained specialists where domain accuracy mattered most. Weigh the expected gains against the cost of labeling data, training, and maintaining another model.
First-party evaluations show both the upside and the trade-offs of specialization. Our healthcare fine-tune of Nemotron 3.5 Lightning, which has 3B active parameters, raised error-flag accuracy from 53.7% to 65.0% on MEDEC, a benchmark for spotting errors in clinical notes, compared to roughly 58% for Claude Opus 4.6 on the same measure. At the same time, specialization gains can be narrow. In another experiment, a LoRA adapter trained on 500 FinQA examples lifted execution accuracy from 35% to 77% on FinQA, while its score on the related TAT-QA task dropped from 68.5 to 63.1. Route a specialist only to the tasks it passed, and test any adjacent workload before expanding its scope.
Workload profile | Best starting fit | Why |
|---|---|---|
Low-volume, open-ended reasoning (complex synthesis, novel edge cases, rapidly changing tasks) | Frontier API | Engineering and evaluation overhead rarely pays back; general capability matters most. |
High-volume, well-bounded tasks (extraction, classification, routing, structured summarization) | Hosted open-weight model | Captures lower per-task cost and flexible serving without managing GPUs or training pipelines. |
High-value, repeatable tasks with proprietary signals (domain-specific accuracy gaps, strict latency/cost ceilings, proprietary reviewer corrections) | Fine-tuned specialist | Turns internal examples into a durable quality or cost advantage on a checkpoint you control. |
What do you need to train and serve a specialist?
Start with a small set of real examples with labels your domain reviewers agree on. In an invoice extraction workflow, that means pairing each document with the exact fields a reviewer would accept, including cases where a field should stay blank. Hold out representative real examples for evaluation before you generate any synthetic training data.
Use synthetic data to fill specific coverage gaps, such as rare document layouts. The Fastino Training Agent can generate task-specific examples as part of preparing the training set. Review the generated labels and measure quality strictly on the real cases held out from generation and training. Apply the same data governance checks to the training pipeline: confirm where each stage runs, who can access the examples, and where the resulting checkpoint is stored.
Match the post-training method (whether supervised fine-tuning, preference tuning, reinforcement learning, or distillation) to the failure mode you are trying to fix. Our guide to fine-tuning open-weight models breaks down when each technique applies.
Check what your serving stack can load before you start training. You can deploy a merged full checkpoint or, if you use LoRA, load the learned adapter alongside a compatible base model. Several managed platforms, including SageMaker real-time endpoints, support serving customer adapters directly. If you operate your own inference, runtimes such as vLLM can serve multiple adapters on a single base model, avoiding the cost of hosting a separate full model for every task.
Record the full release artifact: the checkpoint or base revision and adapter version, license, artifact hash, serving precision, and inference engine. Stage the exact combination you intend to run and push it through the same release process as your first hosted model. Rerun evaluations whenever either the model or the serving configuration changes.
What should you build now, and what can wait?
When | What the stack needs |
|---|---|
Use what you have | Reuse single sign-on, service identity, secrets management, network segmentation, document access controls, CI/CD, and incident response. |
Build for the first workload | Add workload-specific evaluations, a route with approved endpoints and fallbacks, rollout and rollback criteria, and telemetry that links model and endpoint versions to task outcomes. |
Add as more teams adopt models | Use a shared gateway when several applications need consistent policy enforcement, and automate repeat evaluations in CI/CD when models, prompts, or tools change. |
Add when you train a specialist | Label real examples, fill specific gaps with reviewed synthetic data, and keep a held-out test set. Version the checkpoint or adapter and stage it on a compatible endpoint. |
Add when you operate your own inference | Plan GPU capacity, model downloads and updates, runtime patches, and on-call coverage. |
You do not need a self-hosted GPU cluster or a post-training team to start moving off frontier APIs. Start by giving one team a governed release path: a representative evaluation set, an approved endpoint, and a safe way to roll traffic forward or back. That same architecture scales from your first hosted open-weight model to private inference, and it gives you a disciplined way to own and improve a specialized model when the workload earns it.