- Home
- Use cases
- Private LLM hosting
- Text Generation Inference: Serving on Private GPUs for a Lender
Text Generation Inference: Serving on Private GPUs for a Lender
A worked example compares self-hosted cost per million tokens with a managed service.
The challenge
What teams are up against
Typical situation, not a client: a lender already deploys models from the Hugging Face stack with Text Generation Inference. Finance asks whether self-hosting beats a managed model service, and the platform team has heard TGI is in maintenance mode.
Our approach
How we deliver it, step by step
- 01
Capture the stack
Record models, versions, GPU types and the pipeline that deploys them.
- 02
Measure tokens
Measure tokens served per month and peak load over a typical week.
- 03
Work the cost example
Cost per million tokens = (GPU, hosting and staff cost per month) divided by (tokens served per month in millions). Compare with the managed price.
- 04
Check engine status
Read the current TGI documentation and decide whether to stay or move.
- 05
Plan the move
If moving, test the same models on vLLM and keep TGI until parity.
Architecture
The components involved
From the top of the stack down
TGI serves models on private GPUs with continuous batching and tensor parallelism. The target design keeps the same gateway and logs so the engine can change underneath.
Outcomes
What changes when it is in place
A cost-per-million-tokens figure with its inputs shown.
A clear stay-or-move decision on the engine.
A test plan if the engine changes.
Why Duczer East
Senior practitioners, from scope to delivery
We show the formula and leave your numbers in, so finance can rerun it.
About Duczer EastFAQ
Questions we are asked about this
Is self-hosting cheaper than a managed service?
It depends on how busy the GPUs are. Idle GPUs raise cost per token sharply, so utilization is the number to check.
Should we keep using TGI?
It works today, but Hugging Face lists it as in maintenance mode (checked November 30, 2026). Plan a move for new work.
Related use cases
More problems we solve this way
Use cases on the same platform or for the same industries. Browse all use cases.
Ollama: Moving Pilot Models to a Production Serving Layer
A graduation table: the tests a pilot must pass before it moves to production serving.
Read use casevLLM: Serving an Internal Research Assistant for a Bank
A worksheet turns model size, users and token budget into a GPU count for vLLM.
Read use caseOllama: A Governed Developer Sandbox for a Health System
A control list for laptop and workstation model use: what is logged, what is blocked.
Read use caseText Generation Inference: Safe Model Updates for a Payer
A release runbook with evaluation gates for each model update.
Read use casevLLM: One Serving Layer for Five Models at an Insurer
One serving layer, one routing table: which workload goes to which model, and why.
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 caseRelated insights
Further reading from our practitioners
Analysis and guides on the questions this use case raises. All insights.
GuideWhat Is an AI Gateway, and When Do You Need One
A guide to policy enforcement for enterprise model traffic
On-Premises AI Gateway: Requirements, Options and a Checklist
Requirements, options, placement and a checklist for in-network AI traffic
Cloudera Data Services 1.x vs 2.0: how to decide what to run
What the public documentation shows, and what to confirm before you commit
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.


