-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Feature Request: Token Usage Tracking and Warnings #1703
Copy link
Copy link
Closed
Labels
clarificationprovide explanation for goose's behaviorprovide explanation for goose's behaviorenhancementNew feature or requestNew feature or request
Description
It would be great to have visibility into token usage during a Goose session, specifically:
- Track and display the number of tokens used in the current session
- Implement warning system for high token usage that might lead to problems
- Potentially show:
- Current token count for the session
- Token usage per interaction
- Warnings when approaching model context limits
- Estimated cost (if applicable)
This would help users:
- Monitor resource usage
- Avoid unexpected cutoffs due to context limits
- Better manage costs when using paid models
- Optimize their interactions for token efficiency
The warnings could be configurable based on the model being used, since different models have different context limits.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
clarificationprovide explanation for goose's behaviorprovide explanation for goose's behaviorenhancementNew feature or requestNew feature or request