Privacy
Privacy & cookies
This covers the Ration website. The macOS app itself is separate: it reads your Claude, ChatGPT and Cursor usage locally on your Mac and does not send it to us.
What this site collects
Nothing by default. The site is static and has no accounts, forms, or server logic. If you accept analytics (below), we load Google Tag Manager, which may load Google Analytics to measure aggregate, anonymized usage — such as pages viewed and rough location. We never sell data.
Sub-processors
Two sub-processors handle traffic to this website. Cloudflare serves and caches the pages from its edge network (hosting, TLS, DNS), and sees request metadata such as IP addresses in the course of doing so. Google (Tag Manager and, through it, Google Analytics) receives data only if you accept analytics below. The app itself has no processors: it talks only to the providers you sign in to, and to the admin APIs of any API accounts you add.
Cookies
No tracking cookies load until you press Accept on the banner. Your choice is stored in your browser's local storage (ration-consent) — not a cookie, and not sent anywhere.
- Accept — Google Tag Manager loads and may set Google Analytics (
_ga*) cookies. - Decline — nothing analytics-related loads; any existing
_ga*cookies are cleared. - Change your mind anytime via Cookie preferences in the footer.
The app's data
Ration is local-first. It sends nothing to us (the developer) or to any analytics or advertising service. It does talk to Claude, ChatGPT and Cursor directly from your Mac, using your own signed-in sessions — those requests, and the sign-in itself, go straight to Anthropic, OpenAI, Cursor, and whatever identity provider you sign in with (for example Google or Microsoft), over HTTPS, exactly as they would in a browser. Your session cookies are sent to those providers to authenticate you, and nowhere else. If you add an API account, the app also reads your organization's cost and usage reports from Anthropic's and OpenAI's admin APIs (api.anthropic.com, api.openai.com) with the Admin key you paste, and sends that key to nobody else. Claude Code and Codex switching, keep awake and Claude plan value work entirely on your Mac and send nothing anywhere (details below). Everything the app keeps is stored on your Mac, inside its sandbox container, except those Admin keys and your remembered Claude Code and Codex sign-ins, which live in your login Keychain:
- Your provider sign-in sessions — each account gets its own isolated browser data store (an Apple
WKWebsiteDataStore: cookies, cache, and local storage for that Claude, ChatGPT or Cursor login). This stays on your Mac and is deleted when you remove the account. - Account metadata — the label you type, which provider it is, and internal IDs — as plain-text JSON. No passwords or access tokens are ever written to these files; credentials live only in the isolated browser data store above.
- Your API Admin keys — one per API account, in your macOS login Keychain, never in a file. Each key is sent only to the vendor that issued it, and it is deleted from the Keychain when you remove the API account.
- API accounts and spend reports — each API account's name, vendor, budget and alert state, and the latest month-to-date cost and token reports, as plain-text JSON. No key is ever written to these files.
- Remembered Claude Code sign-ins — when you remember the sign-in Claude Code uses, a copy of it goes to your macOS login Keychain (not synced), one item per Claude account, so Ration can switch Claude Code back to it without a new login. Forget all sign-ins in Settings › Claude Code deletes them.
- Claude Code switching state — which Claude account each remembered sign-in belongs to, your automatic-switching rule, the last switch and a history of switches (when, and between which Claude account IDs), as plain-text JSON. Forget all sign-ins deletes the links and the history too.
- Remembered Codex sign-ins — when you remember the sign-in Codex uses, a copy of Codex's sign-in file goes to your macOS login Keychain as Ration's own item (never synced), one per sign-in, so Ration can switch Codex back to it without a new login. Forget deletes one; Forget all sign-ins in Settings › Codex deletes them all.
- Codex switching state — each remembered sign-in's ID (its ChatGPT account and user IDs) and the Ration account it belongs to, your automatic-switching rule, and Ration's last 500 switches (when, between which sign-in IDs, by hand or by the rule), as plain-text JSON, plus, while a switch runs, a note of which remembered copy to restore if it fails, never the sign-in itself. Forget all sign-ins deletes the links and the history too.
- Claude plan value — only if you turn it on: a local database of what was counted (a hash of each reply's ID, its time, model, what sets its price, and token and web-search counts), when Ration read or switched Claude Code's sign-in and which Claude account and organization it named, the permission for the folder you chose, and the period you picked. No prompts, replies, code, keys, or file and project names. Stop and forget deletes all of it.
- Usage snapshots and history — your current and past usage and reset times for each window the provider reports (5-hour, weekly, Fable weekly on Claude Max and Ultra) plus Cursor's usage-based spend, as plain-text JSON, so the app can show live limits, chart trends, and project when you'll run out. With each snapshot it keeps the account's credits: for Claude, the usage-credit balance, each grant's kind, amount, what is left and its expiry, and whether claude.ai's usage-credit switch is on; for ChatGPT, the Codex credit balance. History is kept as hourly buckets in per-month files and is not deleted on a schedule; removing an account deletes its history with it.
- Alert and cleanup state — which usage alerts have already fired (so you aren't notified twice), and a short-lived record of browser profiles queued for deletion after you remove an account.
- Your settings — sort order, which accounts the popover shows unfolded, alert, notification-privacy and warm-up preferences, quiet hours, and holidays.
Claude Code switching
To switch, Ration reads and writes Claude Code's own sign-in entry in your login Keychain and the account section (oauthAccount) of ~/.claude.json, one of the two files outside its sandbox it may open (the other is Codex's, below). It controls Claude Code's default configuration only. It writes the Keychain entry with macOS's security tool, the way Claude Code does; when the entry is large (it also holds your MCP servers' sign-ins) it is passed on that tool's command line, where other processes on your Mac can see it for the moment it runs, as they already can each time Claude Code saves it. Nothing is sent over the network.
Codex switching
To switch, Ration reads and writes Codex's own sign-in file, ~/.codex/auth.json, the other file outside its sandbox it may open; the ChatGPT app's Codex uses the same file. It writes the file in place, directly, so no command line ever carries a token. It controls Codex's default configuration only (no CODEX_HOME, no keychain store), and automatic switching stays off until you confirm that. Only new Codex sessions use the switched account. Forget all sign-ins deletes Ration's copies, the links and the switch history; Codex itself stays signed in to whatever it uses then. A remembered copy can stop working if that account is refreshed elsewhere (the ChatGPT app, another Mac); Ration then asks you to sign in and Remember again. Nothing is sent over the network.
Keep awake
Off until you turn it on in Settings › Features. While an account is in use, Ration asks macOS, through its own process, to hold off idle sleep (the same request caffeinate -i makes); during an override from the popover's eye it keeps the display on too, as caffeinate -d does. It changes no setting and writes nothing. pmset -g assertions lists the hold under Ration while it is live, and it ends with the override, the switch, or when Ration quits or crashes. A closed lid, the Apple menu, low battery and thermal limits still sleep the Mac.
Claude plan value
Off until you turn it on in Settings › Features. It first shows what it will read and keep, then asks you to choose Claude Code's projects folder (normally ~/.claude/projects). It then reads Claude Code's session logs in that folder and the account section of ~/.claude.json, counts each reply's tokens and prices them with the list prices built into the app. Folder names are seen while listing the logs and never kept. Turning it off stops counting, forgets the folder permission and deletes what was counted.
Because these files are plain text inside your user account, anyone with access to your unlocked Mac or its backups could read them. If your account labels are sensitive (for example, a client or employer name), turn on Hide account details in notifications in the app's settings so labels and exact usage stay off your lock screen.
Verify it yourself
Ration is open source under the MIT license. Every request the app makes and everything it stores is in the code at github.com/IZZY-Agency/ration, and each release on GitHub is the exact tree the shipped build was made from.
Contact
Built by IZZY.Agency. Questions about this site: reach out via izzy.agency.