Most conversations about AI in finance skip the only question the security review actually cares about. Not how accurate the model is. Not what it costs per million tokens. Where does the general ledger physically go when a question is asked about it?

For a regulated bank, a government contractor, a healthcare group under HIPAA, or any European entity with a strict data-residency position, the answer has to be nowhere. That single constraint eliminates the entire hosted-API category and lands you, by elimination, on open weights running on hardware you control.

Self-Hosted Inference
Data Residency
VPC Deployment
Air-Gapped Options
Model Portability
Audit Trail
ERP Integration

Why open weights are the only answer to a data-residency constraint

A hosted API is a data-processing agreement with a third party. You can negotiate zero-retention terms, you can encrypt in transit, you can get the SOC 2 report. What you cannot do is make the tokens not leave. For most companies that is a perfectly acceptable trade. For a subset, it is a hard stop, and the pattern shows up repeatedly in security reviews: the same model that is blocked as a hosted service is approved when the weights are downloaded and served on internal infrastructure.

The weights travel, not the data: You download a file once. Every inference after that happens inside your network boundary, on your hardware, under your logging.
No per-token egress: There is no request body containing a customer name, an invoice amount, or a bank account number crossing a public network.
Deployment shapes to the policy: Fully air-gapped, private VPC, on-premise rack, or sovereign cloud region. The model does not care.
Version pinning: The model does not silently change under you. In a regulated environment, a model that gets quietly upgraded mid-quarter is an audit finding waiting to happen.
ChatFin as the reasoning layer deployed inside the customer network boundary

Which model, in practice

Llama 3 opened this door and it is still the model most on-premise finance deployments actually run. The 8B variant serves classification, extraction, and routing tasks comfortably on a single GPU. The 70B variant handles reasoning tasks that matter, at a hardware cost most mid-market finance teams can justify. Llama 4 changed the ceiling: Scout carries 109B total parameters with only 17B active per token, which makes a very large context window practical on a single high-end GPU. Maverick, at 400B total across 128 experts, needs a multi-GPU rack and is not a laptop exercise no matter what the word open implies.

Extraction and classification: An 8B model, quantized, is usually enough. Do not pay for reasoning you are not using.
Reasoning over the ledger: 70B class or Llama 4 Scout. This is where the accuracy difference is felt on a real chart of accounts.
Long-context document work: Scout's context window is the reason to move up a generation. Contracts, policy documents, and full audit files stop needing to be chunked.
The alternatives are real: Qwen, Mistral, DeepSeek, and GLM all ship serious open-weight models with permissive licences. Llama's advantage is ecosystem depth, not a monopoly on capability.

"The model is not the risk. The data path is. That is why a security team will block the API and approve the weights."

The honest operating cost

Free to download quietly becomes expensive to operate the moment you need real uptime. Published analysis of realistic minimum production self-hosting lands in the range of $125,000 to $190,000 a year once you count infrastructure, the engineer who keeps it up, and the recurring work of migrating to whatever model beats the current one six months later. That is still frequently cheaper than API spend at volume, but it is not zero, and pretending otherwise is how open-source projects get cancelled in month seven.

GPU capacity: Sized for peak concurrency, not average. Idle GPUs are the largest silent line item in a self-hosted budget.
Serving stack: vLLM or NVIDIA NIM in production. Ollama and llama.cpp are for development, not for the close.
Quantization: The difference between a 70B model that fits and one that does not. It is engineering work, and it has an accuracy cost that must be measured, not assumed.
Model refresh: A better open model will land within two quarters. Budget the migration before you need it.
ChatFin connects to NetSuite, SAP, Acumatica and more as the AI layer above your ERP

What this means for a finance stack specifically

Finance data is the hardest case for a hosted model and the easiest case for a self-hosted one. It is structured, it is bounded, and the questions asked of it are repetitive. You are not asking a model to be creative. You are asking it to reconcile, classify, extract, and explain against a chart of accounts it has seen ten thousand times. That is exactly the workload where a well-tuned open model closes most of the gap with a frontier API, and where the remaining gap matters less than the fact that the data never moved.

Keep the Ledger Where It Is. Bring the Model to It.

ChatFin is model-agnostic by design. The reasoning layer can run against self-hosted open weights inside your own network boundary, or against a hosted API where policy allows, without changing the ERP integration underneath. Talk to us about the deployment shape your security review will actually approve.

If the answer to "where does the ledger go" is "nowhere," you do not have a model problem. You have an architecture requirement, and open weights are the only architecture that satisfies it.

Book a Demo

Related Articles