- 01
The percentage and the reset time
Each account shows its 5-hour window and its week with a percentage and a line like “resets today at 4:00 PM”.
- 02
All your machines added up
Usage from your Mac and your connected machines is combined per account. You can also see it machine by machine.
- 03
A warning before the cap
doki alerts you on the Mac when a Claude account reaches 90% and again when it hits the limit.
- 04
Your own caps
If doki doesn’t know your Claude plan’s limit, it learns it from the times Claude stopped you, or you set it yourself in tokens.
What the Usage screen shows
There is one card per account, with the email or name, the plan and the machines it’s signed in on. Inside, one bar for the 5-hour session and one for the week, each with its percentage and when it resets.
The colors follow a simple rule: green under 60%, orange from 60 to 85%, red above. From 85% on, doki’s overview highlights it with a warning.
- A chart of tokens per day for the last week.
- A list of who spent the most this week, by project and machine.
- Today’s token total.
- A button to refresh the data whenever you want.
dokiMacBook ProOverview
Where the Claude Code and Codex numbers come from
Codex records its own limits, so doki reads them as they are: that percentage is labeled official. For Claude Code, doki adds up the tokens in the conversations stored on your machine, and the percentage is labeled estimated.
If you want Claude’s real limit, you turn it on in Usage. Claude Code hands that figure to its status line, and doki installs a tiny one that only saves that number. It asks first, makes a backup and, if you already have your own status line, leaves it alone.
The reader runs on your machine and reads the ~/.claude and ~/.codex folders. Only numbers leave each machine, never the content of your conversations.
Usage per machine and per account
If you use the same Claude account on your Mac and on another machine, there is only one limit. doki adds up the tokens from all of them so the percentage is what you really have left.
In the By machine view you pick a machine and see only its accounts, its tokens per day and its projects. It’s how you find which machine is eating the week.
The same reader runs on your Mac and on your machines connected over SSH, so the numbers mean the same everywhere.
dokiservidor-prodMachines
How to set your own caps
Claude Code doesn’t write down what your plan’s limit is. So doki learns it: when Claude stops you, it notes how many tokens that window had used and takes that figure as the cap.
Under Claude caps you can adjust both values by hand, in tokens: one for the 5-hour session and one for the week. Yours wins over the learned one. If there is neither, doki shows tokens without a percentage.
What to do when an agent is close to its limit
Usage isn’t only on its own screen. The sidebar has a line with the logo and percentage of each account, and the field where you type shows a ring with the usage of that agent’s account. You see it before sending more work.
If Claude is at 86% and the reset is two hours away, you can give the new task to Codex. You choose the agent when you create it or when you assign a task. The Claude Code or Codex guide compares what each one is better at.
doki doesn’t charge per token or resell models. What you spend is the plan you already have with each provider. What you pay doki is on Pricing.
dokiMacBook ProHow to start
Open Usage in the sidebar
doki reads Claude Code and Codex usage on your Mac by itself. There is nothing to connect.
Turn on Claude’s real limit
It’s optional. With Turn on, doki shows the percentage Claude Code reports instead of an estimate.
Adjust your caps if you need to
Under Claude caps, enter your 5-hour and weekly limits in tokens.
Check the percentage before you assign
It’s in the sidebar and next to the text field. If one account is running high, send the work to another agent.
Frequently asked questions
Which agents does doki show usage for?
Claude Code and Codex, on your Mac and on your connected machines. For Codex it reads the limits Codex itself records. For Claude Code it adds up the tokens in its conversations and, if you turn it on, reads the real limit Claude reports.
Is doki’s percentage exact?
For Codex, yes: it comes from Codex itself and is labeled official. For Claude Code it’s exact if you turn on the real limit. Otherwise it’s an estimate based on your tokens and on the caps doki learned or you set, and it’s labeled estimated.
Does doki warn me before I hit the limit?
Yes. For Claude accounts you get a notification on the Mac at 90% of the 5-hour window or the week, and another when you reach the limit, with the time it resets. It’s one alert per window.
Does doki sell tokens or AI usage?
No. Your agents use the plans you already pay each provider for, with your own accounts. doki only shows how much you’ve used. doki’s price doesn’t depend on how much you use your agents.
Does doki switch agents by itself when one hits its limit?
No. doki shows you the usage and warns you, and you decide who gets the next piece of work. You can pick a different agent when you create a new one or when you assign a task.
Do my conversations leave my machine to calculate usage?
No. The calculation runs on each machine and only returns numbers: tokens, percentages and dates. The content of your conversations stays put. More in Security.