Back to Devoured - April 27, 2026
DEVOURED
Revolut Built a Foundation Model for Money

Revolut Built a Foundation Model for Money

Crypto fintechbrainfood.com
Revolut's custom foundation model for banking events achieved 130% improvement in credit scoring and 65% in fraud detection, signaling a new competitive battleground for financial services.
What: PRAGMA is a transformer-based foundation model trained on 24 billion banking events from 26 million Revolut customers, designed to predict credit risk, fraud, and customer behavior. Unlike ChatGPT, it preserves the structured nature of financial event data rather than using text tokenization, and replaces six separate production ML models with a single architecture.
Why it matters: This represents a fundamental shift in how banks build competitive advantage—traditional hand-crafted ML features are being replaced by models that discover patterns across all customer events simultaneously. Even conservative estimates suggest applying 10% of Revolut's stated gains to a bank like JPMorgan could save hundreds of millions annually, with compounding improvements over time as the model evolves.
Takeaway: Banks face three options: build their own foundation models with proprietary data, collaborate with industry partners to pool datasets, or buy models from vendors—but the window to establish this competitive moat is closing as digital-first banks enter an arms race.
Deep dive
  • Revolut replaced six separate production ML models with one foundation model, achieving 130% uplift in credit scoring precision-recall and 65% improvement in fraud detection recall compared to existing systems
  • The model was trained on 207 billion tokens derived from 24 billion customer events (logins, transactions, screen taps) across 26 million customers in 111 countries, using 32 NVIDIA H100 GPUs over approximately two weeks
  • Unlike large language models, PRAGMA preserves the structured nature of banking event data rather than fragmenting it through text tokenization, making it specifically suited for financial prediction tasks
  • The model currently operates in predictive mode (similar to BERT in 2020) but the roadmap includes generative capabilities that could simulate customer futures and work backwards to identify triggers for desired behaviors
  • PRAGMA failed at anti-money laundering tasks (47% worse than production systems) because AML requires network analysis of transaction chains, while the model currently analyzes individual customer histories in isolation
  • Nubank, Mastercard, and PayPal have all published similar work in the past year, with PayPal achieving 49% faster and 45% cheaper inference by fine-tuning Llama in just two weeks
  • Three competitive layers emerge beyond the model itself: talent consolidation, proprietary data assets, and agentic workflows that orchestrate the model within broader product systems
  • NVIDIA's enterprise pitch focuses on inference costs rather than training costs, since banks run predictions billions of times daily on transactions, applications, and sessions—making model efficiency the key economic factor
  • The availability of open-weight base models (Qwen, Kimi, GLM) and rentable GPU infrastructure means foundation models for finance have shifted from a research problem to an execution problem
  • Credit scoring improvements translate directly to revenue through better loan pricing and expanded lending to previously marginal customers, while fraud improvements both save costs and increase revenue from approved legitimate transactions
  • Mid-sized banks likely need collaborative approaches or vendor solutions rather than custom models, while digital-first banks are entering an arms race to build proprietary foundation models as core IP
  • The fundamental moat of banking (regulation, lending, balance sheet) remains intact, but the winners within that moat will be determined by who upgrades their risk-pricing and fraud-detection IP first
Decoder
  • Foundation model: A machine learning model trained on massive datasets that can be adapted for multiple downstream tasks, as opposed to building separate models for each specific use case
  • PR-AUC: Precision-Recall Area Under Curve, a metric measuring how well a model catches rare but important events (like defaults or fraud) without generating excessive false positives
  • Fraud recall: The percentage of actual fraud events successfully detected out of all fraud that occurred—higher recall means catching more real fraud
  • Transformer architecture: The neural network design behind models like GPT and BERT, using attention mechanisms to process sequences of data (originally text, here banking events)
  • Embeddings: Dense numerical representations that capture the meaning or characteristics of data (users, transactions, events) in a way that similar things are mathematically close together
  • Fine-tuning: Taking a pre-trained model and training it further on a specific dataset or task, typically much faster and cheaper than training from scratch
  • LoRA: Low-Rank Adaptation, a technique for efficiently fine-tuning large models by updating only a small subset of parameters
  • Inference: The process of running a trained model to make predictions on new data, as opposed to training which builds the model initially
  • Open-weight models: AI models whose parameters are publicly released, allowing organizations to run or modify them locally rather than accessing them only through APIs
  • Agentic workflow: A system where multiple AI agents handle different specialized tasks (reasoning, fraud detection, checkout) and coordinate to accomplish complex goals
Original article

🤖 Revolut Built a Foundation Model for Money

Plus; $16bn withdrawn from Aave in a "run on DeFi" after KelpDAO hack, and Plaid's annual letter.

Weekly Rant 📣

🤖 Revolut Built a Foundation Model for Money

(And why it's worth billions to whichever bank builds the next one.)

Something big happened in financial services in the last twelve months and almost nobody clocked it. Companies started training their own foundation models for finance:

  • Revolut published PRAGMA — a foundation model trained on 24 billion banking events across 111 countries. Credit scoring up 130%. Fraud recall up 65%.
  • Nubank published nuFormer — a foundation model trained on 100+ billion transactions across 100M+ customers. It's narrower than PRAGMA by use case, but more GPT-like as a model.
  • Mastercard launched LTM — a foundation model trained on billions of card transactions to identify cyber risk.

And some others started fine-tuning existing models.

  • NPCI (India's UPI operator) — fine-tuned Mistral 24B, for UPI Help, a conversational agent for 400M+ UPI users.
  • PayPal published Nemo-4-PayPal — fine-tuned llama3.1-nemotron-nano-8B-v1. Their shopping assistant got 49% faster and 45% cheaper to run. Two weeks of fine-tuning.

Foundation models for finance are here.

The most important signal in Revolut's PRAGMA work with NVIDIA is the significant improvement (uplift) their model delivered vs their existing custom ML models, across multiple use cases.

It's now the case that the two most credible, fastest-growing Neobanks in the western hemisphere, Revolut and Nubank, are betting that transformer architectures will drive their growth.

Clearly, a custom finance foundation model will be a massive competitive advantage in the coming decade.

The IP of banking was always how they priced and managed risks, the squishy lending decisions, the fraud stuff, and the optimization of every interaction. If transformers deliver benefits in production on the scale Revolut is suggesting, they're a game changer.

I've been asking for years — where are the foundation models for finance? Healthcare was doing this with DNA sequences. Ad-tech was doing it with clickstreams. Finance, the most data-rich industry on earth, was still stuck training bespoke ML models on hand-crafted features. PRAGMA is the first real answer that cuts across multiple use cases.

What is a Foundation Model for Money?

Revolut took their massive data set and looked at customer events (logins, screen taps, payments) over time.

  • 26 million customers
  • 24 billion customer events
  • 207 billion tokens created

This is NOT a large language model. It's not generating text or images. It's not competing with Claude or ChatGPT. Customer event data has a structure that text tokenization destroys. Numbers and scale become fragmented.

To prove the model worked, Revolut ran three experiments. Pavel walked me through them.

  • Experiment 1: Use the pre-trained "embeddings" on an old model. Answers one question: how much information is already in the pre-trained embedding, before you've even told it what task you're solving?
  • Experiment 2: Use pre-trained embeddings alongside the hand-crafted ML features the data science team had spent years building. This answers: what new information does the foundation model capture that the old features missed?
  • Experiment 3: Fine-tune the foundation model on finance outcomes using LoRA. This answers can we beat the entire data science team by taking a pre-trained model and pressing a button?

can we beat the entire data science team by taking a pre-trained [foundation] model and pressing a button?

Pavel Nesterov

In most cases, the answer is yes.

The PRAGMA model took six production tasks, and replaced six separate custom machine learning (ML) models with one.

Revolut's Paper Shows STAGGERING Potential

The paper is the first time I've seen published evidence on the effectiveness of a foundation model for banking's most important competitive levers. Revolut published the uplift this model produced vs their existing ML models:

  • Credit scoring: +130% PR-AUC uplift vs ML models (how well it catches rare cases that matter)
  • Fraud recall: +65% uplift vs ML models (how much true fraud is caught above old ML model)
  • Marketing engagement: +79% & product recommendation: +40% uplift vs ML models
Revolut's final uplift of the PRAGMA vs production Deep Learning models

Revolut's final uplift of the PRAGMA vs production Deep Learning models

Each of these is a competitive lever:

1. Credit risk pricing is the competitive lever for banks

Credit scoring lets banks price and issue loans. Loans are the profit center of banks. Lending is a product that never has a demand problem. People will always take the money, the harder question is will they pay back, and if they do, what can I should them as a % so that they're likely to take the loan from me, not someone else who's cheaper. Today, that involves looking at their data compared to other customers' data over time.

→ A model that can find more customers who are likely to pay back, can price more aggressively, and the bank sells more loans, which means more revenue.

(Assuming regulators don't tie themselves in knots over "explainability," this is the area of opportunity. FWIW, I think we need a shared responsibility framework for AI, as we have for cloud, and we'll be building V1 at Fintech Nerdcon this year.)

2. Fraud recall is a competitive lever for anyone in payments.

Fraud recall detects the % of true fraud events detected out of all of the fraud events that occurred. If you're detecting more of the actual fraud, you're also not falsely blocking good payments. Banks and fintech companies make money from card transactions (interchange), but are often liable for refunding fraud. So

→ A model that catches more real fraud saves cost, and allowing more good transactions through generates revenue.

3. Marketing is how banks get new customers or cross-sell product.

The "attach rate" of customers is a really important metric that Neobanks like Revolut and Nubank have been excellent at. Whereas a large bank will have more than 60% of its customer base just using a single product. That's a lost opportunity for revenue.

→ If customers are engaging more with marketing, their propensity to take the product being recommended increases. If they do take that product, the bank gets more revenue. Yay.

Notably, it had a seventh area where it did not succeed.

PRAGMA performed 47% worse than Revolut's production system on anti-money laundering. This was not a surprise. Pavel told me the team expected to fail. AML is a network problem — what matters is who you transact with, not what you do. PRAGMA reads each user's history in isolation. It can't see the chain. They published the failure because it's a finding, and because they already know what to build next.

(Although I imagine if you trained a model on that network transaction data instead of individual customer events, it would be net far more effective. The issue was the training data set, not the model type.)

Building a customer model created six areas of competitive advantage. For a bank that already has 70M customers and is one of the fastest growing in the world.

For Revolut, this kind of research compounds their advantage in tech.

The Prize is More Revenue and Lower Costs

Not a shocking business case. The magnitude, however, is.

Napkin math o'clock.

Credit (Based on JPMorgan Chase earnings data). JPM has credit costs of over $10 billion a year, dominated by Card Services. Net charge-offs ~$2 billion per quarter in consumer, running $8bn+ annualised. Revolut's credit scoring improvement was +130% PR-AUC. That's not an 130% reduction in losses — nothing works like that in production. But even at 10% of the stated gain applied to JPM's card book?

That's hundreds of millions of dollars a year. Every year. Compounding as the model improves.

Fraud losses can be millions per quarter. For every $1 lost in fraud, another $5.75 lost in operational costs. So that balloons to tens of millions. Revolut's fraud recall went up 65% — meaning they caught roughly 1.65x as much fraud as their prior production system.

A large card issuer catching even a fraction more fraud pays for the GPU bill a thousand times over.

Foundation models do all the things a consulting strategy deck will tell you to do.

So you can skip that part and go straight to figuring out execution.

But why can't every bank do this?

What Revolut built is 2020-era LLM. What comes next is wild.

Today PRAGMA predicts. That's it. Given a customer's history, it predicts who's a credit risk, who's committing fraud, and who's about to churn and a customers's lifetime value. Which is useful by all means but boring compared to what's coming.

Pavel gave me the analogy of where LLMs were in 2020. Back then BERT could read a sentence and fill in the missing word. Useful for search, classification, and ranking. But it wasn't until GPT came along and could generate the next sentence that things really began to change.

PRAGMA today is like BERT was in 2020. It reads a customer's history and fills in the gaps.

A generative version would write the next chapter. If you can generate a customer's future events, you can simulate when they'll buy a new product. And then rewind the tape to see the things that led to that decision, and try to make those things happen.

Low-key Minority Report, for banking.

That doesn't exist yet, but that's the goal.

Why haven't banks done this?

Do not underestimate banks AI capabilities in some areas.

Banks have been doing machine learning for decades. Every major bank has capable AI talent in lending, underwriting, and AML — people who've forgotten more about credit modeling than most Silicon Valley ML engineers will ever learn. Their data sets are enormous and compounded over decades of experience.

So why did a neobank ship this first?

1. Capability, and the ability move quickly.

Revolut is the canonical move-fast-and-occasionally-break-a-thing Fintech company, that famously took a little while to get its full UK bank license because of regulator concerns over audit gaps and compliance staff turnover. They will move quickly.

And the entire tech stack is modern, regularly replaced, and ideal for this kind of experimentation. A bank could take months just to find and scrub the data they need for this training. Revolut likely had it. Ready to go.

2. The availability of open-weight base models.

Open-weight models like Qwen, Kimi and GLM are now incredibly capable, cheap and with a couple of weeks of rentable GPUs can be trained to run a foundation model on private data sets.

That conversation may be happening in large institutions, but the execution pace isn't in the same universe. But I don't think that means they'll stay absent. When it's a company's IP, they're actually good at this stuff.

The fact that Mastercard built a foundation model is a big tell for me.

Foundation models for finance aren't a research problem anymore. They're an execution problem. The base models are open-weight. The frameworks are public. The papers are on arXiv. The compute is rentable. Banks can now do this.

Banks have never lacked talent or resources; they just often get McKonsultant'd and PowerPoint-slided to death. The banks that train their own foundation models will be the ones who ignore that guff, and get their data and risk talent working hands-on with folks like NVIDIA.

And Pahal Patangia runs payments business development at Nvidia. Where did he come from? FICO. The person who spent a decade helping retail banks build credit models is now the person helping Nvidia sell them the thing that replaces credit models.

That's not a coincidence.

NVIDIA's Enterprise Finance Pitch

You think NVIDIA, you think chips, Jensen's leather jacket, and a stock price that's propping up the S&P 500

Almost nobody outside the people already working with them knows what they do in financial services.

For Revolut, NVIDIA built the factory that lets a bank turn its proprietary data into a proprietary foundation model. It supports rolling your own foundation model or fine-tuning.

  1. Foundation Model Building (Revolut, Mastercard): NVIDIA provides the silicon (H100s, Blackwell), the data libraries (cuDF for the GPU-accelerated feature engineering that used to take weeks), and a training framework (NeMo AutoModel) that handles the parallelism so the ML team doesn't have to. PRAGMA's 1B model trained on 32 H100s in roughly two weeks.
  2. Fine Tuning a Model (PayPal): NVIDIA provides the base model itself — Nemotron. Plus the framework to do the fine-tuning (NeMo), plus the inference runtime to serve it cheaply (TensorRT-LLM).

Pahal Patangia made the point on a recent Tokenized podcast episode — and I keep coming back to it — that training is a one-time cost. Inference is forever.

A bank running fraud on every transaction, credit on every application, personalization on every session, is paying the inference bill billions of times a day. NVIDIA's whole recent model family has been re-tuned around that second number. Smaller models trained on more data, so they punch above their weight when you fine-tune them.

So they'll help you train at low cost, because they want your inference workloads.

Sort of like how GLP-1s give you something you want (better body shape) in return for a subscription fee to the medication.

And before I turn this into an NVIDIA sales pitch, there are plenty of alternative companies competing here. Google TPUs, AWS Trainium on Bedrock, and AMD are all building out their offerings here.

In fact, the raw inference space is becoming so competitive, there's a growing view in Silicon Valley that NVIDIA's moat is falling to more specialized silicon. So much so that the CEO of NVIDIA, Jensen Huang, went on the Dwarkesh podcast to lay out his counterargument (and accidentally spawned a hilarious set of memes about cars).

It's not just the models

A foundation model is nice.

But there's actually 3 layers of AI competitive advantage, the model is just one of them.

  1. Talent. In one room. With one architecture.
  2. The Data. Big banks have plenty.
  3. The Model. What we've discussed today.
  4. The workflow around the model is another.
The Fintech Brainfood: Four Layers of AI Competitive Advantage

The Fintech Brainfood: Four Layers of AI Competitive Advantage

Look at what PayPal did. They didn't just fine-tune Nemotron and ship it. They built a multi-agent system around it. Agents handle reasoning, checkout, fraud. The fine-tuned model is one component in a larger agentic workflow that, combined, is the product.

  • The model gets better the more data you put through it.
  • The workflow gets better the more customer interactions you observe.
  • The data gets richer the more products you cross-sell.

Each layer compounds the one below it.

Agentic workflows as intellectual property. Anyone with data and a computer can train a model. But the workflow — the orchestration, the tool routing, the evaluation harnesses, the guardrails, the specific prompts that encode your product's opinion about what good looks like — that's harder to copy.

That's where competitive advantage starts to move to, once everyone has a foundation model.

An aside: One more thing that held in Revolut's research: scaling laws work on events. More parameters, better performance. The same pattern that drives LLM progress applies to banking event data. The 10M-parameter model is good. The 1B-parameter model is better. The frontier keeps moving.

So what do you do to compete?

I think there are three options emerging.

  1. Build your own custom model like Revolut did. This requires a massive dataset and, more importantly, the ability to use it for training.
  2. Collaborate with other industry actors to build a model. This could be with your core processor, industry consortia or vendors. Sardine has 6 billion user device profiles and event data. FICO has more lending data than anyone I can think of.
  3. Buy a model from a company with a large data set. Vendors exist in risk and credit who have pretty large datasets themselves. It's a matter of time until these companies have foundation models you could just buy.

Your decision comes down to where you see your competitive advantage, and your honest assessment of your ability to execute.

Neobanks and digital-only banks are now in an arms race to build their own models.

The big banks have to figure out if they compete or if any of their bigger suppliers can help them compete.

A mid-sized or smaller bank with a smaller customer base probably shouldn't be banging on NVIDIA's door to custom-train a model on their batch file outputs. But a group of smaller banks with pooled data and resources could do something very interesting.

Banks are not disrupted. But AI is disruptive.

Banks are not disrupted. I still believe that.

The moats around regulation, lending, and balance sheet are real, and they aren't going anywhere. But the banks that win the next decade aren't the ones with the biggest balance sheets. They're the ones that upgrade their IP. The moat stays the same. The winners inside the moat change.

The IP of banking was always how they price and manage risks. The squishy lending decisions. The fraud stuff. For 200 years that IP lived in spreadsheets and in the heads of underwriters. Revolut just moved it into a model. And the model is only phase one of four.

The only thing between you and a PRAGMA of your own is deciding which of the three paths is yours. Build. Collaborate. Buy.

Pick one. Start now.

ST.

* Much of the PRAGMA detail in this Rant came from a conversation with Pavel Nesterov, one of the paper's authors. Any errors are mine. I also spoke to Pahal from NVIDIA on the Tokenized Podcast and it was an absolute BANGER episode. You should really check it out.

Explore all 66 articles in today's digest

Fresh dev news, AI-digested daily. Never miss a trend at devoured.fyi