Your cron'd `claude -p` might be billing your API key, not your Max plan
If you're on a Pro or Max plan and you run claude -p from cron, and an API bill shows up anyway, the cause is almost always one thing: ANTHROPIC_API_KEY is set in that environment. Why -p quietly uses the key Claude Code picks one credential when several are present, in a fixed order. ANTHROPIC_API…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-12-03 12:00 · DEV Community — AI
Your cron'd `claude -p` might be billing your API key, not your Max plan