[BUG] Claude CLI -p Parameter Ignores Max Subscription
Resolved 💬 7 comments Opened Jun 9, 2025 by double-thinker Closed Jan 6, 2026
Environment
- Platform (select one):
- [X] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 1.0.17 (Claude Code)
- Operating System: macOs 15.5
- Terminal: iTerm2
Bug Description
claude -p calls does not use Claude Max subscription
Steps to Reproduce
- Use an account with Claude Max subscription and no credit in console.anthropic.com
- Use claude with a normal prompt
- Use claude with -p parameter
Expected Behavior
claude -p will use the subscription if available
Actual Behavior
Stops due low credit:
{"type":"result","subtype":"success","cost_usd":0,"is_error":true,"duration_ms":898,"duration_api_ms":0,"num_turns":1,"result":"Credit balance is too low","session_id":"xxx","total_cost":0,"usage":{"input_tokens":0,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":0,"server_tool_use":{"web_search_requests":0}}}This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗