extension ExtPose

ChatGPT Token Counter

CRX id

fjmnelakmikojjladjfdhdlfpanhcban-

Description from extension meta

Counts tokens in the ChatGPT active conversation on chat.openai.com

Image from store ChatGPT Token Counter
Description from store 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 has a context window of 4096 tokens, and when the conversation exceeds this limit, the model starts to "forget" what was discussed earlier. This extension provides a convenient box in the corner of the window that displays the number of tokens used in the <main> element of the conversation. This helps users to monitor their token usage and ensure that their 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, users 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.

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.

Latest issues

  • (2023-10-16, v:1.0) Daniel Olshansky: Share Button Is Hidden
    OpenAI recently added the "Share" option in the top-right corner which is hidden by this extension. Wanted to make a request to float the counter beside the share button so we get best of both worlds :)
  • (2023-08-03, v:1.0) Данила Рубанов: share button is not accessible because of your plugin
    in the new version, openai moved the share button to the right top, so it is under your plugin thing right now
  • (2023-04-25, v:1.0) Priit Kallas: Why does it sometimes show weird numbers in the beginning of the conversation?
    When starting a new conversation it sometimes shows 12 tokens = 9 words

Statistics

Installs
2,156 history
Category
Rating
4.25 (8 votes)
Last update / version
2023-04-21 / 1.0
Listing languages

Links