I spend a lot of time in terminal with claude code and codex, and I also build apps with openai and anthropic api keys. I found myself hopping on two different dashboards quite often to check my usage, so I built a TUI to monitor my daily/weekly/monthly cost, without leaving my workflow inside the terminal.
You can view the usage and cost for each of your api keys for the past 7 or 30 days, grouped by either model or api key.
For folks also using a lot of claude code/codex with api keys, or building ai apps, you might also find it useful without constantly hopping on openai and anthropic dashboard.
Github: https://github.com/htin1/toktop Quick installation: cargo install toktop