Usage and limits

How much is left on each agent’s plan

Agent limits arrive without warning, right in the middle of a task. doki shows how much you’ve used and what time it resets, before the agent stops.

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.

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.

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.

How to start

  1. Open Usage in the sidebar

    doki reads Claude Code and Codex usage on your Mac by itself. There is nothing to connect.

  2. Turn on Claude’s real limit

    It’s optional. With Turn on, doki shows the percentage Claude Code reports instead of an estimate.

  3. Adjust your caps if you need to

    Under Claude caps, enter your 5-hour and weekly limits in tokens.

  4. 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.

Updated November 18, 2026

Never leave an agent waiting.

Claude Code, Codex, Cursor and the rest in one Inbox: on your Mac, the browser, your phone and your servers.

See pricing →