By pivoting from expensive commercial APIs like Claude to self-hosted open-weights models, Revolut achieved a 10x reduction in inference costs while improving developer productivity. By Tobias Mann.
British fintech Revolut has significantly overhauled its AI engineering strategy, slashing inference costs by approximately 90 percent by replacing commercial services like Claude and OpenAI’s Codex with self-hosted models. According to David Abitbol, Revolut’s ops and infrastructure lead, the shift was driven by the high costs of commercial tokens, which previously led to engineers spending thousands of dollars monthly with diminishing returns. By deploying GLM-5.1 and GLM-5.3—developed by Z.ai—on a cluster of 56 Nvidia B200 GPUs, the company moved to a flat-billing model that eliminates ‘bill shock.’
Technically, the transition involved more than just hardware procurement. Revolut optimized the models using NVFP4 quantization, disaggregated prefill and decode, and hyperparameter tuning. These optimizations allowed the team to achieve a sub-3-second time to first token on a 256,000-token context window, which Abitbol identifies as the ‘sweet spot’ for developer workflows. Interestingly, the most significant productivity gains didn’t come from pure code generation, but from allowing engineers to use ‘unlimited’ tokens for auxiliary tasks like debugging and managing Jira or Confluence tickets.
While the Chinese-developed GLM models handle the bulk of coding tasks, Revolut maintains a model router to direct vision-specific queries to frontier models like Gemini or GPT. One measured caveat remains: while self-hosting mitigates the privacy concerns of accessing models via Chinese APIs, the use of open-weights models still requires rigorous internal security oversight. Engineers should watch for the increasing viability of NVFP4 quantization and disaggregated prefill as standard requirements for high-performance, self-hosted coding assistants. Nice one!
[Read More]