Get report
1. Install the plugin
Codex CLI
codex plugin marketplace add jack-beanstalk-2022/token-counter
codex plugin add token-counter@jack-beanstalk-2022Codex in the ChatGPT desktop app
Add the marketplace first, with the first command above or by opening a clone of the repository as a project. Then restart the app, open Plugins, choose jack-beanstalk-2022 and install Token Counter, or open the install in the app. Start a new chat afterwards.
2. Ask Codex
- “Generate a token report” for a local report
- “Share my token usage to tokenusage.dev” to share it