Portal by Spotify cut my Claude Code token usage by 90%

A developer shares how using 'Portal by Spotify' to route routine coding tasks to cheaper AI models significantly reduced token usage and costs. By creating specialized 'modes' for I/O-heavy tasks, engineers can reserve expensive frontier models for complex reasoning.
Why it matters
As AI coding costs rise, optimizing token usage is becoming a critical financial and operational priority for engineering teams.
Most of what an AI coding agent does for me isn't thinking. It's I/O.
Reading five files to answer a question about one method. Generating a test file that follows the exact same pattern as the twenty test files next to it. Updating docs after a meeting. Thousands of tokens gone and almost zero reasoning. The seat license isn't what hurts, it's the tokens. And you're feeding all of it to a frontier model that's wildly overqualified. What if you could route the grunt work to something cheaper that handles it just as well, and save the expensive model for the problems that actually need it?
Get smarter about the news
Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.
Create free accountAlready have an account? Sign in