claudeers.
// Developer Tools

tokentray

Claude Code, Codex, Gemini (Antigravity), Cursor, Grok & OpenCode usage limits live in the Windows taskbar — session & weekly limits, reset times, pace warni…

// Developer Tools[ cli ][ api ][ desktop ][ web ][ claude ]#claude#ai-coding#anthropic#antigravity#claude-code#codex#cursor#developer-tools#devtools◷ MIT$open-sourceupdated 2 days ago

Install with your AI

Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.

Install and set up tokentray (release-binary project) into my current project.
Found on https://claudeers.com/tokentray
Repo: https://github.com/emrecengdev/tokentray
Homepage/docs: https://github.com/emrecengdev/tokentray/releases/latest
Detected install method: release-binary → inspect the README
Category: devtools. Platforms: cli, api, desktop, web.
Read the repo's README for exact setup and env vars, then install it and wire it into my project.

Claudeers Health Verdict:
unknown; community-verified: false. Confirm the source before running anything.
// or install directly (release-binary)

Grab the latest release asset from GitHub.

# download a build from https://github.com/emrecengdev/tokentray/releases
// or clone
git clone https://github.com/emrecengdev/tokentray

// compatibility

Platformscli, api, desktop, web
Operating systems—
AI compatibilityclaude
LicenseMIT
Pricingopen-source
LanguageC#

Get your FREE $2.50 API credits to access TickAtlas financial data ↗
TokenTray: AI coding usage limits for Claude Code, Codex, Antigravity, Grok, Cursor and OpenCode, shown in the Windows taskbar next to the clock

A Claude Code usage monitor for Windows — and Codex, Gemini (Antigravity), Grok, Cursor and OpenCode too.
Your 5-hour session and weekly limits live next to the clock, with the exact time each one refills
and a heads-up before you run out. No browser tab, no /usage command, no telemetry.

Download for Windows  ·  Quick start  ·  Supported tools  ·  FAQ  ·  Türkçe


See it at a glance

Every tool you use gets a spot on the taskbar: session and weekly usage side by side, each number with its own reset — 03:00 when it's today, 2d when it's days away, and a 40m countdown in the last hour. Colors only change when something needs your attention.

Animated TokenTray widget: a Claude Code session fills up, turns amber, then red, refills, and the widget cycles through its five styles

Hover for the details

Rest the pointer on the widget and a card lists every limit with the exact time it refills. No clicking, no focus stolen.

TokenTray hover card listing Claude Code, Codex and Antigravity limits with exact reset times

Click for the whole picture

The panel reads your numbers back to you in one sentence per tool — plenty left, 87% used but this pace lasts until 04:00, or at this pace it runs out 2 hours before it refills — then lays out every window, plan and account. With three or more tools it opens into two columns.

TokenTray panel with Claude Code Max 20x, Codex Plus, Antigravity and Cursor usage bars, verdicts and reset times, above the Windows taskbar

The pace notch

Percentages tell you where you are. The notch tells you whether you'll make it. Every bar carries a mark for how much of its window has already passed; stay behind it and your allowance lasts until the reset.

Three usage bars explaining the pace notch: well under pace, on pace, and running hot

Make it yours

Five taskbar styles — Rings, Dots, Cells, Bars, Simple — each with the tool's name or a compact icon. Choose what it shows (session, weekly, reset time), used or left, and a light, dark or system theme. Settings preview every option with your own numbers before you pick.

All five TokenTray widget styles, Rings, Dots, Cells, Bars and Simple, each shown with a name and an icon variant

Everything else it does
  • Warnings that don't nag: a notification at 20% and 5% left and when a limit refills, once per cycle.
  • Several accounts: add another Claude Code or Codex config folder; each account keeps its own numbers and notifications.
  • Plans at a glance: Max 5x / 20x, Pro, Plus, Google AI Pro / Ultra — straight from your sign-in.
  • Never blank: the last reading survives restarts; if a sign-in expires or the network drops, numbers stay visible, dimmed, with an amber dot.
  • Polite to the services: every Retry-After is honored, across restarts and manual refreshes.
  • Knows its place: if taskbar buttons need the room, the widget turns compact, then steps aside; the tray icon stays.
  • Native feel: acrylic panel on Windows 11, per-monitor DPI, respects reduced motion, keyboard-friendly panel, English and Turkish.

Supported tools

ToolLimits shownSigned in via
tokentrayClaude Code — Pro, Max 5x, Max 20x5-hour session, weekly, per-model weekly (e.g. Opus)Claude Code CLI, or the Claude desktop app (same account only)
tokentrayCodex — ChatGPT Plus, Pro5-hour session where your plan has one, weeklyCodex CLI
tokentrayGoogle Antigravity (Gemini)5-hour and weekly for Gemini models, plus the Claude & GPT poolAntigravity
tokentrayGrok BuildWeekly or monthly credit poolGrok CLI
tokentrayCursorIncluded usage this billing month, API usageCursor
tokentrayOpenCode Go5-hour, weekly, monthlyA workspace id and session cookie you provide

Tools found on your PC switch on by themselves; the rest are one toggle away in Settings → General.

Quick start

  1. Download the zip for your PC from the latest release.
  2. Unzip it anywhere and run TokenTray.exe. The panel opens once to show what it found.
  3. Optional: Settings → General → Start with Windows.
DownloadForSize
TokenTray-…-win-x64.zipMost PCs. Single file, nothing else to install.~70 MB
TokenTray-…-win-arm64.zipSnapdragon and other ARM laptops.~70 MB
TokenTray-…-win-x64-small.zipPCs with the .NET 10 Desktop Runtime.6 MB

[!NOTE] TokenTray isn't code-signed yet, so SmartScreen may ask the first time: More info → Run anyway. Each release ships SHA256SUMS.txt so you can check what you downloaded.

Requirements: Windows 10 (1809+) or Windows 11, x64 or ARM64, and at least one signed-in tool from the list above.

Do thisTo
Hover the widgetSee every limit with its exact reset time
Click the widget or tray iconOpen the panel
Right-clickRefresh now · Settings · Quit
Settings → TaskbarPick a style and variant, what it shows, and its position
Settings → GeneralTools, extra accounts, used or left, theme, emails, notifications, check interval

If Windows 11 tucks the tray icon under ^, drag it onto the taskbar to keep it in view.

Privacy and security

TokenTray has no server. It reads the sign-ins already on your PC and asks each tool's own usage endpoint — the same numbers the tool shows you — and nothing else leaves your machine.

flowchart LR
    S["Sign-ins already on your PC<br/>Claude Code, Codex, Antigravity, Grok, Cursor"] -- "read only" --> T(("TokenTray"))
    T -- "HTTPS, your own token" --> E["Each tool's official<br/>usage endpoint"]
    E -- "percentages and reset times" --> T
    T --> U["Taskbar widget<br/>panel and notifications"]
  • Read-only. Tokens are never refreshed, copied or written. When a sign-in expires, open the tool once and it renews itself.
  • No telemetry, no analytics, no accounts.
  • Stays local: settings in %APPDATA%\TokenTray; the last reading and notification history in %LOCALAPPDATA%\TokenTray.
  • Claude desktop app: its sign-in is encrypted for your Windows user. TokenTray decrypts it with Windows DPAPI, as the app does, and uses it only when it's the same account as your Claude Code CLI.

Found a vulnerability? Please report it privately — see SECURITY.md.

FAQ

How do I see my Claude Code usage limits on Windows?
Sign in to Claude Code (claude) or the Claude desktop app, then run TokenTray. Your 5-hour session and weekly limits appear next to the clock — the same numbers Claude shows in its usage settings, with the reset time beside each.
Does it show the Codex 5-hour limit?
Yes, when your ChatGPT plan has one. TokenTray shows exactly the windows Codex reports for your account. If there's only a weekly limit, that's all you'll see — no empty placeholders.
What does the percentage mean — used or left?
Used by default, matching Claude and Codex. Switch to left in Settings → General → Numbers show.
It says "sign-in expired". What do I do?
Open the tool once — run claude, codex or grok, or open Antigravity or Cursor — and it renews its own sign-in. Until then TokenTray keeps your last reading on screen, dimmed.
Why is the shortest check interval two minutes?
Claude's usage endpoint answers frequent requests with 429 Too Many Requests. Two minutes stays well inside that, and TokenTray waits out every Retry-After.
Vertical taskbar, auto-hide, several monitors?
The widget lives on the main monitor's horizontal taskbar and moves with auto-hide. With a vertical taskbar, the tray icon and panel still work.
Is it affiliated with Anthropic, OpenAI, Google, xAI or Cursor?
No. TokenTray is an independent open-source project, not affiliated with or endorsed by any of them. The tool icons are simple geometric marks, not their logos.

Build from source

git clone https://github.com/emrecengdev/tokentray
cd tokentray
dotnet test                          # 50 unit tests, no network
dotnet run --project src/TokenTray   # run it
.\publish.ps1 -Version 1.1.0         # release zips + SHA256SUMS in .\dist

Requires the .NET 10 SDK. src/TokenTray.Core holds providers, polling, pace and caching with no UI; src/TokenTray is the WPF app.

Every image in this README is drawn by TokenTray itself from sample data — no screenshots of real accounts: TokenTray.exe --render-media docs\media, then python tools\make_hero.py docs\media.

Contributing

Reports from tools, plans and Windows setups we can't test ourselves are gold — Cursor, OpenCode Go, Grok monthly plans, Codex plans with a 5-hour window, Windows 10 and ARM64. See CONTRIBUTING.md.

If TokenTray saved you from a surprise limit, a ⭐ helps other people find it.

License

MIT © Emre Canik. Product names belong to their owners.

// faq

What is tokentray?

Claude Code, Codex, Gemini (Antigravity), Cursor, Grok & OpenCode usage limits live in the Windows taskbar — session & weekly limits, reset times, pace warnings.. It is open-source on GitHub.

Is tokentray free to use?

tokentray is open-source under the MIT license, so it is free to use.

What category does tokentray belong to?

tokentray is listed under devtools in the Claudeers registry of Claude-compatible tools.

3 views
★ 13 stars
unclaimed
updated 2 days ago

// embed badge

tokentray on Claudeers
[![Claudeers](https://claudeers.com/api/badge/tokentray.svg)](https://claudeers.com/tokentray)

// retro hit counter

tokentray hit counter
[![Hits](https://claudeers.com/api/counter/tokentray.svg)](https://claudeers.com/tokentray)

// reviews

// guestbook

0/500

// related in Developer Tools

🔓

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Curs…

// devtoolsaffaan-m/⟨JavaScript⟩★ 267,519◷ MIT[ claude ]
🔓

Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.

// devtoolsDietrichGebert/⟨JavaScript⟩★ 148,251◷ MIT[ claude ]
🔓

Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA

// devtoolsgarrytan/⟨TypeScript⟩★ 134,274◷ MIT[ claude ]
🔓

AI coding assistant skill (Claude Code, Codex, OpenCode, Cursor, Gemini CLI, and more). Turn any folder of code, SQL schemas, R scripts, shell scripts, docs,…

// devtoolssafishamsi/⟨Python⟩★ 123,348◷ MIT[ claude ]
→ see how tokentray connects across the ecosystem