Spotify's Portal Cut Claude Code Token Usage by 90% With a Two-Mode Router
rseroter · x · 2026-09-04
Spotify Engineering's Portal platform cut Claude Code token usage by 90% by routing grunt work to cheap models. The insight: most of what coding agents do is I/O, not reasoning. With AI coding costs projected to exceed average developer salaries by 2028 — and a quarter of engineering leaders already burning $200–$500 per developer monthly on tokens — the fix requires no platform team. Portal's AiKA Modes are declarative agents on ephemeral runtimes (Lambda for agents): define instructions, pick a model like Gemini 2.5 Flash, attach MCP tools, call via CLI or API. The author built a 'bulk-reader' mode to handle multi-file questions cheaply, reserving frontier models for real reasoning.
Related event: Spotify Cuts Claude Code Token Usage by 90% with Dual-Model Routing(2 posts)→
More from coding & agent
- AI-generated color/map studies are slop in isolation but useful for pruning design decisions — enjalot · 2026-12-06
- Paper Odyssey: an Opus 5.5 papercraft demo whose skill hit 3,000 GitHub stars — RachelVT42 · 2026-12-06
- DHH's Omarchy revives an 8-year-old Intel NUC as a smooth home media hub — csuwildcat · 2026-12-06
- Agents you must babysit are useless: the shift to self-reviewing agent teams — RachelVT42 · 2026-12-06
- Hook your coding agent to the tldraw MCP, says it outperforms manual work — max__drake · 2026-12-06
- Dev builds text-to-poster tool with Gemini in a week, ships Mac/iOS versions — vista8 · 2026-12-06