How to track your Codex usage limits on a Mac
Codex has a 5-hour and a weekly limit too. Here is how to keep them in your Mac's menu bar, next to Claude Code.
Part 3 of 5 in our AI coding on Mac series.
OpenAI's Codex CLI has the same shape of limits as Claude Code: a 5-hour window for bursts and a weekly window for your total. If you use both tools, it is easy to switch to Codex only to find it is nearly out as well.
Where the numbers come from
PeekyMac asks your Codex account for your current limits using the login Codex already has on your Mac, and falls back to the limits Codex records in its local session logs. You don't need an API key, and the numbers stay on your Mac.
See both tools side by side
In PeekyMac, Codex gets its own card next to Claude Code:
- 5-hour and weekly bars, each with a tick for how much of the window has passed.
- A status: on track, burning fast, running out, or out of usage.
- The reset time, so you know when it is worth switching back.
The menu bar shows whichever limit is closest to running out, so one glance tells you if you can keep going.
Switching between Claude Code and Codex
A simple routine that works well:
- Start the day on the tool whose weekly limit has the most room.
- When one card turns orange, move the next task to the other tool.
- Use the Today view to see tokens, requests and an estimated API value for each tool, with a 7-day chart.
FAQ
Does PeekyMac support other providers? Yes: Cursor, Vercel AI Gateway, DeepSeek, OpenRouter, Kimi and more show up as cards too.
Can I hide a provider I don't use? Yes, pick which limits appear in the menu bar in Settings → AI Agents.
Does it work offline? The cards keep the last numbers your Mac saw and refresh when you are back online.
The AI coding on Mac series
- Claude Code usage limits explained: the 5-hour and weekly windows
- Hit your Claude Code limit? Continue the session at the reset
- How to track your Codex usage limits on a Mac (you are here)
- Keep your Mac awake during long Claude Code and Codex runs
- Desktop widgets for AI coding: limits, sessions and approvals at a glance
PeekyMac is free for 7 days, no card needed. Download PeekyMac
