Cut Claude Code Costs by 90% the Spotify Way
Key point
Spotify has released the 'Portal' plugin to reduce usage of high-cost models in Claude Code.
Details
The Spotify engineering team has released the 'Portal' plugin, which can reduce Claude Code token costs by up to 90%. This tool applies a routing strategy that leverages other models to reduce read token costs for the expensive primary model.
How It Works and Installation
Users must install the portal and shunt plugins from the spotify/portal-ai-plugins marketplace. The shunt plugin delegates bulk-reader and code-writer modes via the Portal CLI, thereby minimizing expensive model usage in the main session.
Key Features
- Automatic Routing: The plugin enforces model routing, so users do not need to manage it separately.
- Customization Support: The default modes are public, and users can fork them in Portal to change worker models or instructions as needed.
- Team Sharing: Modes are reusable across projects and can be shared with team members.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.