Google Gemini Token Counter

JavaScript
TailwindCSS
Python
Flask

Simple tool to count tokens in prompts for gemini based text models.

Project Image

Tracking Models

  • gemini-1.0-pro
  • gemini-1.0-pro-001
  • gemini-1.0-pro-latest
  • gemini-1.5-pro-latest
  • gemini-pro

Features

  • Select model
  • Enter text
  • Get token count
  • Also gives character count, word count to give a quick overview of the text
  • Based on Gemini's tokenizer

Tech Stack

  • JavaScript
  • TailwindCSS
  • Python
  • Flask

This project is part of the series to build a ready to use comprehensive tool set for different LLM's. Previously covered OpenAI Based Models Token Counter Based On tiktoken.

Back To All Projects