PCTUTU.comBack to PCTUTU.com
GitHub projects
token-remainUtilities
Category
Utilities
Publisher
Carstin520
Repository
Open repository
Release
Open release
Current version
v1.5.3
Release date
2026-11-23
Package size
macOS 15.6 MB
Utilities · Carstin520

token-remain

Your AI coding quota, always in the Mac menu bar. Credentials never leave your machine: read only, never refreshed, never uploaded.

Version v1.5.3
Available for macOS

README

TokenRemain mascot animation: remaining quota draining from 100% to 0%, expression changing along the way

TokenRemain

Your AI coding quota, always in the Mac menu bar.
Credentials never leave your machine: read-only, never refreshed, never uploaded.

Latest release macOS 14+ · Universal Notarized by Apple Apache-2.0 license

⬇️ Download TokenRemain.dmg

Website · iPhone beta · Changelog · Privacy · Issues · 简体中文


Dashboard Overview: what runs out first, today's tokens and estimated cost, every official quota window with plan badges, today's usage and trending AI posts Menu bar panel: remaining quota per app with full window lengths, today's local usage and the AI Feed

Remaining quota, reset countdowns and today's cost for Claude Code, Codex, Cursor, Grok, GLM and 27+ tools — on one screen. (Real usage data.)

[!TIP] New in 1.5.1: a redesigned Dashboard and menu bar panel. Overview puts what runs out first, today's tokens and cost, every quota window and trending AI posts on one page; quota rows read simply "5 hours" or "Fable · 7 days", with the data source moved to the Dashboard's small print; plan badges follow your Subscriptions card; the Daily Usage Trend gets an Apps menu to add or remove apps. Numbers and bars roll in on first open, buttons answer with springs and ripples, and the panel and Dashboard fade in and out — all of it follows Reduce Motion. See the changelog for earlier releases.

Features

🧭 Quota — know whether you'll make it to reset

  • 27+ tools side by side: every official quota window with a progress bar, reset countdown and freshness; Overview lists them in one table, most urgent first.
  • Pace prediction: real window progress decides whether your current pace lasts until reset, with an ETA when it won't.
  • Clean rows: each bar names only its pool and window length ("5 hours", "Fable · 7 days"). Where the numbers come from (for example Claude Web) appears once, in the Dashboard's small print.
  • Multiple accounts: each account of the same tool gets its own rows; when an app has several, the non-default ones are named in small print above their rows. The Account Management page toggles monitoring per app, enables or pauses accounts, renames them and updates credentials.
  • Wherever you look: menu bar capsules, a floating window across Spaces, two meters on the Dock icon (you pick the apps), and a Liquid Glass panel on macOS 26 whose height follows the cards you expand. Reorder the panel's cards however you like.

📊 Usage — where the tokens go, and what you pay

  • Today's cost: the bundled ccusage counts 15+ local coding agents offline (Claude Desktop / Cowork included), estimated at official API list prices.
  • Choose what Trends shows: the Daily Usage Trend's Apps menu adds or removes apps. Apps whose local logs TokenRemain reads stay selectable even with nothing recent; apps with quota data only are listed so it's clear why they can't be charted.
  • Token mix and output speed: input, output, cache write and cache read counted separately; click any day for a per-model breakdown with end-to-end tok/s estimated from local Claude Code and Codex logs.
  • Subscriptions: monthly plan prices with per-account overrides, employer-paid exclusions and usage-based tier suggestions; plan badges on Overview and Limits follow what you set here.
  • Display currency: USD, CNY, EUR, JPY and 9 more; only list-price estimates are converted, official bills and balances stay in their billing currency.

🔐 Privacy — credentials never leave your Mac

  • Reads what's already there: no account to create, no telemetry, never refreshes third-party tokens, never uploads credentials.
  • Optional encrypted sync: off by default; when on, only an allowlisted snapshot is encrypted into your own iCloud for iPhone, Apple Watch and Home Screen widgets.
  • AI Feed and Trending: curated posts from Anthropic, OpenAI and other official accounts in a single readable column, the top picks shown on Overview, with local alerts for quota resets and major updates.
  • Light on energy: background CPU down 95% vs v1.2.2 (method), and 1.5 trims background wake-ups and memory further; interface in English, 简体中文, 繁體中文, 日本語, 한국어 and more.

Screenshots

Limits page: official windows per provider with reset countdowns, pace reserve and the data source in small print Trends page: stacked daily token bars with the Apps menu, token mix and quota-consumption curves
Limits · remaining quota, reset time and pace reserve for every window, flagged red with a run-out ETA when you're ahead of budget. Trends · daily tokens or cost stacked by app (pick them in the Apps menu), the token mix, and how fast each quota window is being used.
More screenshots: iPhone, Apple Watch and widgets

iPhone overview page, aggregating up to 16 Macs iPhone trends page iPhone AI Feed page Apple Watch overview

Small iPhone Home Screen widget Medium iPhone Home Screen widget

The iPhone app is in public TestFlight beta. Data is published one-way and encrypted by the Mac; the mobile client source is outside this repository's open-source scope.

Quick start

  1. Install: download the DMG, drag TokenRemain into Applications and open it.
  2. Pick your tools: the welcome screen scans your Mac for installed AI tools — tick the ones to track. TokenRemain reuses each tool's own sign-in, so there's nothing to log into; Codex can reuse the official desktop app's sign-in.
  3. Add keys if needed: for services that need an API key (Z.ai, OpenRouter, …), paste it straight into that service's quota card, or under "API key settings" on the Data Sources page. Keys stay in your Mac's Keychain.
  4. Tune it: set the quota refresh interval (1–30 minutes or manual) in Settings › Refresh & Sync; choose the Dock icon's two apps and the display currency in Settings › General; enter what you pay on Overview › Subscriptions; pick the apps in Trends with the Apps menu.

[!NOTE] Local token stats for Claude Code / Cowork need no extra CLI. Claude quota needs a readable Claude Code sign-in, or a claude.ai session configured on the Data Sources page (see the FAQ); signing in to the Claude desktop app alone doesn't guarantee the Code credential stays renewed.

Supported services

🟢 Auto = connected as soon as the tool is signed in · 🔑 API key = paste once, stored only in the macOS Keychain

Service Connect What it reads
Claude Code 🟢 5-hour / 7-day windows; third-party ANTHROPIC_BASE_URL attributed to its real API
Codex 🟢 5-hour / 7-day windows and reset cards; custom base_url attributed to its real API
Cursor 🟢 Monthly billing-cycle quota, with Cursor and other models as separate pools
Grok (xAI) 🟢 Weekly pool remaining
Grok Bot 🟢 Weekly allowance, read through the local Cursor sign-in (use the same Cursor account as Grok Bot)
GitHub Copilot 🟢 Monthly credits
Devin 🟢 Daily / weekly quotas
Windsurf 🟢 Daily / weekly quotas
Antigravity 🟢 Quota pools
OpenCode 🟢 Local plan estimate; third-party providers attributed to their real API
Z.ai / BigModel 🔑 Coding Plan quotas; prepaid CNY API balance on macOS (China → API Balance)
OpenRouter 🔑 Key limits, credits and account balance
16 more extended providers and local cost sources
Service Connection Service Connection
DeepSeek AP
Publisher informationSoftware details and release files are provided by the publisher.