What does it take to move one AI feature from a frontier API to a self-hosted model?
In an AI Engineer talk published on 29 October 2026, Revolut said it had moved AI coding assistance for about 2,000 engineers from metered frontier APIs onto Z.ai's open-weight GLM models, served on about 56 Nvidia B200 GPUs, at a blended cost near $0.30 per million tokens, about a tenth of what it paid before. David Abitbol, who leads AI operations there, opened his account with a warning: "out of the box inference is terrible". The saving came from serving work on the same GPUs between April and August, and the figure leaves out cloud, staff and observability. Before you choose a model, choose the workload by its shape and name who will tune its serving.
Why a vertical SaaS team would make this move at all is the subject of our post on gross margin per agent run. This one is about how, as Revolut self-reported it in Abitbol's talk.
What did Revolut move, and what did it keep on a frontier API?
Revolut moved one workload: coding assistance for its whole engineering group of about 2,000 people, with text in and text out. According to StartupHub.ai's write-up of the talk (29 October 2026), self-hosting began in April 2026 behind an OpenAI-compatible interface, which engineers reach through client tools such as OpenCode and Codex pointed at the self-hosted endpoint. AI Chat Daily (1 November 2026) reports that image tasks go to Gemini or similar models, which keeps the self-hosted path text only, and that frontier-hosted tools such as Claude Code are now the exception. Revolut has not said whether it owns or rents the GPUs.
In a vertical SaaS product, the workload with the same shape runs at high volume, does one narrow job on text, and is already in production with a record of how users respond to it. Extracting fields from one document type, or drafting a letter in a fixed format, are typical candidates. Keep a frontier lane for the inputs the self-hosted model fails on, as Revolut kept images on Gemini. The customer-facing agent that plans across many tools can wait until a narrower feature has run on your own serving stack for a quarter.
How slow was stock serving for a self-hosted LLM?
Stock serving was well outside Revolut's own targets in April 2026. Revolut had set three: under 3 seconds to first token, about 200 tokens per second for interactive use, and bursts to about 800 tokens per second after 5 p.m., when load drops, StartupHub.ai reported on 29 October 2026. The stock serving setup missed them. AI Chat Daily reported on 1 November 2026 that time to first token fell from over 10 seconds in April to about 1.6 seconds in August with no added GPUs, and that requests per second rose from about 3 to more than 7. All of these figures are self-reported.
Same 56 GPUs, time to first token fell from over 10 seconds to 1.6
Revolut's self-hosted coding workload, time to first token in seconds (lower is better)
Before you move a feature, write down its own equivalents of those targets: the time to first output its users accept today, the throughput of its busiest hour, and when that hour falls. They tell the team what it is tuning toward.
Which LLM inference settings did the work?
Four settings did the work: the context cap, the precision, the parallelism and the prompt cache, tuned between April and August with no GPUs added. AI Chat Daily quotes Abitbol on the result: "We've had 88% improvement in performance for 76% increased demand".
Four serving settings, and the question each asks of your runs
A tighter context cap leaves more room on each GPU for the KV cache, the stored attention state of requests in flight. TP8 means each copy of the model spans eight GPUs, which Revolut needed with GLM so that the KV cache would fit.
How do you know a cheaper open-weight model holds on your tasks?
Replay your own runs on the configuration you will serve, because a published score describes a different one. Moonshot's open-weight Kimi K3.1 Pro scored 65.7% on Terminal-Bench 4.0 in Moonshot's own run (vendor-reported), at maximum reasoning effort, mostly in a Claude Code harness, and Artificial Analysis measured 67% in its own harness, as Developers Digest reported on 30 October 2026. The wider gap sits inside Moonshot's own numbers. It says it removed cyber-related data from the open release, and on its internal xdev-bench-hard the released model solves 81.0% at pass@3 against 90.5% for a checkpoint without those controls (vendor-reported). Developers Digest warns that the model you download may behave differently from the one Moonshot hosts. Whatever you download, you will serve a third configuration: quantized, capped on context and running in your own harness.
- Quantize first. Serve the candidate at the precision you plan to run and the context cap you measured, before any comparison.
- Replay a few hundred recent runs of the feature. Each needs its input, the output that went to production, and what the user kept or changed.
- Compare side by side. Put outcome, latency and cost per run for the current model and the candidate in one table.
Revolut judged its own move on a workload outcome measured before and after: about 60% faster coding time and 70% faster lead time once self-hosting began, both self-reported. Both reports credit the larger lead-time gain to engineers automating work beyond coding, such as inbox triage, once tokens were no longer rationed, and StartupHub.ai notes that Claude Code under strict budget caps had shown little measurable impact. An outcome like that mixes how much the tool was used with how well it worked, so it cannot show whether the model held on each task; the replay can. If the labels in your current evaluation set were written by the model you plan to replace, read why labels written by the incumbent model favour it before you trust the comparison.
What does Revolut's 90% saving leave out?
It leaves out most of what running your own serving stack costs. The $0.30 per million tokens is a blended token figure, and both StartupHub.ai and AI Chat Daily report that it excludes cloud spend, staffing and observability. StartupHub.ai adds its own caveat: portability is unproven, because the result assumes 56 B200s, continuous tuning and a load shaped by working hours. A product serving customers across time zones has a flatter load curve and less idle capacity to absorb a peak.
Before anyone quotes a saving to your CFO, cost the people who will tune and run the serving stack, and set that beside the API's price.
What will your customers' security reviews ask about a self-hosted model?
They will ask where the model runs, what it is allowed to do, and what you can show after an incident. StartupHub.ai lists the controls Revolut paired with the move. Every agent run is human in the loop, inside a sandbox with allow lists that permit commands such as git add and block broader destructive ones. Inference stays in data-equivalency countries such as the US, EU, UK and Israel, on GPU providers with zero data retention by default. OpenTelemetry instrumentation supports incident forensics.
Revolut built these for its own engineers' coding tools. A feature that processes your customers' records meets the same questions in their security questionnaires, now addressed to you instead of a model provider, plus two more: how one customer's data is kept separate from another's, and where customer data is logged. Add one line to the checklist: confirm the licence on any candidate's downloadable weights before it serves a customer. Before release, Moonshot had not said which licence Kimi K3.1 Pro's weights would use, according to Developers Digest.
What should you measure this month?
Measure three numbers from one feature, and name the person who will own its serving.
If you run engineering
Pick one feature that is high volume, text only and narrow. Pull a month of its runs. From them, measure three numbers: the context each run actually uses, the share of prompt tokens that repeat across runs, and the latency your users tolerate today. Name an owner for the serving stack before anyone picks a model.
For the CTO: agree the platform cost, people and on-call included, before the move, so the saving is measured against it.
Once the workload runs on weights you hold, its corrected runs can become training data later, which is the subject of our post on training your own model.
What would stop you moving one AI feature off a frontier API this quarter?
Anonymous. One vote per browser.
Where SynOS fits
SynOS prices every run per model and per provider, so the cost of a feature can be read on your own runs before a move and after it. Agents built on it rehearse against your real systems with writes recorded rather than executed. The runs stay on your infrastructure in the shape a training set is built from.
Questions
Is a self-hosted LLM cheaper than an API for a SaaS product?
It can be, at high and steady volume on a narrow text workload. Revolut reported in October 2026 about $0.30 per million tokens blended, about a tenth of its previous API spend, but that figure excludes cloud spend, staffing and observability. Cost those before you compare.
Which AI feature should move to an open-weight model first?
One that runs at high volume, works only on text, does a narrow job and is already in production, with a frontier lane kept for the inputs that fail, as Revolut kept image tasks on Gemini.
Why is a self-hosted model slower at first?
Default serving settings are not sized for your workload. Revolut reported over 10 seconds to first token in April 2026 and about 1.6 seconds by August, after tuning context, precision and parallelism on the same GPUs.
Can I trust an open-weight model's benchmark score?
Use it to shortlist. Scores shift with harness and reasoning effort, and Moonshot removed cyber-related data from Kimi K3.1 Pro's open release, which Developers Digest warns may make the downloadable model behave differently from the hosted one. Replay your own runs at the precision you will serve before you decide.
Sources
- Revolut says self-hosted AI cut coding costs 90%, StartupHub.ai (29 October 2026; Abitbol's talk, self-reported: setup, targets, serving settings, controls, exclusions, portability caveat)
- Revolut says self-hosted GLM models cut its AI coding costs 90%, AI Chat Daily (1 November 2026; self-reported: scale, cost and exclusions, the 88% quote, latency and throughput, routing, outcomes)
- Kimi K3.1 Pro: Pricing, Benchmarks, Open Weights Date, Developers Digest (30 October 2026; Moonshot's vendor-reported scores, Artificial Analysis's result, the open-release warning, licence)