TLDR Dev · ARTICLES & TUTORIALS

PORTAL BY SPOTIFY CUT MY CLAUDE CODE TOKEN USAGE BY 90%

engineering.atspotify.com8 min read

Summary from the TLDR Dev newsletter

Spotify routed large file reads and predictable code generation from Claude Code to cheaper Gemini 2.5 Flash workers through Portal modes and a Claude Code plugin. Hooks enforce delegation for files above a size threshold, producing about 90% mean token savings in four Java monorepo scenarios while keeping debugging, architecture, and editing with the frontier model.