anthropics / anthropics/claude-code

[Feature Request] Add token usage tracking and refund mechanism for API errors

Open
#94,567 1 comment 0 reactions 0 assignees View on GitHub
area:cost enhancement
Dominant language
Python
Stars
145k
Forks
23.1k
PR merge metrics
PR metrics pending

Description

**Bug Description**
[bug] The mcp bug and related troubleshooting consumed good amount of tokens - I want claude team to estimate and restore those tokens to my credit

**Environment Info**
- Platform: darwin
- Terminal: WarpTerminal
- Version: 2.1.272
- Feedback ID: ebcf367a-d819-4f72-be42-a80c37934e34
- draft_id: e4b0cc27-0600-44c9-bf8a-39b2195bff79

**Errors**
```json
[]
```

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are identified in the issue, so start by locating the token accounting and API error-handling components in the repository. Clarify how usage should be estimated, which API errors qualify for refunds, and what observable behavior or tests would define completion.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.