For teams on Claude subscriptions
Why is Claude Code charging our API account when we pay for a subscription?
Short answer: Usually an API key in the environment. Anthropic’s docs say that when ANTHROPIC_API_KEY is set, Claude Code uses it instead of your Pro, Max, Ultra, Team or Enterprise subscription, even if you’re logged in, and bills API rates to that key’s account. In -p mode the key is always used. Run /status to see which is active. Start with the $150 burn-audit hour.
What Anthropic says
Claude Code’s environment variables docs say a set ANTHROPIC_API_KEY is used instead of your subscription even if you are logged in. In interactive mode you approve the key once; in non-interactive mode (-p) it’s always used when present. Anthropic’s help article on API key environment variables says this is intentional, that you’re charged pay-as-you-go rates on the key’s API account, and recommends keeping the variable unset and running /status to check. Claude Code’s authentication docs lists the full order Claude Code picks credentials in, with subscription login last, and notes that cloud sessions always use subscription credentials.
How to fix it on one machine
- Stop any unattended Claude Code jobs.
- Run
/statusand note the active method. - Remove the key from wherever it’s set: shell profile, IDE launcher, settings files, CI or scripts. Logging in again won’t override it.
- Start a new session and run
/statusagain. - If you need the key sometimes, set it only for that terminal session.
Start with the $150 burn-audit hour. One hour with an operator. You leave with a written map of the jobs, tokens and flows to cut or rebuild. Pay the hour, then we schedule the session. See a sample audit (example data) or try the free burn check.
Book the hour — $150 Operator pack — $625 depositAI Concierge — $2,000/mo
The pack is $1,250 for 10 hours; checkout takes the $625 deposit. Questions first? Email daniel@agenthiveinc.com or call our AI front desk demo at (320) 335-6186.
How to stop it across a team
- Scripts and CI. Anything using
-pwith a key set bills the API. Decide which jobs should. - Separate keys. Give automation its own API key or project with a spend limit, so a slip shows up fast.
- Check monthly. Compare API spend against what you expect from automation alone.
The three ways to work with us
- $150 burn-audit hour. One working hour. We map the agents, routines and flows your team runs and hand back a written list of what to cut, fix or rebuild.
- $1,250 operator pack ($625 deposit). Ten hours of build and fix work on the flows from the audit. The balance is due as the work is scheduled.
- AI Concierge, $2,000/mo. A senior AI operator on retainer: two 45-minute working sessions a month, unlimited async help between them, and a shared asset inventory. Month to month; cancel any month after the first 30 days.
Common questions
Will Anthropic refund the API charges?
We can’t speak for Anthropic. Their help article describes the behavior as intentional, so prevention is the reliable fix.
Does logging in again fix it?
Not while the key is still set. Remove the key, then start a new session and check /status.
Can you check this for our team?
Yes. The audit hour covers where your AI spend goes, including API keys billing work you expected on a plan.
Start with the $150 burn-audit hour. One hour with an operator. You leave with a written map of the jobs, tokens and flows to cut or rebuild. Pay the hour, then we schedule the session. See a sample audit (example data) or try the free burn check.
Book the hour — $150 Operator pack — $625 depositAI Concierge — $2,000/mo
The pack is $1,250 for 10 hours; checkout takes the $625 deposit. Questions first? Email daniel@agenthiveinc.com or call our AI front desk demo at (320) 335-6186.
Related
- Should our team pay for agent work with subscriptions or API billing?
- How much does Claude Code cost a team, and how do you control it?
- Why did our AI API credit balance suddenly hit zero?
- Free AI agent burn check
Outside facts link to their sources and were checked in November 2026; product pricing and limits change, so confirm on the vendor’s page. First Deploy is built and run by Daniel Graham at AgentHive Inc, Palm Coast, Florida. We don’t promise a savings figure before we’ve seen your setup.