levysoft/chatgpt-token-cost-analysis

Python script and HTML page to analyze token costs from ChatGPT export chats. Extracts messages, calculates token usage, and determines monthly costs. The Python script saves results to a CSV file, while the HTML page provides an interactive, local analysis tool with support for multiple models and ensures data privacy.

28
/ 100
Experimental

This tool helps individuals or teams track and understand their spending on ChatGPT. By uploading your exported ChatGPT conversation data, it analyzes your chat history, calculates the tokens used for both your input and the AI's output, and estimates the total and monthly costs. It's designed for anyone who uses ChatGPT frequently and wants insight into their usage expenses.

No commits in the last 6 months.

Use this if you want to understand how much your ChatGPT conversations are costing you, broken down by month and model, while keeping your chat data private.

Not ideal if you need to analyze token costs for AI models other than OpenAI, Claude, or Gemini, or if you don't have access to your exported ChatGPT conversation history.

AI-usage-tracking cost-management personal-finance chat-analytics expense-monitoring
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 4 / 25
Maturity 16 / 25
Community 8 / 25

How are scores calculated?

Stars

8

Forks

1

Language

HTML

License

MIT

Category

free-gpt-proxies

Last pushed

Mar 03, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/levysoft/chatgpt-token-cost-analysis"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.