[GH-ISSUE #17494] feat: display to show token count of current chat #138034

Closed
opened 2026-05-25 09:11:14 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @ndrew222 on GitHub (Sep 17, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17494

Check Existing Issues

  • I have searched the existing issues and discussions.

Problem Description

I've found that my chat has really ballooned in size over time, making it increasingly expensive to continue a chat. What exacerbates this issue is I have no idea how large my current chat length is, meaning I don't know how much each subsequent message costs.

Desired Solution you'd like

One thing I'd really appreciate is to be able to tell roughly how much each subsequent message would cost, using the token count as an estimate.
Besides this, having a token display also would help to intuit the approximate token count that a model starts getting stupid.
I've seen issue #573 but it seems to be handling a different issue of the model's context limit. What I'm looking for is a display for how many tokens the current chat uses.

Alternatives Considered

No response

Additional Context

No response

Originally created by @ndrew222 on GitHub (Sep 17, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/17494 ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### Problem Description I've found that my chat has really ballooned in size over time, making it increasingly expensive to continue a chat. What exacerbates this issue is I have no idea how large my current chat length is, meaning I don't know how much each subsequent message costs. ### Desired Solution you'd like One thing I'd really appreciate is to be able to tell roughly how much each subsequent message would cost, using the token count as an estimate. Besides this, having a token display also would help to intuit the approximate token count that a model starts getting stupid. I've seen issue #573 but it seems to be handling a different issue of the model's context limit. What I'm looking for is a display for how many tokens the current chat uses. ### Alternatives Considered _No response_ ### Additional Context _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#138034