Own Weights

Hybrid AI deployment: own model for volume, API for the rest

Hybrid AI deployment runs your own model for the high-volume task and an API for the rest. Here is how to split traffic, route requests and test the split.

Updated

Hybrid AI deployment means running two kinds of model side by side. Your own fine-tuned model takes the high-volume, repeatable task, and a frontier API takes the rare or open-ended requests that the trained model was never built for. A router in front of both decides which request goes where.

This only pays off when one task makes up most of your calls and the rest is a long tail. If every request is different, there is no single high-volume task to move.

What does a hybrid LLM strategy look like in practice?

Start with your call log. Group requests by task, such as clause extraction, ticket tagging or invoice fields, and count the calls and tokens in each group. Often one or two groups make up most of the volume.

Move the largest group first. Own Weights fine-tunes an open-weight model for one high-volume task a company now sends to a frontier API, tests it against the current model on the company’s own data, and serves it in the customer’s cloud account or on-prem. The customer owns the weights. Everything else stays on the API.

How do you route LLM requests between models?

A router reads each request and picks a model. There are three common signals.

  • Task type. If the request comes from the extraction feature, it goes to the owned model. This is the most predictable signal, and most teams should start here.
  • Input shape. Very long inputs, unusual formats or missing fields can go to the frontier API. Your test set shows which shapes the trained model handles.
  • Confidence. The owned model returns a score with its answer. Low scores go to the API for a second pass. This only works if the score is calibrated, so check it on labeled examples first.

Keep the router boring. A rule table in code beats a clever component you cannot debug at 2 a.m.

Can you use your own model and OpenAI together?

Yes. The owned model is one endpoint, and the OpenAI or Claude call is another. Both sides should return the same output format, or your application code has to handle two shapes and the bugs start there.

Log the model name with every response. When costs or quality shift, you need to know which side produced which answer.

What does the split cost? A hypothetical example

This is a hypothetical example with round numbers, not a customer result. Imagine an app that makes 1 million calls a month. Each call sends 1,000 input tokens and gets 200 output tokens back. Assume 900,000 of the calls are the same routine task and 100,000 are not.

On Claude Haiku at list price ($0.10 per million input tokens and $0.50 per million output tokens), all 1 million calls cost about $200 a month. That is 1 billion input tokens at $0.10, which is $100, plus 200 million output tokens at $0.50, which is another $100.

Now move the 900,000 routine calls to an owned model and keep the other 100,000 on Haiku. The API line falls to about $20 a month. The owned model has its own running cost, which depends on your cloud setup, so compare the total against $200, not the API line alone.

When is a hybrid setup the wrong choice?

Do not split if your volume is low. Training and serving your own model only pays off on steady, high volume.

Do not split if the task changes every few weeks. The trained model will need retraining each time, and that cost lands on your team.

Do not split if you cannot build a test set from your own data. Without one you cannot show the owned model is good enough, and you cannot show the router sends the right traffic. The llm-model-routing guide covers scoring the whole system, router and models together, and building a test set covers how to make the labeled examples.

Also check whether the task suits a trained model at all. The when to fine-tune checklist lists the signs that it does.

How well does a trained model do on one task?

Sorting requests into fixed categories is the kind of job that often makes up the high-volume side of a split. In a public test of that kind of sorting, Banking77, our fine-tuned model put 93.3% of 1,000 customer messages into the right one of 77 intents, while Claude Haiku 5.5, the smallest Claude model in the test, managed 81.2%. Those were bank customer messages, so label a sample of your own requests and score the owned model on them before you route anything to it. See the full results.

Before you decide where to split, find out which calls are the high-volume task. Run the free AI cost audit inside a repository, and it lists your AI calls, models and estimated cost. If you want help choosing the split, book a call and we will go through your call log with you.

Questions

What is hybrid AI deployment?

Hybrid AI deployment means running two kinds of model at once. A model you own handles the high-volume, repeatable task, and a frontier API handles the rare or open-ended requests. A router in front decides which side each request goes to.

How do you route LLM requests between models?

Start with a rule on task type, since that is the most predictable signal. Add input shape or a confidence score only after you have measured where the owned model fails. Log which model answered each request so you can see the split in production.

Can I use my own model and OpenAI together?

Yes. The router does not care which vendor sits behind each side, as long as both return output your application parses the same way. Check OpenAI's current pricing page before you compare costs, because those prices change.

What is an LLM router?

An LLM router is a small layer that reads each request and picks a model for it. It can be a rule table in code or a classifier. Keep it simple, because a router you cannot debug causes more trouble than the cost it saves.

Does model routing cut costs for every app?

No. It helps when one task makes up most of your calls and the rest are a long tail. If every request is different, or your volume is low, there is nothing large enough to move to your own model.