Building a Native macOS Usage Monitor for Codex Desktop

https://hackernoon.imgix.net/images/tglUwk4JzbT7HmOwftXPi8q5kwF3-rj82eqt.png

I maintain CodexMeter, an independent, open-source menu-bar companion for Codex Desktop that brings remaining quota, today's local token estimate, and the latest completed response's effective speed into separate native macOS menu-bar items.

From the start, the useful engineering question is how to make those numbers visible without making them look more authoritative than their sources allow. An account limit, a local usage counter, and a response timing estimate describe different things. CodexMeter keeps its collection paths and meanings separate.

CodexMeter menu bar with weekly quota, local tokens and estimated TPS

Original capture: weekly quota 59%, local tokens 201.2M and TPS 36. Captured example readings, not live data or a benchmark. (Source: CodexMeter maintainer)

Three signals, three different scopes

Quota percentages and reset windows come from the Codex account response. They are not calculated by converting local tokens into a remaining allowance. A countdown reaching zero also does not prove that...

Copyright of this story solely belongs to hackernoon.com. To see the full text click HERE