Counts tokens in the ChatGPT active conversation on chatgpt.com
The ChatGPT Token Counter is a Chrome extension designed to help users keep track of their token count during long conversations with the ChatGPT language model on chat.openai.com.
ChatGPT doesn't know what a word is. It doesn't know what a character is. ChatGPT counts content in tokens. ChatGPT has a context window of how many tokesn it can remember.
OpenAI is hiding what the context window is on the web version. ChatGPT 4o in Plus and Team should have a context window of 32,768 tokens (~24,000 words). 3 words ~ 4 tokens. When your conversation becomes longer than that, ChatGPT will start to "forget" what was discussed earlier.
The box in the corner of the window lets you monitor the token usage and ensure that the conversations do not exceed the context window, which is particularly important for coaching, idea generation, and working with longer articles where retaining the context is crucial.
With this extension, you will know when context can be missing and will have more productive and meaningful conversations with ChatGPT.
This extension is written 99% by ChatGPT. The logo icon is created 100% by MidJourney.
The number IS NOT exact but should be in the range of +/- a dozen.
Latest reviews
- (2023-10-20) Pedro Ganzo: When I downloaded the extension, I thought it would have a smart way to count tokens.. but it did not. Here is this extension code for count tokens: // substrack 15 words of existing content from wordcount function countWords(text) { return text.trim().split(/\s+/).length-15; } function countTokens(wordCount) { return wordCount / 0.75; } thats it. It just splits the words, remove 15% of length of them, and thats it. Sorry If I seems harsh, I know it is hard to build a tokenizer on a web browser without a server to handle it. But i was expecting something else. Congrats for the extension btw, i found it by accident.
- (2023-07-10) Samuel Or: I like it, the best part is no collection of personal data
- (2023-06-30) Leonardo Riera: Multiple issues: wrong count on new chats, and very wrong count on ongoing chats (keeps some of the word count from previous prompts rather than start from 0 for new prompt).
- (2023-06-01) Nicholas Rotundo: Great extension
- (2023-05-21) Jiří Šírek: Thanks a lot!:)
- (2023-05-09) Mohsin: Underrated extension
- (2023-05-07) Edward Lee: I do not know how anyone who has extended "chats" with ChatGPT can afford not to have this extension. This is superb.