- Home
- Use cases
- AI gateway
- LiteLLM: A Self-Hosted Model Proxy for a Bank
LiteLLM: A Self-Hosted Model Proxy for a Bank
Keys, budgets and routing are designed before a self-hosted LiteLLM proxy goes live.
The challenge
What teams are up against
Typical situation, not a client: a bank's teams use hosted and private models and want one internal endpoint. Security wants no provider keys in application code and no prompts leaving approved paths.
Our approach
How we deliver it, step by step
- 01
List teams, models and data classes
Record who needs which model and what data each team sends.
- 02
Design the virtual keys
LiteLLM gives each user, team and project a virtual key with its own models, budgets and rate limits. Decide the key tree.
- 03
Design routing
LiteLLM supports load balancing, fallbacks and retries between deployments. Set the order per model.
- 04
Plan the deployment
Run it in Docker, Helm or Terraform with a Postgres database, inside your own network.
- 05
Check the tier
Single sign-on, audit logs and guardrails are listed as enterprise features. Confirm which your reviewers need.
Architecture
The components involved
From the top of the stack down
The proxy runs inside the bank's network. Apps call one internal endpoint with a virtual key, and the proxy routes each call to the approved model. Spend is recorded per key, team, user and tag.
Outcomes
What changes when it is in place
No provider keys sit in application code.
Each team has a budget and a model list.
Logs and prompts stay on infrastructure the bank controls.
Why Duczer East
Senior practitioners, from scope to delivery
We score the starting point on paper first, then change the cheapest weak spot, so the plan rests on evidence from your own estate.
About Duczer EastFAQ
Questions we are asked about this
Is LiteLLM safe to self-host at a bank?
It can be, if your team owns patching, upgrades and uptime and the controls your reviewers expect are in the tier you run. Treat it as production software with an owner.
What do virtual keys do in LiteLLM?
Each key carries its own allowed models, budgets and rate limits, and spend is tracked per key (LiteLLM docs, checked November 30, 2026).
Related use cases
More problems we solve this way
Use cases on the same platform or for the same industries. Browse all use cases.
LiteLLM: Hardening a Proxy Before Production
A checklist covers auth, secrets, logging and quotas before users arrive.
Read use casePortkey: An Audit Trail for Regulated AI Use
Log fields are mapped to the questions an auditor asks about AI use.
Read use casePortkey: Cost Controls for a Growing AI Team
A rules table sets budgets and fallbacks per app on Portkey.
Read use caseAI Governance: Choose a Platform After a Tooling Sprint
Score three trial tools against the firm's own control list, then connect the winner to the gateway log.
Read use caseAI Readiness Assessment: A Fixed-Scope Data Review in 2 to 4 Weeks
Find out whether your data is ready for AI before you build. Fixed scope, 2 to 4 weeks, and a plan sized against facts.
Read use caseAI Governance: Build an AI Use Case Inventory with Risk Tiers
One register of every AI use case, with owner, purpose, data, systems and a risk tier that drives how much validation each one gets.
Read use caseRelated insights
Further reading from our practitioners
Analysis and guides on the questions this use case raises. All insights.
On-Premises AI Gateway: Requirements, Options and a Checklist
Requirements, options, placement and a checklist for in-network AI traffic
GuideWhat Is an AI Gateway, and When Do You Need One
A guide to policy enforcement for enterprise model traffic
WSO2 API Manager Upgrade Runbook: Steps, Testing, Rollback and Cutover
Upgrade WSO2 API Manager in a fixed order: prepare and back up, build a parallel environment, upgrade the schema and configuration, test, cut over in stages, and keep a rollback you have already rehearsed.
Let's Talk
Talk through this use case
Tell us about your systems and where you are today. A senior practitioner replies, and only your email is required.


