Claude Code automatically consumes API keys over subscriptions
August 2, 2026
Claude Code may automatically switch from a monthly subscription to a metered API billing model if an API key is detected in the local environment. Users reported the tool utilized personal API keys for tasks without explicit warning or permission.
HOW THIS AFFECTS YOU
●
builderCheck your local environment variables before running Claude Code to avoid unexpected API charges.