CONNECT WITH US
Tech

Tech

How one Spotify product manager cut AI coding costs by 90% by making cheaper models do the grunt work

CNBCTV18 - Tech logo

Published on

Add as a preferred source on Google
How one Spotify product manager cut AI coding costs by 90% by making cheaper models do the grunt work

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

Disclaimer

We strive to uphold the highest ethical standards in all of our reporting and coverage. We TheMorningPulse.fyi want to be transparent with our readers about any potential conflicts of interest that may arise in our work. It's possible that some of the investors we feature may have connections to other businesses, including competitors or companies we write about. However, we want to assure our readers that this will not have any impact on the integrity or impartiality of our reporting. We are committed to delivering accurate, unbiased news and information to our audience, and we will continue to uphold our ethics and principles in all of our work. Thank you for your trust and support.