Built-In Token Tracker #1009
Replies: 1 comment 5 replies
-
I’m working on something related (tracking token spend per message), and may look into UI changes here after. Thing is it’s tricky. The number of currently used tokens is pretty broad and can vary within a conversation. Different models affect the context window, as well as message branching. Also you are not charged per message rather you are charged per context, which is made up of messages. you may type a 10 token message as an 11th message in the convo, but your spend for that 11th message would be that message’s tokens + however many prior messages’ tokens could fit in that context. Something easier, which what I’m working on will make easier to trace, will be to say how much a conversation has cost so far, regardless of context (in prompt and completion tokens) |
Beta Was this translation helpful? Give feedback.
-
I love this program, and really appreciate the hard work of the developers! I would really appreciate the implementation of a feature within the UI that would display the number of currently used tokens, along with the token limit of the currently-used model if possible. I'm aware I can check the logs for this number which works well, but it would be significantly easier if I was able to see this number directly within the interface. Thank you for all of your development efforts and I look forward to seeing future improvements in LibreChat!
Beta Was this translation helpful? Give feedback.
All reactions