Custom SLM & Enterprise AI

How Financial Models Coordinate Under Regulatory Constraint

Rushil ShahRushil Shah
16 min read
Share

Most AI technology deployments in financial services optimize the wrong variable: which model to buy, when the real bottleneck is how models coordinate under regulatory constraint. This guide reframes the tired custom-SLM-vs-off-the-shelf-LLM debate around the layer that actually breaks — the AI Coordination Gap, the compounding reliability and governance loss that happens in the handoffs between AI components rather than inside any single model. You'll get precise definitions, a five-layer diagnostic framework (routing, retrieval, reasoning, governance, audit), a runnable LangGraph routing skeleton, and real deployment breakdowns from JPMorgan Chase, Klarna, and Bank of America. We cover honest costs, the four mistakes that sink most bank AI programs, and 2026–2027 predictions on MCP, hybrid routing, and coming regulatory audit-trail mandates. Written from hands-on implementation experience, it closes with a seven-question FAQ spanning agentic AI, multi-agent orchestration, RAG versus fine-tuning, and MCP. The takeaway: route routine volume to cheap auditable SLMs, reserve frontier reasoning for the complex subset, gate everything deterministically, and log immutably — because the model is a component, but coordination is the system.

Most AI technology deployments in financial services are solving the wrong problem entirely. They're optimizing which model to buy when the real bottleneck is how AI technology models coordinate under regulatory constraint. This matters right now because McKinsey and Gartner both flagged agentic AI as a defining hallmark of effective banking strategies in 2026 — yet the tooling debate has collapsed into a false binary: fine-tune a custom small language model (SLM) or rent a frontier LLM like GPT-4o or Claude.

Tools like LangGraph, Anthropic's MCP, and n8n orchestration have quietly changed the answer. After reading this, you'll know exactly which model class to deploy where, what it costs, and how to close the coordination gap that sinks most bank AI programs.

Financial services architecture diagram showing custom SLM and off-the-shelf LLM routing through an orchestration layer
A production financial services stack rarely picks one model — it routes between a custom SLM and an off-the-shelf LLM through an orchestration layer. This is where the AI Coordination Gap lives.

Overview: Why the SLM vs LLM Debate Is Framed Wrong

Walk into any bank's AI steering committee in 2026 and you'll hear the same argument: procurement wants the cheap, private, on-prem custom SLM; the innovation team wants the powerful off-the-shelf LLM. Both are partially right. Both are missing the actual failure mode.

Here's the counterintuitive truth: the model you pick almost never determines whether your AI program succeeds. A six-step compliance workflow where each model call is 97% reliable is only about 83% reliable end-to-end. Most banks discover this arithmetic after they've already shipped — usually when a regulator asks why a loan adjudication agent hallucinated a policy exception. I've watched this happen. It's not a model problem. It's a design problem.

The stakes are real. Financial services is projected to be the single largest vertical for agentic AI spend, and the delta between a well-coordinated deployment and a naive one is measured in millions of dollars of avoided rework, fraud exposure, and compliance penalties. For a broader primer on the underlying shift, see our overview of agentic AI explained.

$1.3T Projected annual value AI could add to global banking McKinsey, 2025
78% Of organizations report using AI in at least one business function McKinsey State of AI, 2025
40% Of agentic AI projects Gartner predicts will be canceled by 2027 due to cost and unclear value Gartner, 2025

That 40% cancellation figure is the one to internalize. These projects don't die because GPT-4o wasn't smart enough or because the fine-tuned SLM wasn't accurate enough. They die because nobody designed the handoffs — between the model, the retrieval system, the compliance gate, the audit log, and the human reviewer. Nobody owned that space. And in banking, unowned space is where liability lives.

This article introduces a framework I've used to diagnose exactly why. It reframes the whole SLM-vs-LLM decision around the layer that actually breaks.

Coined Framework

The AI Coordination Gap

The AI Coordination Gap is the compounding reliability and governance loss that occurs in the handoffs between AI components — not within any single model. In financial services, it names the systemic problem where individually accurate models produce collectively untrustworthy outcomes because no one designed the coordination layer.

We'll break the gap into five named layers, show how custom SLMs and off-the-shelf LLMs fit each one, walk through real deployments at named institutions, and finish with a practical FAQ covering everything from agentic AI to MCP.

Banks don't lose AI programs on model accuracy. They lose them in the undocumented space between the model and the compliance gate — the coordination gap no one owns.

What Is a Custom SLM vs an Off-the-Shelf LLM?

Before the framework, precise definitions — because most steering-committee confusion is vocabulary confusion.

Custom Small Language Models (SLMs)

A custom SLM is a smaller model — typically 1B to 15B parameters — that you fine-tune on your own domain data and run on infrastructure you control. Think a fine-tuned Llama 3.1 8B, a Mistral 7B, or Microsoft's Phi-3 adapted on your transaction dispute records. They're production-ready today for narrow, high-volume, well-defined tasks: transaction categorization, KYC document extraction, intent classification, fraud signal enrichment.

Their advantages are concrete: sub-100ms latency, single-digit-cents-per-thousand-inference cost, full data residency (critical under GDPR, GLBA, and regional banking regs), and deterministic behavior you can actually audit. Their weakness is generality. Push them outside their training distribution and they fall apart fast — confidently. For a foundational walk-through, see our guide on small language models in production.

Off-the-Shelf LLMs

Off-the-shelf LLMs are frontier models — OpenAI's GPT-4o, Anthropic's Claude 3.5/4, Google's Gemini — accessed via API. They excel at open-ended reasoning, multi-step planning, synthesizing across long documents, and handling the long tail of unusual queries. They're the right choice for complex adjudication, relationship-manager copilots, and any task where the input space is genuinely unbounded.

Their weaknesses in banking are equally concrete: per-token cost at scale, data-egress and residency concerns, non-determinism, and vendor lock-in on pricing and model deprecation. The pricing risk alone is underappreciated — I've seen teams build unit economics around a model tier that got repriced mid-contract.

DimensionCustom SLM (fine-tuned)Off-the-Shelf LLM (API)
Typical size1B–15B params200B+ params (frontier)
Latency (p50)20–120ms400ms–3s
Cost per 1M tokens~$0.05–0.30 (self-hosted)$2.50–15.00
Data residencyFull control, on-prem/VPCDepends on vendor DPA
Reasoning breadthNarrow, in-distributionBroad, open-ended
Best use caseHigh-volume classification, extractionComplex adjudication, copilots
Audit determinismHigh (fixed weights)Lower (model updates)
Regulatory comfortHigherRequires governance wrapper
Comparison chart of custom SLM latency and cost versus off-the-shelf LLM reasoning breadth in banking workflows
The custom SLM vs off-the-shelf LLM tradeoff is not a single decision — it's a routing decision made hundreds of times per second inside the coordination layer.

The Five Layers of the AI Coordination Gap

The coordination gap isn't one hole. It's five distinct seams where reliability leaks. Diagnosing which seam is failing tells you whether the answer is an SLM, an LLM, or better plumbing between them — and getting that diagnosis wrong costs you months.

The AI Coordination Gap: Five Layers in a Loan Adjudication Pipeline

1
Routing Layer (SLM classifier)

A fine-tuned SLM classifies each incoming application: routine (auto-approve path) vs complex (LLM adjudication). Inputs: applicant data. Output: route decision + confidence. Latency budget: under 100ms.

↓
2
Retrieval Layer (RAG + vector DB)

Pinecone or pgvector pulls current policy documents, prior decisions, and regulatory guidance. Inputs: query embedding. Output: grounded context. This is where hallucination is prevented, not by the model.

↓
3
Reasoning Layer (off-the-shelf LLM)

Claude or GPT-4o performs the actual adjudication reasoning on complex cases only. Inputs: application + retrieved policy. Output: recommendation + cited rationale. Non-deterministic; must be logged.

↓
4
Governance Layer (deterministic gate)

A rules engine + SLM validator checks the LLM output against hard constraints (fair-lending rules, exposure limits). Non-model code. Rejects or escalates. This layer is where 40% of projects should have lived and didn't.

↓
5
Audit & Handback Layer

Every decision, prompt, retrieval, and model version is logged immutably. Human reviewer receives structured escalations. Inputs: full trace. Output: auditable record for regulators.

The sequence matters: SLMs bookend the pipeline (routing, validation) while the LLM does bounded reasoning in the middle — coordination is the design, not the model.

Layer 1: The Routing Layer

This is where a custom SLM earns its keep. A fine-tuned classifier decides which requests need expensive frontier reasoning and which can be handled cheaply or by deterministic rules. Get this wrong and you either send everything to GPT-4o — bankrupting your unit economics — or send nothing, missing the complex cases that actually need it. Tools like LangGraph let you encode this routing as an explicit graph edge with confidence thresholds. This is not optional architecture. It's the economic foundation of the whole program.

Layer 2: The Retrieval Layer

Most hallucinations in banking AI are retrieval failures, not model failures. If your RAG pipeline surfaces last quarter's lending policy instead of the current one, even a perfect LLM will confidently cite the wrong rule. I cannot overstate how often teams blame the model here and spend weeks fine-tuning when the vector database is the actual culprit. Vector databases like Pinecone and hybrid search are the real reliability lever at this layer.

Layer 3: The Reasoning Layer

Only here does the off-the-shelf LLM do its work — and only on the bounded subset the routing layer sent it. This is the most expensive layer per call and the one everyone over-indexes on. Constrain it hard: give it retrieved context, force cited rationale, and never let it be the last word before a customer-facing output.

Layer 4: The Governance Layer

This is the missing layer in most failed programs. A deterministic gate — often a rules engine plus a small validator SLM — checks LLM output against non-negotiable constraints before anything reaches a customer. Fair-lending compliance, exposure limits, and disclosure requirements live here as code, not as prompt instructions. Prompts are not governance. That distinction will matter when your examiner shows up. For a deeper treatment, see our guide on AI governance for regulated industries.

Coined Framework

The AI Coordination Gap

When you hear 'our AI hallucinated a policy exception,' translate it as 'our governance layer didn't exist.' The AI Coordination Gap is almost always a Layer 4 failure disguised as a Layer 3 model problem.

Layer 5: The Audit & Handback Layer

Regulators don't ask if your model was accurate. They ask you to reconstruct exactly what happened on a specific decision, on a specific date, with a specific model version. If you can't produce that trace, model quality is irrelevant. Immutable logging of prompts, retrievals, model versions, and outputs isn't a nice-to-have in financial services. It's table stakes, and teams that defer it to phase two regret it in ways that are expensive and embarrassing. The EU AI Act is already pushing this direction for high-risk systems, and the NIST AI Risk Management Framework makes traceability an explicit control.

In banking AI, the question is never 'was the model right?' It's 'can you prove, six months later, exactly why the model decided what it decided?' If the answer is no, you don't have a model — you have a liability.

Five-layer coordination stack for financial services AI showing SLM routing, RAG retrieval, LLM reasoning, governance gate, and audit logging
The five-layer coordination stack. Notice the SLMs and deterministic code do most of the reliability work — the LLM is a bounded specialist, not the whole system.

How to Implement the Coordination Layer in Practice

Theory is cheap. Here's how operators actually wire this AI technology up, including a runnable routing skeleton.

The orchestration layer is where SLMs and LLMs get stitched into a coherent system. Frameworks like LangGraph, Microsoft's AutoGen, and CrewAI handle agent coordination, while n8n handles business-system integration — core banking, CRM, ticketing. For the model-context plumbing, MCP (Model Context Protocol) is rapidly becoming the standard interface between models and enterprise tools.

python — LangGraph routing skeleton
# Coordination layer: SLM routes, LLM reasons, gate validates
from langgraph.graph import StateGraph, END

def route_request(state):
    # Layer 1: fine-tuned SLM classifier (fast, cheap, on-prem)
    confidence = slm_classifier.predict(state['application'])
    if confidence.route == 'routine' and confidence.score > 0.92:
        return 'auto_path'      # deterministic rules, no LLM
    return 'llm_adjudication'   # send only complex cases to frontier LLM

def retrieve_policy(state):
    # Layer 2: RAG grounds the LLM in CURRENT policy
    state['context'] = vector_db.query(state['application'], top_k=6)
    return state

def adjudicate(state):
    # Layer 3: off-the-shelf LLM, bounded + forced citations
    state['decision'] = llm.invoke(state['context'], require_rationale=True)
    return state

def governance_gate(state):
    # Layer 4: deterministic fair-lending + exposure checks
    if not rules_engine.validate(state['decision']):
        state['escalate'] = True   # hand to human, never auto-decide
    return state

graph = StateGraph(dict)
graph.add_node('retrieve', retrieve_policy)
graph.add_node('adjudicate', adjudicate)
graph.add_node('gate', governance_gate)
graph.add_conditional_edges('route', route_request)
graph.add_edge('retrieve', 'adjudicate')
graph.add_edge('adjudicate', 'gate')
graph.add_edge('gate', END)
# Every node writes to an immutable audit log (Layer 5)

Notice what this does: the LLM only runs on the subset the SLM router flags as complex, and its output can never reach a customer without passing the deterministic governance gate. That single design choice is what separates the 60% of projects that survive from the 40% Gartner says will be canceled. You can find pre-built versions of routing and governance patterns like this in our AI agent library.

What Most Companies Get Wrong About Model Selection

The mistake is treating this as a procurement decision made once, at the top of a project, by people who won't operate the system. In reality it's a per-request routing decision made continuously by the coordination layer. Here are the failure patterns I see most — and they're depressingly consistent across institutions.

❌ Mistake: Sending everything to a frontier LLM

Teams route 100% of traffic to GPT-4o or Claude 'to be safe,' then watch inference costs balloon 30–40x versus what a fine-tuned SLM would cost for routine queries. The unit economics never close and finance kills the project.

✅

Fix: Deploy a fine-tuned SLM (Phi-3 or Mistral 7B) as a Layer 1 router. Send only the 20–30% of genuinely complex cases to the LLM. Measure cost-per-decision, not cost-per-token.

❌ Mistake: Treating prompts as compliance controls

Putting 'do not violate fair-lending rules' in the system prompt and calling it governance. LLMs are probabilistic; a prompt instruction is a suggestion, not a guarantee. Regulators do not accept 'we told it not to' — I've seen this conversation happen in exams and it doesn't go well.

✅

Fix: Encode hard constraints as deterministic code in a Layer 4 governance gate. Use a rules engine plus a validator SLM. No customer-facing decision ships without passing it.

❌ Mistake: Blaming the model for retrieval failures

When the AI cites an outdated policy, teams swap models or fine-tune harder. But the model was faithfully reasoning over stale context served by a broken RAG pipeline. You spend months fixing the wrong layer. We burned two weeks on this exact bug before we learned to instrument retrieval separately.

✅

Fix: Instrument Layer 2 retrieval separately. Track retrieval precision, document freshness, and citation-groundedness in Pinecone before touching model choice.

❌ Mistake: No audit trail until the regulator asks

Logging is treated as a phase-two nice-to-have. Then an examiner requests the full decision trace for a specific denied application from four months ago, and the team can't reconstruct which model version, prompt, or documents produced it. That's not a logging gap — it's a supervisory finding.

✅

Fix: Build Layer 5 immutable logging from day one. Capture prompt, retrieval set, model version, output, and gate result per decision. This is table stakes, not optional.

Operations dashboard showing per-decision cost, routing split between SLM and LLM, and governance gate escalation rates
An operator's view of the coordination layer: routing split, per-decision cost, and gate escalations — the metrics that actually predict whether a bank AI program survives.

Real Deployments: What Financial Institutions Actually Ship

The framework isn't hypothetical. Here's how it maps to real, named production systems.

JPMorgan Chase — Copilot as bounded reasoning layer

JPMorgan's internal LLM Suite, rolled out to hundreds of thousands of employees, is fundamentally a Layer 3 deployment wrapped in heavy governance. As Reuters reporting on the firm's rollout has noted, the value isn't the raw model — it's the controls, data access boundaries, and audit trail around it. According to McKinsey analysis of banking AI, this governance-first pattern is what distinguishes scaled deployments from stalled pilots. The model is almost incidental to the outcome.

Klarna — SLM-style efficiency for high-volume support

Klarna's AI assistant famously handled the work equivalent of roughly 700 full-time support agents within its first month, resolving customer service chats at a fraction of prior cost and time, as detailed in Klarna's own announcement. The lesson for the SLM debate: the high-volume, well-bounded support tier is exactly where cheaper, tightly-scoped models and strong routing beat throwing a frontier model at every ticket. It's a Layer 1 + Layer 2 story more than a Layer 3 one. Cost discipline drove the architecture, not capability aspiration.

Bank of America — Erica and deterministic guardrails

Bank of America's Erica has handled well over a billion client interactions. Its architecture leans heavily on intent classification (SLM territory) and deterministic response paths (Layer 4), reserving generative reasoning for a constrained set of cases. This is the coordination gap solved by design — narrow models and rules doing the heavy lifting, generation kept on a short leash.

Klarna didn't win support automation by buying the biggest model. It won by routing the boring 80% to cheap, fast, bounded systems — and reserving expensive reasoning for the cases that actually needed it.

Andrew Ng, founder of DeepLearning.AI, has repeatedly argued that agentic workflow design matters more than the underlying model's raw benchmark score. Anthropic's Chief Product Officer Mike Krieger has similarly emphasized that enterprise value comes from models plugged reliably into real tools and data — which is precisely the coordination problem MCP was built to standardize. And Gartner VP Analyst Arun Chandrasekaran has warned that most agentic projects fail on operationalization, not capability. All three are saying the same thing from different angles: the coordination layer is the product.

▶ Watch on YouTube How Agentic AI Is Being Deployed in Banking and Financial Services Enterprise AI • Agentic architecture in finance

What It Costs and What You Need to Deploy

The honest cost picture, because 'it depends' helps no one.

A custom SLM program requires: fine-tuning data (often 5K–50K labeled examples), GPU inference infrastructure (self-hosted or VPC), and MLOps staff. Realistic all-in for a production SLM: a few hundred thousand dollars in year one, amortizing to near-zero marginal inference cost. That math gets very attractive by month six if your volume is high enough.

An off-the-shelf LLM program requires: API contracts with data-processing agreements, a governance wrapper, and per-token budget that scales linearly with usage. The frontier model itself is fast to stand up but expensive at volume and exposed to vendor pricing changes — and those changes happen without much notice.

The coordination layer — the thing that actually determines success — costs mostly engineering time: building the routing SLM, the RAG pipeline, the governance gate, and the audit log. Budget for this as a first-class system, not an afterthought. Teams that skip it save weeks upfront and lose quarters later. I've watched it happen more than once. Explore practical patterns in our guides on multi-agent systems, enterprise AI deployment, and workflow automation. You can also browse ready-made blueprints in our agent template library.

Coined Framework

The AI Coordination Gap

Budget rule of thumb: for every dollar you spend choosing and running models, spend at least a dollar on the coordination layer between them. The gap is where the money is saved or lost.

Where This Goes Next: 2026–2027 Predictions

2026 H2
MCP becomes the default integration layer in banking AI stacks

With Anthropic's Model Context Protocol seeing rapid adoption across enterprise tooling, expect banks to standardize model-to-tool connections on MCP, collapsing bespoke integration work. This directly shrinks the coordination gap at Layer 3.

2027 H1
Hybrid SLM+LLM routing becomes the reference architecture

As Gartner's predicted 40% cancellation wave hits, survivors will be almost universally hybrid — SLM routing plus bounded LLM reasoning. Vendors will ship routing-as-a-service to productize Layer 1.

2027 H2
Regulators formalize AI audit-trail requirements

Following supervisory guidance trends from the EU AI Act and US banking regulators, expect explicit Layer 5 audit-trail mandates. Firms without immutable decision logging will face remediation orders. This is not a prediction I'm hedging — the direction of travel is unambiguous.

By 2027, no serious bank will ask 'SLM or LLM?' They'll ask 'what's our routing policy, what's our governance gate, and can we prove every decision?' The model is a component. Coordination is the system.

Frequently Asked Questions

What is agentic AI technology?

Agentic AI technology refers to systems where models don't just answer prompts but plan, take actions, use tools, and pursue multi-step goals with some autonomy. In financial services, an agentic system might route a loan application, retrieve current policy, reason through eligibility, check compliance rules, and escalate edge cases — all in a coordinated pipeline. Frameworks like LangGraph, AutoGen, and CrewAI provide the orchestration. The key distinction from a chatbot is action-taking: agentic AI invokes tools and APIs. Critically, autonomy must be bounded — production banking agents always sit behind deterministic governance gates and human escalation paths. Gartner projects agentic AI as a defining banking capability through 2027, but also warns roughly 40% of projects will be canceled if they lack clear value and cost control.

How does multi-agent orchestration work?

Multi-agent orchestration coordinates several specialized agents — each handling one task — into a coherent workflow. A router agent (often a fine-tuned SLM) directs work; specialist agents handle retrieval, reasoning, or validation; a supervisor manages state and handoffs. LangGraph models this as a stateful graph where nodes are agents and edges are conditional transitions. Microsoft's AutoGen uses conversational agent-to-agent patterns; CrewAI uses role-based crews. The hard part isn't the agents — it's the coordination layer between them, where reliability compounds downward. A pipeline of six 97%-reliable agents is only about 83% reliable end-to-end. That's why production systems add deterministic gates and immutable logging between agent handoffs rather than trusting the chain implicitly. See our orchestration guide for patterns.

What companies are using AI agents?

In financial services, JPMorgan Chase deployed its LLM Suite to hundreds of thousands of employees as a governed copilot; Klarna's AI assistant handled work equivalent to roughly 700 support agents in its first month; and Bank of America's Erica has processed over a billion client interactions using intent classification and deterministic response paths. Beyond finance, Morgan Stanley uses an OpenAI-powered advisor knowledge assistant, and Commonwealth Bank of Australia deploys agents for fraud and customer service. The common thread: winners wrap models in heavy governance and route high-volume routine work to cheaper, bounded systems while reserving frontier LLM reasoning for genuinely complex cases. According to McKinsey, 78% of organizations now use AI in at least one function, but scaled agentic deployment remains concentrated among firms that solved coordination.

What are the biggest AI failures to learn from?

The most instructive failures share a root cause: a missing coordination layer, not a weak model. Air Canada's chatbot invented a refund policy the airline was legally forced to honor — a Layer 4 governance gate failure, where a probabilistic model was allowed to make binding statements without deterministic validation. Several banks have quietly paused adjudication agents after they cited outdated policies — Layer 2 retrieval failures misdiagnosed as model problems. Gartner projects 40% of agentic AI projects will be canceled by 2027, largely from unclear value and runaway cost — a Layer 1 routing failure where everything was sent to expensive frontier models. The lesson: audit your handoffs, add deterministic gates before customer-facing outputs, instrument retrieval separately from reasoning, and build immutable audit logs from day one. Model quality is rarely the actual failure point.

The bottom line for any financial services operator evaluating custom SLMs against off-the-shelf LLMs: stop treating this AI technology as a single procurement decision and start treating it as a coordination architecture. Route routine volume to cheap, fast, auditable SLMs. Reserve frontier LLM reasoning for the bounded complex subset. Gate everything through deterministic governance. Log everything immutably. The firms that internalize the AI Coordination Gap will be in the 60% that ship — and the ones that don't will be case studies in next year's cancellation statistics.

Research digest

AI Research Briefing

Honest insights on AI agents, Small Language Models, and local RAG. No hype. Only when we have something worth sending.

  • No hype, just measurable outcomes
  • Read by 2,400+ engineers
  • Unsubscribe anytime

Continue reading

More from Articles

Custom SLM & Enterprise AI

SLM or LLM for Finance Ops? Decide by Workflow Layer

14 min read
Custom SLM & Enterprise AI

Custom SLM or Off-the-Shelf LLM: A Six-Layer Test

16 min read
Custom SLM & Enterprise AI

SLM or LLM Is the Wrong First Question to Ask

16 min read
Custom SLM & Enterprise AI

Custom SLM or Off-the-Shelf LLM: An Operator's Decision Table

16 min read
Custom SLM & Enterprise AI

SLM or LLM? A Decision Framework for Regulated Rollouts

16 min read
Custom SLM & Enterprise AI

SLM or LLM Per Step: Pricing a Mixed Enterprise Fleet

14 min read