hermes - 💡(How to fix) Fix [Feature]: Display input tokens used the same way as the context bar. [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
NousResearch/hermes-agent#18916Fetched 2026-05-03 04:53:35
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×3
RAW_BUFFERClick to expand / collapse

Problem or Use Case

[Feature]: Display input tokens used the same way as the context bar. This way we know how much aproximately we are expending, so when Hermes goes into a loop thats not visible, we can stop the current process if we want to, that way we can spend less on API.

Proposed Solution

Display input tokens used the same way as the context bar, showing how many tokens we have used only on INPUT, a bar for 1M tokens and a percentage.

Alternatives Considered

No response

Feature Type

New tool

Scope

None

Contribution

  • I'd like to implement this myself and submit a PR

Debug Report (optional)

extent analysis

TL;DR

Displaying input tokens used, similar to the context bar, can help track expenditure and prevent unnecessary API costs.

Guidance

  • To implement this feature, consider adding a token counter that updates in real-time as input is processed.
  • This counter could be displayed as a bar or percentage, similar to the context bar, to provide a visual representation of token usage.
  • The token limit (e.g., 1M tokens) should be clearly defined and considered when designing the display.
  • When the token limit is approached or exceeded, a warning or notification could be triggered to alert the user.

Notes

The exact implementation details are not provided, so the guidance is focused on the general approach to displaying token usage.

Recommendation

Apply workaround: Implementing a token counter and display can help mitigate the issue of unknown token expenditure, allowing users to make more informed decisions about their API usage.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix [Feature]: Display input tokens used the same way as the context bar. [1 participants]