mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-04 07:47:12 -05:00
[GH-ISSUE #17494] feat: display to show token count of current chat #72911
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ndrew222 on GitHub (Sep 17, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17494
Check Existing Issues
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