OpenAI Token Counter

JavaScript
TailwindCSS
Python
Flask

Simple tool to count number of tokens in a text.

Project Image

Simple tool to count number of tokens in a text. Based on tiktoken by OpenAI. Select the model and enter the text to get the token count.

Features

  • Select from different models
  • Count number of tokens in a text
  • Gives character count, word count and token count
  • Based on tiktoken by OpenAI

Tech Stack

  • JavaScript
  • TailwindCSS
  • Python
  • Flask

Basic premise of this project is to leverage python based libs and convert them into easily digestible json based api endpoints e.g tiktoken.

Back To All Projects