Skip to content

CodexBar

Peter Steinberger and contributors · Monitor AI coding-service quotas, reset times and usage costs from the macOS menu bar.

CaskDeveloper Tools 23.3K
Install command
brew install --cask codexbar
30-day installs
3,318
#104 in App
1-year installs
32.8K
Last 365 days
Latest version
0.85.0
Download size
89MB
zip
Release cadence
Daily
5 releases in 30 days

About

CodexBar by Peter Steinberger is a usage monitor for AI coding services. It helps developers compare available quotas, reset times and spending across the providers they use. It is a community project, not an official OpenAI or Anthropic client, and does not provide an AI subscription or generate code itself.

Features

  • Show supported providers' usage windows and reset countdowns in the Mac menu bar.
  • Track balances and spending where the provider supplies those readings.
  • Inspect local token and cost history, with unavailable or incomplete estimates labeled.
  • Monitor provider service status and select separate or merged menu icons.
  • Use the bundled command-line companion for usage and configuration workflows.

Install and start

Install with brew install --cask codexbar, or unpack the official macOS ZIP and move CodexBar.app to Applications. Launch it and enable your providers in Settings. Authenticate using each integration's documented method. The cask also links the bundled CodexBarCLI helper as codexbar.

Requirements and compatibility

The macOS app requires macOS 14 Sonoma or later. The official universal ZIP serves Intel and Apple Silicon Macs. The current cask lists no extra formula dependency or explicit conflicting cask. Provider integrations can still require their own CLI, account credentials or local application data; installing CodexBar does not install or subscribe to every provider.

The project separately publishes a Linux desktop app and macOS/Linux CLI archives. Its Linux desktop distribution requires glibc 2.39+, Qt 6.4+, the separate CLI and Python 3 for its installer; it supports X11 and Wayland. Choose the correct architecture and follow the Linux installation guide. The README links a separate community Windows tray project using WSL2; that is not the macOS cask. No first-party mobile release was established from these sources. Swift 6.2+ is a source-build requirement, not a prerequisite stated for installing the prebuilt Mac release.

The verified universal 0.73.0 ZIP download is 77,745,899 bytes. This is not installed storage or accumulated history size. No fixed runtime RAM minimum was established. The official README screenshot illustrates a Claude usage card; its displayed account amounts and quotas are examples, not an offer or your account's readings.

Accounts, privacy, fees and license

CodexBar is MIT-licensed and available without a separate app subscription. AI-provider accounts, subscriptions and API usage remain subject to each provider's charges and terms. Quota availability varies by provider and account; local cost estimates need not equal a final invoice.

Access to cookies, tokens, local logs or Keychain entries depends on the selected integration. Enable only the integrations you intend to use and review their documentation. Do not assume that every provider uses the same login method or credential storage policy.

Sources: Official tagged README, Linux installation, MIT license, Official releases.

At a glance

Price
Free
System
macOS 14 or later
Chip
Apple silicon · Intel
Auto-updates
No
Repository
Open source · MIT · Updated 1 day ago★23.3K
Developer
Peter Steinberger and contributors
Homebrew
Available; updated by Homebrew
Also known as
codexbar
Homepage
codexbar.app
Token
codexbar

Checked

What’s new in 0.85.0

New · From GitHub Releases

Highlights

  • Providers: new TrustedRouter key limits and spend, MiMo Token Plan quotas, Notion AI personal allowances, Google Developer Program credits, and DeepSeek Platform spend. Grok prepaid credits reach the menu bar, OpenAI API snapshots carry the legacy credit balance, Helmcode shows billing-period credit usage, and Amp enterprise workspaces load with their recorded cost.
  • Cost: Claude and Pi cost by session and project, Codex Ultrafast and Fast pricing, filled-in Claude model prices, and a Models view in Usage & Spend.
  • Less repeated work: Usage & Spend stops reloading on every refresh tick (about 85% less background CPU at a 1-minute interval in a local profile), Codex cost-cache saves no longer rewrite ~100 MB, cancelled refreshes stop early, and Claude OAuth and Muse Code avoid repeated background Keychain prompts.
  • Claude accounts, CLI and server: claude-swap Overview, Plan Usage, tabs and shared cost follow the presented account, codexbar serve honors allAccounts, dashboard --no-cost skips cost work, and unknown --provider values are rejected.

Added

  • MiMo: add a Token Plan API-key source for China and Singapore, showing reported quota and reset dates without browser access (#5124, #5138). Thanks @whisky0809!
  • Grok: show prepaid Extra Usage Credits in the menu bar Balance element, including a zero balance, while respecting the optional-credits preference (#5127, #5138). Thanks @therealdeadfwd!
  • OpenAI API: include the remaining legacy API credit balance in provider cost snapshots, including CLI JSON, for downstream balance displays (#5109). Thanks @fcakyon!
  • CLI: add codexbar dashboard --no-cost for quota-only snapshots that skip cost refreshes (#5121, #5137). Thanks @get6!
  • Linux: add a pinned compact state to Quick View (#5130). Thanks @WizLiang!
  • Plugins: show point labels, values, and units when hovering detail-chart bars (#5092). Thanks @tangwz!
  • Browser cookies: support Chrome Dev in the shared browser import order while preserving explicit Chrome selections (#5136).
  • Notion AI: show personal Standard and Select monthly allowances alongside the separate workspace Notion Credits balance, preserving legacy windows, exact billing periods, and optional-usage visibility (#2888, #4919, #5102). Thanks @fakepooh and @KennyNoDie!
  • TrustedRouter: show the API key's remaining limit and daily, weekly, monthly, and total spend through the official key endpoint, including reservation-aware remaining amounts and explicit zero-dollar limits (#5119). Thanks @jperla!
  • Usage & Spend: include community plugins' existing cost usage in statistics and sharing without extra dashboard fetches or mixed provider identities (#5084). Thanks @tangwz!
  • Google Developer Program: show the current monthly Gen AI & Cloud credit of Google AI Pro and Ultra from the benefits page, using the signed-in browser session and finding the Google account that holds the credit (#5033, #5035). Thanks @fcakyon!
  • Pi: group local cost by session and project in the cost-history menu, Usage & Spend, and codexbar cost --group-by session|project, with JSON project totals and a one-time history rebuild (#4930, #5025). Thanks @oryband!
  • Claude: group local cost by session and project in the cost-history menu, Usage & Spend, and codexbar cost --group-by session|project, counting copied responses once and rebuilding history once after upgrading (#4930, #5026). Thanks @oryband!
  • DeepSeek: show Platform spend in menu-bar cost elements and Usage & Spend, preserving the reporting period, currency, and unavailable measurements (#5057). Thanks @zhb161!
  • CLI: declare DeepInfra setup guidance with API-key alternatives, piped input, and saved-account priority (#5077). Thanks @vincent-peng!
  • CLI: declare ElevenLabs setup guidance, including API-key alternatives, subscription-read permission, and saved-account priority (#5020). Thanks @vincent-peng!
  • Usage & Spend: add a Models view grouped by currency, preserve partial-history warnings, and match shared cards to the current appearance (#4889, #4888). Thanks @Chipagosfinest!
  • CLI: expose provider-owned setup routes for Copilot, OpenAI API, and Azure OpenAI, with explicit unknown guidance for other providers (#4705, #4916). Thanks @Yuxin-Qiao!
  • Devin: fall back to the desktop app session after browser sources, using only an existing silent Keychain grant and never prompting (#4905). Thanks @kentoku24!

Fixed

  • Codex: price native Ultrafast usage at the published, date-aware rates and keep its tier through cached history (#5133, #5139). Thanks @janishahn!
  • Codex: limit retained cost reports to the requested history period without discarding the wider cached history (#5125). Thanks @Yuxin-Qiao!
  • Muse (muse.ai): restore subscription discovery with immutable Next.js chunks, including stale-action recovery (#5093, #5095, #5120). Thanks @AnsonZhang0129, @ericgitlub, and @Kenlsc!
  • OpenAI API: honor the configured organization for legacy API credit balances without leaking the organization selection between token accounts (#5123, #5135). Thanks @Josephur!
  • Antigravity: discover the agy CLI bundled with Gemini.app after the existing CLI locations and shell lookups (#5113, #5135). Thanks @MaTouNB!
  • Claude: keep account tabs in numeric slot order when switching accounts (#5117). Thanks @sfxsalem!
  • Claude: make Plan Usage follow the presented claude-swap account instead of stale ambient history (#5110). Thanks @davisonio!
  • Claude Platform: keep balance reporting when credit grant details exceed the display limit (#5115). Thanks @Yuxin-Qiao!
  • Storage: keep Claude OAuth and Antigravity session locks in the user Application Support directory (#5122, #5137). Thanks @mrh-is!
  • HTTP server: honor allAccounts on /usage, isolate cached responses per request shape, and preserve explicit Claude token-account selection (#5098, #5099, #5137). Thanks @djbclark!
  • Cost history: align the model-list scrollbar with the menu edge (#5116). Thanks @soohanpark!
  • Cursor: restore Automatic local spend fallback for Tokscale JSON caches, preserving event snapshot deduplication and Manual credential boundaries (#5090). Thanks @vincent-peng!
  • Amp: load enterprise-paid workspaces, which report no balance, instead of failing with “Missing Amp usage data”, and show their 30-day recorded cost with daily cost, token, and model history from amp usage --details in the cost chart and Usage & Spend (#5128). Thanks @gmmeyer!
  • Claude: show the combined local cost history once below claude-swap account cards, as Codex does for its shared spend; Claude accounts mapped to their own config directory keep per-account cost (#5089). Thanks @michael0903!
  • Providers: stop cancelled refreshes before loading or attempting another browser-session candidate (#5085). Thanks @Lucenx9!
  • Plugins: align community-provider card headers with built-in cards and give refresh an explicit accessibility label (#5086). Thanks @tangwz!
  • Menu bar: preserve the full-size leading provider icon beside both text rows in high-contrast custom layouts (#5041). Thanks @deinspanjer and @nunoh!
  • Claude: draw weekly-only plans as a single menu bar meter instead of an empty session lane above the weekly bar (#4914, #5040). Thanks @wizaj!
  • Codex cost: stop rewriting every archived (.jsonl.zst) rollout in the cost cache on each save, which wrote about 100 MB per save on stores with a few thousand archived sessions (#5049). Thanks @oldcai!
  • Droid: correct missing API-key instructions for piped input and modern or custom config locations (#5065). Thanks @vincent-peng!
  • Venice: show the fetched USD or DIEM balance when the API reports calls are blocked instead of the generic unavailable message (#5048, #5050). Thanks @harjothkhara and @djbclark!
  • TypeSafe: send the browser same-origin headers the billing overview API expects so valid sessions stop surfacing as expired (#4922, #5022). Thanks @LeoLin990405 and @johan456789!
  • SiliconFlow: restore China balances through the signed-in console when Web is explicitly selected, keeping Auto and API on the configured API key (#5023). Thanks @NOIPJohnny!
  • Usage & Spend: hide model spend shares when the selected period contains unpriced requests, retaining known amounts and shares for fully priced selected days (#5024). Thanks @Chipagosfinest!
  • MiniMax: recover expired automatic browser sessions without background prompts, while Manual and Off remain isolated from automatic browser fallback (#5027). Thanks @tangwz!
  • Menu bar: keep zero-value secondary quota meters aligned with populated meters, preserving the compact layout when credits are shown (#5029). Thanks @nunoh!
  • Muse (muse.ai): recover usage after stale server-action responses, including HTTP 409, by rediscovering the action once while retaining it on transient failures (#5051, #5030). Thanks @tarunravi and @TM-AIStudios!
  • Helmcode: show NaN billing-period credit usage instead of frozen token quotas, with per-model credit details and purchased credits kept separate from spending (#5044). Thanks @eavilaes!
  • Claude: fill missing model prices in local cost reports, including cache writes, and reprice retained usage without rescanning unchanged transcripts (#5054). Thanks @urda!
  • Muse Code: prevent background and settings Keychain prompts when the CLI's signing-team restrictions exclude CodexBar, preserving the existing manual-refresh allowance (#5069, #5055). Thanks @enieuwy and @pjmuller!
  • Linux: make Quick View tab meters follow the same used-or-remaining preference as detailed quota bars (#5063). Thanks @marcelohildebrand!
  • Codex: apply Fast rates to additional models, including long-context requests, and recalculate saved cost estimates without discarding history (#5067). Thanks @jslabxyz!
  • Notifications: keep the app responsive when the system notification service stalls during notification removal (#5076). Thanks @djbclark!
  • Claude: make the Overview card follow the account presented by claude-swap, including inspected accounts, while retaining provider-wide local costs (#5078). Thanks @davisonio!
  • Linux: keep plan labels on one line and format token counts without duplicate separators on Qt 6.4 (#5052, #5080). Thanks @WizLiang!
  • Menu bar: keep provider-colored icons full size beside both rows of eligible custom layouts (#5031, #5081). Thanks @elpinguinofrio!
  • Claude: prevent repeated background OAuth Keychain prompts after credential updates and share one manual repair allowance with a denial cooldown (#3798, #5082). Thanks @ttoswar, @mskonovalov, @mvicari, and @JacobNWolf!
  • CLI: reject unknown --provider values for usage, cost, and cards with an argument error instead of silently falling back to enabled providers (#5017, #5019). Thanks @coygeek and @harjothkhara!
  • Ollama: support legacy API session and weekly balances while preserving monthly credits. (#5005, #5006) Thanks @Colafornia!
  • Mistral: recover from expired sessions that redirect to sign-in instead of returning HTTP 401/403. (#5000, #5002) Thanks @enieuwy!
  • Cursor: keep Manual credentials and local cost history account-scoped, preserve explicit unified-pool evidence, and use the current login route. (#4998) Thanks @Chipagosfinest!
  • Claude: show Enterprise extra-usage limits in the provider switcher while preserving provider identity boundaries. (#4989) Thanks @jey3dayo!
  • Alibaba: read Team CLI seat quotas, retain browser fallback for unavailable credits, and recognize mainland Qwen aliases. (#5008) Thanks @yinjialu!
  • Share Stats: replace faint provider markers with recognizable provider icons in light and dark cards. (#5011) Thanks @Chipagosfinest!
  • Claude: finish the CLI /usage read as soon as a weekly-only plan's quota is drawn, instead of waiting out the 20-second probe timeout (#5066, #5070). Thanks @mjaverto!
  • Usage & Spend: stop reloading the shared dashboard, and rescanning Codex history, on every refresh tick when Grok, OpenAI API, OpenRouter, Mistral, xAI, DeepSeek, or OpenCode Go is enabled, including when DeepSeek or xAI report no spend analytics; unchanged spend no longer counts as a new source revision, cutting background CPU by about 85% at a 1-minute refresh interval in a local profile (#5071, #5141).
  • OpenCode Go: Auto waits at most 5 seconds for a large local history before returning remote quota, without showing partial history; without remote quota it still returns the local estimate, and the scan keeps warming the cache for a later refresh (#5060, #5062). Thanks @harjothkhara and @faresahmedbaianat-hash!

Changed

  • Codex cost: avoid decoding saved file details twice during local cost reads (#5108, #5137). Thanks @tkafka!
  • Dependencies: update SweetCookieKit 0.6.0, Commander 0.3.1, swift-crypto 5.1.2, swift-log 1.17.2, swift-asn1 1.7.4, and the release Sparkle signing tools 2.10.1 (#5136).
  • Docs: restore the README introduction to the complete provider list and point provider-status instructions to General → Refreshing (#5114, #5105). Thanks @davisonio and @nunoh!
  • Performance: reduce refresh work by preparing only the requested provider's settings instead of every provider's settings (#5083).
  • Claude: reduce local-history memory by sharing identical quota-event buffers while preserving independent reporting windows and cache validation (#5014).
  • Widgets: show provider logos and improve low-quota bar contrast without changing layouts or refresh behavior (#4887). Thanks @Chipagosfinest!

How to install CodexBar on Mac

Homebrew installs the app in your Applications folder.

Install without Homebrew

Download the same file Homebrew uses: Install Details

Uninstall CodexBar and optional data cleanup

Uninstall command
brew uninstall --cask codexbar

A regular uninstall removes the app and keeps its settings and caches.

Deep clean (optional)
Uninstall command
brew uninstall --zap --cask codexbar

--zap also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out --zap.

Questions about CodexBar

Is CodexBar safe?

CodexBar is in Homebrew’s official catalog and has not been disabled. Since September 2026, Homebrew disables apps that fail macOS Gatekeeper checks. When installing, Homebrew checks the download from github.com against its SHA-256 checksum. It was installed 3,318 times through Homebrew in the last 30 days.

Is CodexBar free?

Yes, CodexBar is free to use. Source: codexbar.app, checked Oct 16, 2026.

Is CodexBar open source?

CodexBar’s source code is public on GitHub (steipete/CodexBar) under the MIT license.

How do I completely uninstall CodexBar on a Mac?

Run brew uninstall --cask codexbar. It quits the app. To delete its settings and caches as well, run brew uninstall --zap --cask codexbar. --zap also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out --zap. That also deletes 21 files and folders, including ~/.codexbar.

Does CodexBar run on Apple silicon (M1 and later) Macs?

Homebrew installs it on both Apple silicon and Intel Macs, from the same download. It needs macOS 14 or later.

Where does CodexBar store its settings and data?

Its settings are in ~/Library/Preferences/com.steipete.codexbar.plist. Its data is in ~/.codexbar, ~/Library/Application Support/CodexBar, and ~/Library/Application Support/com.steipete.codexbar. These locations come from Homebrew’s clean-up list.

What is the latest version of CodexBar?

The latest version is 0.85.0, added to Homebrew on Nov 21, 2026. Run brew upgrade --cask codexbar to update it.

What else does installing CodexBar add?

It also adds 1 command-line tool: codexbar.

Similar Apps

  • VSCodiumCommunity-built, MIT-licensed VS Code binaries with core telemetry disabled by default and Open VSX extensions.
  • Sentry CLICommand-line tool for Sentry artifact uploads, release management and supported issue, log, build and snapshot workflows.
  • IntelliJ IDEAJava and Kotlin IDE with code insight, refactoring and debugging; free core tools and optional Ultimate subscription features.
  • Unity HubInstall Unity Editor versions and modules, organize projects, and manage templates and licenses.
Browse all apps