Spotify

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

Sep 3, 2026Dimitri Mazmanov, Principal Product Manager
Portal by Spotify cut my Claude Code token usage by 90% | Spotify Engineering
SummaryAI, from the source post

Introduced 'Portal by Spotify' with 'AiKA Modes' to route AI workloads to different models based on task complexity. Developed a 'shunt' Claude Code plugin to enforce this routing via PreToolUse hooks and bash scripts, delegating I/O-heavy tasks (bulk file reading, boilerplate code generation) to cheaper models like Gemini 2.5 Flash. Demonstrated a 90% token usage reduction for specific scenarios and highlighted limitations in delegating editing and complex reasoning.

More from the AI-Assisted Developer Productivity Platform trail