ChatGPT Message Tracker

Tracks and displays ChatGPT message usage based on model limits, with a toggle button to reopen the info panel.

As of 2024-09-17. See the latest version.

Author
MartianInGreen
Ratings
0 0 0
Version
1.1
Created
2024-09-17
Updated
2024-09-17
Size
13.3 KB
License
MIT
Applies to

ChatGPT Message Tracker

Description

The ChatGPT Message Tracker is a userscript designed to help you monitor and manage your message usage while interacting with ChatGPT. This tool tracks the number of messages you send based on the model you use and provides real-time statistics on your remaining message limits.

Key Features:

  • Network Monitoring: Automatically intercepts network requests sent to the ChatGPT API, specifically targeting the conversation endpoint.
  • Model-Specific Tracking: Keeps track of usage limits for various models, including:
    • gpt-4o: 80 messages per 3 hours
    • o1: 30 messages per week
    • o1-mini: 50 messages per day
    • gpt-4o-mini: No limits
  • Rolling Windows: Utilizes rolling time windows to accurately calculate remaining messages based on the specified limits.
  • Persistent Storage: Saves your message usage data in localStorage, ensuring that your statistics persist across browser sessions and restarts.
  • User-Friendly Interface: Displays a floating panel with your current message usage and remaining limits, with an option to close and reopen the tracker via a toggle button.

How to Use:

  1. Install the script using Tampermonkey or any compatible userscript manager.
  2. Navigate to ChatGPT at https://chatgpt.com/.
  3. View your message usage stats in the floating tracker panel.
  4. Close the panel as needed and use the "Show Tracker" button to reopen it anytime.

Notes:

  • The script is open-source and can be modified to fit your specific needs.
  • Please ensure you trust the source and understand the functionality of the script before installation.

License:

This script is distributed under the MIT License.