Running a language model on-premises at a bank: what it takes
On-premises means every part stays inside: the weights, the index, the tools, the record, and the backups.
Running a language model on-premises at a bank means every part of the system runs inside the bank's own environment: the model's weights and the engine that serves them, the retrieval index and its documents, the tools that reach core banking, the record of every step, and the backups of all of them. The hardware is sized for the task, and the bank's own team runs the system once it is handed over.
What the regulation says
In Türkiye the starting point is written down. The banking regulator's (BDDK) regulation on banks' information systems says in Article 25(1): “Banks must keep their primary and secondary systems in Türkiye.” (Our translation of the Turkish original.) The same article adds two points that shape a language-model design. Article 25(4) sets the principle that a bank can keep offering its banking services within the country even when its links to networks abroad are cut, apart from transactions that by their nature need a counterparty abroad, such as some payment and messaging systems. Article 25(5) says that when a bank uses an outsourced or cloud service for an activity within its primary or secondary systems, the provider's systems used for that service, and their backups, count as primary and secondary systems too, and are kept in Türkiye.
Which of a language model's tasks fall within these systems is a question for the bank's information-systems and compliance functions. This note is not legal advice. What follows is what the design has to do once they have answered it.
What it means for the design
- No call to a model service abroad. For work within scope, the model runs inside: a prompt sent to an outside service carries the case with it.
- Nothing calls home. The weights, the tokenizer, the index, the license check, and the monitoring all work with the outside links cut. A system that stops when a vendor's endpoint is unreachable does not meet the principle of Article 25(4).
- A provider's systems count too. If the bank hosts the model with an outsourced or cloud provider, the provider's systems and backups for that service are kept in Türkiye as well.
The parts that stay inside
- The model's weights and the serving engine.
- The retrieval index, the documents it was built from, and the embedding model.
- The tools and connectors to core banking and other systems, read-only by default, under the same access rules a person on that desk has.
- The agent's harness, where one is used: its tools, approval limits, and stop conditions.
- The record of every step, kept under the bank's retention and access rules.
- The graded test set and the evaluation runs.
- The backups of all of the above.
Sizing the hardware
A model needs memory for its weights and, while it answers, for the working state of every request. The authors of a widely used serving method describe that state as “huge” and say it “grows and shrinks dynamically”; memory wasted on it limits how many requests can run at once. So the number of requests at the same time and the length of each document drive the hardware as much as the size of the model does.
Two choices reduce what is needed. A smaller model trained for the bank's task often matches a large general model on that task. And quantization stores the weights in fewer bits: the GPTQ authors report 3 to 4 bits “with negligible accuracy degradation relative to the uncompressed baseline” on their benchmarks. Their benchmarks are not the bank's task, so the quantized model is tested on the bank's graded cases before it is used.
The hardware is sized from measured volume, document length, and the speed the desk needs, in the Decision Blueprint, before any order is placed. It is never assumed in either direction.
Bringing the model in
The base model's weights come from outside once, and that is a supply-chain step. OWASP lists third-party pre-trained models among the supply-chain risks of language-model applications and recommends verifiable sources, integrity checks with signing and file hashes, and an inventory of every license. The base model's license continues to apply inside the bank.
Every later update passes the same gate: the new weights are checked, rerun on the graded test set, and released only when the bank's team approves. A model on the bank's servers changes only then.
Data, weights, and the record
The bank's data stays the bank's. It trains no other system, and a model serving several clients would be trained separately for each. The weights trained for the bank belong to it under the engagement terms. The record stays inside, because inputs and outputs carry personal data.
Running it
The bank's team receives the system running: the runbook, the monitoring wired into the tools it already uses, the test set, and a tested switch that sends the work back to the previous process. Above the bank's written limits, decisions still arrive prepared for a named person to approve or reject; the model never holds credit authority.
A short checklist
- The bank's functions have said which tasks fall within primary and secondary systems.
- Every part listed above runs inside, backups included.
- The system works with the outside links cut, and that has been tested.
- The hardware was sized from measured volume and speed.
- The weights were checked on arrival, and their license is on file.
- A model update needs the bank's team's approval and a rerun of the test set.
Sources
- BDDK, Regulation on Banks' Information Systems and Electronic Banking Services, Article 25 (Official Gazette 31069, 15 March 2020) Article 25(1): banks keep their primary and secondary systems in Türkiye; 25(4) and 25(5) on working when foreign links are cut, and on outsourced and cloud providers. The Turkish text is the original.
- Kwon et al., Efficient Memory Management for Large Language Model Serving with PagedAttention (arXiv:2309.06180) Shows that the memory a serving engine keeps for each request is large and changes in size, and that wasting it limits how many requests run together.
- Frantar et al., GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers (arXiv:2210.17323) Quantizes model weights to 3 or 4 bits with negligible accuracy loss on the authors' benchmarks, so a model needs far less memory.
- OWASP Top 10 for LLM Applications 2025, LLM03: Supply Chain Names third-party pre-trained models as a supply-chain risk; recommends verifiable sources, integrity checks with signing and file hashes, and a license inventory.
Track
Small language models
Reason
Type
Playbook
Tags
- on-premises
- banking
- deployment
- playbook
Glossary
Related