Artificial intelligence tools that write software are getting expensive. Gartner predicts that by 2028, the cost of AI coding tools will exceed the salary of the average developer. According to figures cited in a Spotify engineering blog post, a quarter of engineering leaders already spend $200-$500 a month per developer on usage fees, with some paying more than $2,000.
Those fees are charged in tokens, the small chunks of text an AI model reads and writes. Think of them as a taxi meter that keeps running every time the AI reads a document or produces a line of code.
Dimitri Mazmanov, a principal product manager at Spotify, noticed where much of that meter was running. Much of what his AI coding assistant did, he realised, wasn't thinking at all. It was reading — scanning several large files to answer a question about a single function, or generating a test file that followed the same pattern as 20 others in the codebase. All of this was being handled by one of the most powerful, and expensive, AI models available.
His solution borrows from any well-run office: you wouldn't ask a senior partner to photocopy documents. Mazmanov set up a system in which the assistant, Anthropic's Claude Code, delegates routine tasks to a cheaper, faster model while reserving its own capabilities for more complex problems.
The system has two components. The first is a pair of small AI agents built on Spotify's Portal platform — one reads files and summarises them, while the other writes routine code based on existing examples.
Source link







