Allen1212 / gpt_token_price_calculator

GPT Token Price Calculator helps you estimate token count and pricing for GPT models based on your uploaded file and/or provided prompt, enabling efficient cost management.

Home Page:https://gpt-token-price-calculator.streamlit.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

๐ŸงฎGPT Token Price Calculator

Calculate tokens and estimate the price for the File โž• Prompt fed into the GPT model.

๐ŸŽž Demo

demo

๐Ÿ’ป Running Locally

  1. Clone the repository ๐Ÿ“‚
git clone https://github.com/Allen1212/gpt_token_price_calculator.git
cd gpt_token_price_calculator
  1. Install dependencies โœ…
pip3 install -r requirements.txt
  1. Run the Streamlit server ๐Ÿš€
cd count_tokens
streamlit run main.py

About

GPT Token Price Calculator helps you estimate token count and pricing for GPT models based on your uploaded file and/or provided prompt, enabling efficient cost management.

https://gpt-token-price-calculator.streamlit.app/

License:MIT License


Languages

Language:Python 100.0%