Multi-model AI without provider lock-in
Make the model a setting, not a dependency: a thin interface, evals per task and a tested fallback. Route across models only where cost or residency pays.
Make the model a setting, not a dependency: a thin interface, evals per task and a tested fallback. Route across models only where cost or residency pays.
Prompt caching reuses the processed start of a repeated prompt, so it bills at a tenth or less of the input price. How Claude, OpenAI and Gemini differ.
Test AI like software: real cases, code checks for what must hold, a calibrated LLM judge for the rest, human audits, and a release gate on every change.
A recurring report. A slow review. A prototype that needs to work in the real world.
Don't build anything you can't afford to pause or re-price on a single model provider. Treat the model as a setting rather than a load-bearing dependency: put a thin interface between your application and the provider, keep an evaluation set for each task, and keep a tested second option on the shelf.
Running more than one model in production (choosing between them by policy, through a router, for cost, resilience or where your data can be processed) is a separate step, and only worth taking once the numbers justify the extra moving parts. Here's when portability is enough, when a router earns its keep, how to test a cascade honestly, and where UK data residency actually stands across providers.
Key takeaways
At its simplest, a multi-model strategy is the decision that no single model is irreplaceable. In practice it breaks into three layers: a model interface inside your code so a request is written once and can go to any supported model; an evaluation set per task so you can prove another model clears your bar before switching; and, where it pays off, a routing policy that picks a model per request by task type, data sensitivity, latency target or provider health.
Building on one provider is completely reasonable for a prototype. For a service people depend on, it hands five decisions to someone else:
UK government guidance makes the same point from the buyer's side. The AI Playbook for the UK Government (GDS, February 2025) tells teams to plan against vendor lock-in and to keep fallback processes ready so critical services keep running if an AI system has to be pulled.
Most teams need portability first, and plenty never need more. Portability means you could move a task to another model within days: your code isn't welded to one SDK, the prompts for each task are under version control, and an eval set tells you whether the alternative holds up. It costs very little and turns a provider incident or price rise into a config change.
A router means you do run several models live at once. That earns its keep when:
Every extra live model adds another set of prompts to maintain, another row in every eval run and another provider relationship. Add them for a reason you can measure.
| Option | When to use | Trade-offs |
|---|---|---|
| Portable single model | Most early services: one model in production, a tested alternative on the shelf | A provider incident still causes an outage until you switch; switching is quick because evals and prompts exist |
| Rules-based routing | Requests can be sorted by simple facts: task type, data sensitivity, latency target | Rules drift as traffic changes; misroutes need monitoring and tests |
| Quality-driven escalation | High volume where a cheap model handles most requests and a check can spot the rest | Needs a reliable quality check, per-route evals and logging; gives up some prompt-cache reuse |
A cascade sends every request to a fast, cheap model first and escalates to a stronger one only when a check fails or the stakes are high. Research such as FrugalGPT showed big savings from this pattern on earlier models. On current models, test it against a simpler alternative before you build it.
That alternative is one strong model at a lower reasoning effort. Most providers now let you dial how much a model thinks before answering. At low effort, a current flagship model is often fast and cheap enough for routine work, and you can raise effort per task instead of switching models. Two practical reasons favour it:
A fair comparison takes a few days:
Our guide to evals covers building the test set, and how LLM cost, context and latency work explains what drives the token counts.
For many UK public sector and regulated workloads, the first routing rule is where the data can be processed. Options differ by provider, cloud platform and model, and they shift as new models arrive. Here's what we found on 11 November 2026:
| Route | What's available | What to check |
|---|---|---|
| Anthropic API (direct) | Processing location can be pinned with inference_geo: global (the default) or US only | No UK or EU processing option on the direct API |
| Claude on Amazon Bedrock | Some current Claude models run in-region in London (eu-west-2); others only through EU or global cross-region profiles | EU profiles can process in other EU regions; there's no UK-only profile. Check per model |
| OpenAI models on Azure | UK South offers regional and global deployments of some GPT models; Data Zone deployments keep processing in the US, EU or APAC | Global deployments can process anywhere; the EU Data Zone is EU member states, not the UK |
| Gemini on Google Cloud | Several current Gemini models are offered in London (europe-west2) | Claude on Google Cloud isn't offered in London; check the locations page per model |
| OpenAI API (direct) | Regional processing in Europe and other regions, subject to approval | The UK option covers data storage, not processing |
Checked against provider documentation on 11 November 2026. Region tables change often; confirm the exact model and region before you commit, and record it in your data protection impact assessment.
The practical upshot is that the model you'd pick on quality alone might not be available where your data has to stay. A router lets you send sensitive requests to an approved in-region model and everything else to the best model anywhere, with both evaluated on the same tasks.
A routing playbook
Start with one model chosen on evidence, behind a thin interface, with an eval set for each task and a second model already tested against it. That's enough for most services in their first year, and it removes most of the lock-in risk.
Add live routing when a measured reason shows up: a data residency rule your first-choice model can't meet, a high-volume task where a cheaper model clears the evals, or a service that can't sit through a provider outage. Each time, benchmark against one strong model at lower effort before adding a tier, and judge every change by cost per correct answer.
The Company Twin keeps your records, permissions and company knowledge in one governed layer underneath whichever models you run, so changing providers doesn't mean rebuilding your stack. See how the Company Twin stays model-agnostic →
Further reading