Think Build Implement Repeat
London, UK +44 7367 067226
WhatsApp FOLLOW f in X
  1. Home
  2. Blog
  3. One Firm Only Allows Azure OpenAI, Another Bans It. How Do We Serve Both?
Problems We Solve

One Firm Only Allows Azure OpenAI, Another Bans It. How Do We Serve Both?

Law firms approve different AI providers and regions, and legal tech vendors must follow each one. We build per-firm model routing and region control.

Updated 3 min readBy SpiderHunts Technologies

Free estimateNo obligation

Get a free estimate

Tell us what you need. A senior engineer reads every enquiry.

Takes under a minute. We never share your details.

  • Free consultation
  • No commitment
  • NDA on request

Prefer to talk? Book a free 30-minute call →

Quick answer — TL;DR

Law firms set their own rules about which AI providers, models and regions may process their data, and a product with one hard-wired model cannot follow them. We build a model layer that routes each firm's requests to its approved providers and regions, tests features against every approved model, and fails safely when an approved option is unavailable.

Three firms, three AI policies

Your product uses one AI provider for drafting and review. The first large firm to buy it has an AI policy that allows only Azure OpenAI, running in a UK or EU region, under the firm's own tenancy if possible. The second firm allows Anthropic Claude through a specific cloud platform but not direct APIs. A third firm is still deciding and wants AI features switched off entirely until its committee meets.

Your code calls one provider directly from dozens of places. Serving all three firms means either turning them down or forking your product.

Then the first firm's IT team asks a follow-up question: when the preferred model is busy, does your product ever send their requests somewhere else? Nobody on your team is completely sure, because retry logic was added in a hurry during an outage last spring.

Why firms differ so much on AI

Firms reach their AI policies through their own risk assessments, client demands and committee decisions. Some are shaped by what their largest clients require. The policies differ and change over time.

  • Some firms approve providers through their existing cloud agreements with Microsoft, AWS or Google.
  • Some specify regions for data processing, or require no retention by the provider.
  • Some want their own provider account used, so they hold the relationship and the logs.
  • Some restrict AI to certain practice groups or document types.
  • Policies are reviewed regularly, so approval can be added or withdrawn.

What a single hard-wired model costs

Every firm whose policy does not match your provider becomes a lost deal or a long negotiation. Firms that tighten their policy mid-contract put you in a difficult position with no quick way to comply. Your engineers spend time on special cases rather than improving features. And when a provider has an outage, every firm is affected at once, with no fallback.

Firm policies also generate questions your team has to answer case by case. Which region does this feature run in? Is anything retained by the provider? Can we use our own account? Without a model layer, each answer depends on reading code, and the answer can change the next time an engineer adds a feature that calls a provider directly.

How we build per-firm model routing

What we build separates your product's AI features from the providers that run them.

  1. A model layer your features call instead of calling providers directly, with a common interface for prompts, retrieval and outputs.
  2. Provider adapters for the options your firms approve, such as Azure OpenAI, Anthropic Claude directly or through a cloud platform, and others as needed.
  3. Per-firm policy settings: approved providers and models, regions, whether the firm's own account is used, and which features or practice groups may use AI at all.
  4. Evaluation tests for each feature against every approved model, so you know how each performs before switching a firm to it.
  5. Safe behaviour when an approved model is unavailable: queue, retry or tell the user, never silently fall back to a model the firm has not approved.
  6. A record of which provider and model processed each request, per firm, for audits and firm questions.
Firm policyWhat the model layer does
Azure OpenAI in a UK or EU region onlyRoutes to that deployment, no other
Firm's own provider accountUses the firm's credentials and account
AI off until committee approvalAI features hidden for that firm
AI for certain practice groupsFeatures enabled per group
Approved provider outageQueue or clear message, no unapproved fallback

Serving all three firms

The first firm's requests go to an Azure OpenAI deployment in a UK region under their account. The second firm's go to Claude through their approved cloud platform. The third firm sees no AI features until their committee approves, and when it does, an admin switches them on for two practice groups. Evaluation results show each feature performs acceptably on all approved models, and where one model is weaker for a task, you know it before a firm does.

Is your AI setup blocking firm deals?

  • Your product calls one AI provider directly throughout the code.
  • Firms with different AI policies are turned away or kept waiting.
  • You cannot switch AI features off for one firm or one practice group.
  • A provider outage affects every firm at once.
  • You cannot show which model processed a given firm's requests.

FAQ

Frequently asked questions

The questions readers ask us after this guide.

Still have a question?

Ask us directly — a senior engineer will get back to you.

Ask about your project

Will outputs differ between models?

Yes, somewhat. Evaluation tests show how each feature performs on each approved model so you can tune prompts and set expectations.

Can firms bring their own provider account?

Yes, where the provider supports it. The firm then holds the account and its logs.

Does this add cost?

Some engineering up front. Running costs depend on the providers firms choose, and the layer lets you track them per firm.

What do you need from us?

Access to your AI feature code, the AI policies firms have sent you, and your current provider arrangements.

Keep reading

More on Problems We Solve

Start here

Tell us what is slowing your legal tech product inside law firms

Describe what your product does for law firms, which systems it has to work with and where deals or rollouts get stuck: security reviews, integrations, adoption or support. We will tell you what we would build and what we would not, and if the answer is a document or a process rather than software, we will say so.

  1. You tell us what you needTwo minutes on the form, or a message on WhatsApp.
  2. A senior engineer reviews itAnd comes back with questions, a realistic range and an honest view on fit.
  3. Free 30-minute scoping callWe talk through scope, options and a realistic estimate — with no obligation.
Free estimateNo obligation

Talk to someone who builds this

Send a short brief and we will come back with an honest view and a realistic range.

Takes under a minute. We never share your details.

  • Free consultation
  • No commitment
  • NDA on request

Prefer to talk? Book a free 30-minute call →