[BUG] Bedrock use now reporting zero costs as of 0.2.85
Resolved 💬 2 comments Opened Apr 28, 2025 by clayallsopp Closed Apr 28, 2025
Environment
- Platform (select one):
- [ ] Anthropic API
- [x] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: <!-- output of
claude --version--> - Operating System: <!-- e.g. macOS 14.3, Windows 11, Ubuntu 22.04 -->
- Terminal: <!-- e.g. iTerm2, Terminal App -->
Bug Description
Bedrock is always reporting $0 costs; it seems this is a regression
Steps to Reproduce
- Install 0.2.84
- Run a query
/cost- See non-zero reported costs
- Install 0.2.85
- Repeat
- See zero reported costs - but they are in fact not free!
Expected Behavior
- Costs are reported as non-zero, or something else is reported if they are unable to be calculated instead of $0
Actual Behavior
- Costs are reported as zero
- I don't think the reported costs were ever precise/accurate for Bedrock, but they were directionally correct / helpful nonetheless. Ideally the costs would actually be calculated correctly for Bedrock, but even using the Anthropic API pricing page as a base (which is what I think it was) is fine
Additional Context
<!-- Add any other context about the problem here, such as screenshots, logs, etc. -->
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗