[BUG] When using Claude Code my API credits are being consumed despite having a Pro subscription
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When I used Claude code I got a message during my session that my credit balance is too low. I am a Pro user and my Claude Code usage should not consume my API credits.
It is unclear from the Code UX that my API credits were to be consumed, why they were being consumed and why my Pro subscription is not being utilized.
What Should Happen?
Claude code should recongize that I am a Pro subcription user and not consume API credits.
Error Messages/Logs
Total cost: $5.31
Total duration (API): 18m 52.5s
Total duration (wall): 1h 36m 51.3s
Total code changes: 1401 lines added, 261 lines removed
Usage by model:
claude-3-5-haiku: 12.2k input, 849 output, 0 cache read, 0 cache write ($0.0132)
claude-sonnet: 567 input, 54.8k output, 7.9m cache read, 558.1k cache write ($5.30)
##removed line due to privacy
╭───────────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code! │
│ │
│ /help for help, /status for your current setup │
│ │
│ cwd: /mnt/d/data/classifier │
╰───────────────────────────────────────────────────╯
Tips for getting started:
Run /init to create a CLAUDE.md file with instructions for Claude
Use Claude to help with file analysis, editing, bash commands and git
Be as specific as you would with another engineer for the best results
You can now use your Claude subscription with Claude Code • /login to activate
> sign
⎿ Credit balance too low · Add funds: https://console.anthropic.com/settings/billing
Steps to Reproduce
unable to reproduce without adding additional funds to my account.
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
1.0.115 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
WSL (Windows Subsystem for Linux)
Additional Information
There should be a preference to default to Pro subscription usage and confirmations before any API credits are consumed, especially for those of us who do not use the API and only maintain a low balance.
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗