Claude Code incorrectly estimated API costs and executed expensive download without confirmation
Resolved 💬 6 comments Opened Jan 8, 2026 by namjar Closed Mar 10, 2026
Description
Claude Code made critical errors that resulted in $663.59 unexpected charges:
- Incorrect cost estimation: Initially stated "$125 free credit is completely sufficient" and estimated cost as "$3.65"
- Actual cost: $663.59 (180x higher than estimated)
- Executed without confirmation: Started background download task without waiting for user approval
- Misleading reassurance: Told user the free credit would cover everything
What Claude Code Said vs Reality
| Claude's Statement | Reality |
|-------------------|---------|
| "预估成本: $3.65" (Estimated cost) | Actual: $663.59 |
| "免费额度: $125, 剩余额度: $121.35" | Credits applied: $0 |
| "最优解已实施完成" (Solution implemented) | Executed paid API calls without approval |
Root Cause
Claude Code:
- Miscalculated the cost estimate
- Did not verify if free credits were active
- Started download in background without explicit "proceed with payment?" confirmation
- Provided false reassurance about costs
Expected Behavior
Before ANY potentially paid API call:
- Show accurate cost estimate
- Explicitly ask: "This will cost $X. Proceed? (yes/no)"
- Wait for user confirmation
- Never execute paid operations in background without approval
Impact
- $663.59 unexpected charge on Databento
- User trusted Claude's cost estimate
- This is entirely Claude Code's fault, not user error
Environment
- Claude Code CLI
- Model: Claude Opus 4.5
- Date: 2026-01-08
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗