steipete/CodexBarPublic

Show usage stats for OpenAI Codex and Claude Code, without having to login.

AI summary: A macOS menu bar utility that consolidates and monitors API limits and token usage across dozens of AI coding assistants.

Stars
22.1K
+79 today
Forks
2K
Watchers
58
Open issues
145
Open PRs
15
Contributors
~453
Commits
6.2K
Branches
648

SwiftMITCreated Nov 16, 2025Last push 1d agoLatest release v0.66.0+272 stars this week+1.3K this month

Quick answers

What is CodexBar?
A macOS menu bar utility that consolidates and monitors API limits and token usage across dozens of AI coding assistants.
What does CodexBar do?
CodexBar is a lightweight, privacy-focused macOS menu bar app designed to track usage limits, credit balances, and session resets for numerous AI coding providers. It continuously polls and displays real-time quotas for services like Claude, OpenAI, Grok, and Gemini without requiring users to manually check multiple dashboards. The app extracts session data from existing configurations, such as OAuth flows, local configuration files, and API keys, ensuring that no sensitive credentials are unnecessarily exposed or stored. It helps power users effectively manage their API consumption and anticipate limit resets during heavy development sessions.
Who is CodexBar for?
macOS developers, power users, and engineers who frequently use multiple AI coding assistants and need to manage their API usage limits.
How do I get started with CodexBar?
brew install --cask codexbar
How popular is CodexBar on GitHub?
steipete/CodexBar has 22,148 stars and 2,037 forks on GitHub, and gained 272 stars in the last 7 days.
What license does CodexBar use?
steipete/CodexBar is released under the MIT license.

Star history

since Jul 29, 2026
010K20KJul 2026Aug 2026Sep 2026Oct 2026
22.1K stars as of Oct 3, 2026. Measured daily since Jul 29, 2026; GitHub no longer exposes earlier star timestamps.

Contribution activity

commits per day, last 52 weeks
SepOctNovDecJanFebMarAprMayJunJulAugSepMonWedFri2025-09-27: 0 commits2025-09-28: 0 commits2025-09-29: 0 commits2025-09-30: 0 commits2025-10-01: 0 commits2025-10-02: 0 commits2025-10-03: 0 commits2025-10-04: 0 commits2025-10-05: 0 commits2025-10-06: 0 commits2025-10-07: 0 commits2025-10-08: 0 commits2025-10-09: 0 commits2025-10-10: 0 commits2025-10-11: 0 commits2025-10-12: 0 commits2025-10-13: 0 commits2025-10-14: 0 commits2025-10-15: 0 commits2025-10-16: 0 commits2025-10-17: 0 commits2025-10-18: 0 commits2025-10-19: 0 commits2025-10-20: 0 commits2025-10-21: 0 commits2025-10-22: 0 commits2025-10-23: 0 commits2025-10-24: 0 commits2025-10-25: 0 commits2025-10-26: 0 commits2025-10-27: 0 commits2025-10-28: 0 commits2025-10-29: 0 commits2025-10-30: 0 commits2025-10-31: 0 commits2025-11-01: 0 commits2025-11-02: 0 commits2025-11-03: 0 commits2025-11-04: 0 commits2025-11-05: 0 commits2025-11-06: 0 commits2025-11-07: 0 commits2025-11-09: 0 commits2025-11-10: 0 commits2025-11-11: 0 commits2025-11-12: 0 commits2025-11-13: 0 commits2025-11-14: 0 commits2025-11-15: 0 commits2025-11-16: 57 commits2025-11-17: 27 commits2025-11-18: 27 commits2025-11-19: 63 commits2025-11-20: 34 commits2025-11-21: 70 commits2025-11-22: 73 commits2025-11-23: 1 commit2025-11-24: 3 commits2025-11-25: 28 commits2025-11-26: 6 commits2025-11-27: 0 commits2025-11-28: 0 commits2025-11-29: 0 commits2025-11-30: 0 commits2025-12-01: 0 commits2025-12-02: 1 commit2025-12-03: 0 commits2025-12-04: 3 commits2025-12-05: 0 commits2025-12-06: 0 commits2025-12-07: 13 commits2025-12-08: 9 commits2025-12-09: 11 commits2025-12-10: 1 commit2025-12-11: 1 commit2025-12-12: 1 commit2025-12-13: 13 commits2025-12-14: 0 commits2025-12-15: 0 commits2025-12-16: 0 commits2025-12-17: 30 commits2025-12-18: 32 commits2025-12-19: 41 commits2025-12-20: 41 commits2025-12-21: 29 commits2025-12-22: 36 commits2025-12-23: 46 commits2025-12-24: 38 commits2025-12-25: 72 commits2025-12-26: 62 commits2025-12-27: 64 commits2025-12-28: 75 commits2025-12-29: 39 commits2025-12-30: 10 commits2025-12-31: 17 commits2026-01-01: 42 commits2026-01-02: 17 commits2026-01-03: 4 commits2026-01-04: 18 commits2026-01-05: 16 commits2026-01-06: 4 commits2026-01-07: 7 commits2026-01-08: 9 commits2026-01-09: 5 commits2026-01-10: 9 commits2026-01-11: 5 commits2026-01-12: 2 commits2026-01-13: 1 commit2026-01-14: 0 commits2026-01-15: 7 commits2026-01-16: 38 commits2026-01-17: 32 commits2026-01-18: 29 commits2026-01-19: 12 commits2026-01-20: 21 commits2026-01-21: 5 commits2026-01-22: 6 commits2026-01-23: 1 commit2026-01-24: 1 commit2026-01-25: 2 commits2026-01-26: 0 commits2026-01-27: 0 commits2026-01-28: 0 commits2026-01-29: 0 commits2026-01-30: 0 commits2026-01-31: 4 commits2026-02-01: 3 commits2026-02-02: 13 commits2026-02-03: 4 commits2026-02-04: 5 commits2026-02-05: 6 commits2026-02-06: 7 commits2026-02-07: 13 commits2026-02-08: 2 commits2026-02-09: 4 commits2026-02-10: 11 commits2026-02-11: 10 commits2026-02-12: 10 commits2026-02-13: 14 commits2026-02-14: 2 commits2026-02-15: 11 commits2026-02-16: 21 commits2026-02-17: 16 commits2026-02-18: 12 commits2026-02-19: 3 commits2026-02-20: 7 commits2026-02-21: 5 commits2026-02-22: 7 commits2026-02-23: 7 commits2026-02-24: 4 commits2026-02-25: 6 commits2026-02-26: 8 commits2026-02-27: 5 commits2026-02-28: 4 commits2026-03-01: 3 commits2026-03-02: 6 commits2026-03-03: 1 commit2026-03-04: 0 commits2026-03-05: 4 commits2026-03-06: 2 commits2026-03-07: 6 commits2026-03-08: 9 commits2026-03-09: 0 commits2026-03-10: 3 commits2026-03-11: 0 commits2026-03-12: 1 commit2026-03-13: 2 commits2026-03-14: 3 commits2026-03-15: 9 commits2026-03-16: 5 commits2026-03-17: 2 commits2026-03-18: 1 commit2026-03-19: 4 commits2026-03-20: 2 commits2026-03-21: 2 commits2026-03-22: 9 commits2026-03-23: 11 commits2026-03-24: 1 commit2026-03-25: 0 commits2026-03-26: 0 commits2026-03-27: 1 commit2026-03-28: 0 commits2026-03-29: 0 commits2026-03-30: 16 commits2026-03-31: 2 commits2026-04-01: 13 commits2026-04-02: 1 commit2026-04-03: 12 commits2026-04-04: 6 commits2026-04-05: 5 commits2026-04-06: 2 commits2026-04-07: 3 commits2026-04-08: 23 commits2026-04-09: 5 commits2026-04-10: 3 commits2026-04-11: 2 commits2026-04-12: 8 commits2026-04-13: 9 commits2026-04-14: 2 commits2026-04-15: 2 commits2026-04-16: 4 commits2026-04-17: 3 commits2026-04-18: 24 commits2026-04-19: 0 commits2026-04-20: 2 commits2026-04-21: 10 commits2026-04-22: 3 commits2026-04-23: 4 commits2026-04-24: 6 commits2026-04-25: 4 commits2026-04-26: 4 commits2026-04-27: 0 commits2026-04-28: 6 commits2026-04-29: 6 commits2026-04-30: 3 commits2026-05-01: 3 commits2026-05-02: 4 commits2026-05-03: 1 commit2026-05-04: 19 commits2026-05-05: 20 commits2026-05-06: 17 commits2026-05-07: 4 commits2026-05-08: 6 commits2026-05-09: 7 commits2026-05-10: 60 commits2026-05-11: 25 commits2026-05-12: 1 commit2026-05-13: 6 commits2026-05-14: 33 commits2026-05-15: 37 commits2026-05-16: 26 commits2026-05-17: 28 commits2026-05-18: 18 commits2026-05-19: 0 commits2026-05-20: 23 commits2026-05-21: 13 commits2026-05-22: 40 commits2026-05-23: 9 commits2026-05-24: 2 commits2026-05-25: 5 commits2026-05-26: 13 commits2026-05-27: 26 commits2026-05-28: 23 commits2026-05-29: 5 commits2026-05-30: 12 commits2026-05-31: 20 commits2026-06-01: 19 commits2026-06-02: 16 commits2026-06-03: 1 commit2026-06-04: 7 commits2026-06-05: 16 commits2026-06-06: 8 commits2026-06-07: 41 commits2026-06-08: 14 commits2026-06-09: 5 commits2026-06-10: 24 commits2026-06-11: 40 commits2026-06-12: 60 commits2026-06-13: 23 commits2026-06-14: 43 commits2026-06-15: 27 commits2026-06-16: 22 commits2026-06-17: 5 commits2026-06-18: 28 commits2026-06-19: 42 commits2026-06-20: 15 commits2026-06-21: 12 commits2026-06-22: 15 commits2026-06-23: 12 commits2026-06-24: 22 commits2026-06-25: 1 commit2026-06-26: 8 commits2026-06-27: 9 commits2026-06-28: 27 commits2026-06-29: 6 commits2026-06-30: 31 commits2026-07-01: 62 commits2026-07-02: 14 commits2026-07-03: 29 commits2026-07-04: 47 commits2026-07-05: 24 commits2026-07-06: 28 commits2026-07-07: 31 commits2026-07-08: 11 commits2026-07-09: 47 commits2026-07-10: 27 commits2026-07-11: 37 commits2026-07-12: 37 commits2026-07-13: 28 commits2026-07-14: 40 commits2026-07-15: 32 commits2026-07-16: 127 commits2026-07-17: 114 commits2026-07-18: 81 commits2026-07-19: 28 commits2026-07-20: 7 commits2026-07-21: 10 commits2026-07-22: 13 commits2026-07-23: 28 commits2026-07-24: 22 commits2026-07-25: 5 commits2026-07-26: 11 commits2026-07-27: 20 commits2026-07-28: 45 commits2026-07-29: 56 commits2026-07-30: 1 commit2026-07-31: 1 commit2026-08-01: 12 commits2026-08-02: 40 commits2026-08-03: 37 commits2026-08-04: 21 commits2026-08-05: 27 commits2026-08-06: 18 commits2026-08-07: 31 commits2026-08-08: 41 commits2026-08-09: 30 commits2026-08-10: 41 commits2026-08-11: 48 commits2026-08-12: 28 commits2026-08-13: 46 commits2026-08-14: 24 commits2026-08-15: 34 commits2026-08-16: 53 commits2026-08-17: 53 commits2026-08-18: 39 commits2026-08-19: 26 commits2026-08-20: 25 commits2026-08-21: 14 commits2026-08-22: 4 commits2026-08-23: 22 commits2026-08-24: 17 commits2026-08-25: 15 commits2026-08-26: 18 commits2026-08-27: 8 commits2026-08-28: 10 commits2026-08-29: 13 commits2026-08-30: 16 commits2026-08-31: 15 commits2026-09-01: 19 commits2026-09-02: 10 commits2026-09-03: 15 commits2026-09-04: 16 commits2026-09-05: 12 commits2026-09-06: 16 commits2026-09-07: 26 commits2026-09-08: 20 commits2026-09-09: 9 commits2026-09-10: 16 commits2026-09-11: 26 commits2026-09-12: 43 commits2026-09-13: 19 commits2026-09-14: 11 commits2026-09-15: 10 commits2026-09-16: 28 commits2026-09-17: 11 commits2026-09-18: 33 commits2026-09-19: 18 commits2026-09-20: 30 commits2026-09-21: 64 commits2026-09-22: 27 commits2026-09-23: 31 commits2026-09-24: 18 commits2026-09-25: 0 commits2026-09-26: 0 commits
5,393 commits in the last yearLessMore

Signals and awards

derived from tracked data
  • Widely adopted

    22,148 stars

  • Very active

    5,393 commits in 52 weeks

  • Community-driven

    ~453 contributors

  • Permissive license

    MIT

  • Continuous integration

    Automated checks passing

What CodexBar does

CodexBar is a lightweight, privacy-focused macOS menu bar app designed to track usage limits, credit balances, and session resets for numerous AI coding providers. It continuously polls and displays real-time quotas for services like Claude, OpenAI, Grok, and Gemini without requiring users to manually check multiple dashboards. The app extracts session data from existing configurations, such as OAuth flows, local configuration files, and API keys, ensuring that no sensitive credentials are unnecessarily exposed or stored. It helps power users effectively manage their API consumption and anticipate limit resets during heavy development sessions.

macOS developers, power users, and engineers who frequently use multiple AI coding assistants and need to manage their API usage limits.

  • Unified limit tracking: Consolidates quota data and API limits from over 69 distinct AI coding providers into a single dropdown.
  • Live reset countdowns: Displays exact countdowns indicating when hourly, daily, or weekly token limitations will automatically reset.
  • Privacy-focused auth: Piggybacks on existing browser sessions, CLI tokens, and stored API keys to monitor status without capturing passwords.
  • Real-time incident alerts: Polls provider status pages to surface real-time incident badges and overlays directly in the menu bar.
  • Cost and credit scanning: Connects to provider billing dashboards to display current credit balances and local spend data.

Where teams use it

Task planning

Developers check their available token limits before initiating massive, computationally expensive codebase refactoring tasks.

Budget monitoring

Engineers closely monitor their API spend and remaining credit balances across multiple independent LLM providers from one place.

Service availability tracking

Users quickly spot provider outages through menu bar badges instead of endlessly troubleshooting local API connection errors.

Multi-assistant management

Power users easily juggle quotas between Cursor, Copilot, and Claude Code without needing to open multiple browser dashboards.

Getting started: brew install --cask codexbar

README

main branch

CodexBar 🎚️ — May your tokens never run out.

Every AI coding limit, in your menu bar.

Latest release macOS 14+ Linux desktop Homebrew AUR License: MIT Site

CodexBar — every AI coding limit in your menu bar. 84 providers.

Tiny macOS 14+ menu bar app that keeps AI coding-provider limits visible and shows when each window resets. Codex, OpenAI, Claude, Cursor, Gemini, Copilot, Grok, GroqCloud, ElevenLabs, Deepgram, z.ai, MiniMax, Kiro, Zed, Vertex AI, Augment, OpenRouter, LiteLLM, LLM Proxy, Codebuff, Command Code, ClinePass, AWS Bedrock, and many newer coding providers. One status item per provider, or Merge Icons mode with a provider switcher. No Dock icon, minimal UI, dynamic bar icons.

Also available as a Linux desktop app with usage and spending windows, separate settings, desktop notifications, and an optional tray icon. On Omarchy, a native bar widget shares the desktop app’s data and follows your theme.

CodexBar menu popover with provider tiles, usage bars, and reset countdowns

Why

  • Plan around resets. Per-provider session, weekly, and monthly windows with countdowns to the next reset — stop guessing whether to start that long task.
  • Credits, spend, and cost scans. Credit balances, Admin API spend dashboards, provider billing summaries, and local cost scans where the source exposes enough detail.
  • Live status. Provider status polling surfaces incident badges in the menu and an indicator overlay on the bar icon.
  • Privacy-first. Reuses existing provider sessions — OAuth, device flow, API keys, browser cookies, local files — so no passwords are stored.

Install

macOS app

Requires macOS 14+ (Sonoma). Download from GitHub Releases, or install with Homebrew:

brew install --cask codexbar

Linux desktop and Omarchy

The Qt 6 desktop app supports Wayland and X11, with an optional Omarchy widget. Published desktop archives target x86_64 and ARM64 and require glibc 2.39+, Qt 6.4+, and a separately installed CodexBar CLI. Python 3 runs the per-user installer.

Follow the Linux installation guide for Arch/Omarchy, Fedora, and Debian/Ubuntu runtime packages, verified release downloads, and upgrades. It keeps the CLI's resource bundle beside its executable and installs a launcher and optional login startup. Open Settings to choose providers, then authenticate through the provider's CLI or configure its API key. GNOME may need a tray extension; the app's windows work without a tray.

See the macOS feature comparison for supported features and remaining gaps.

CLI Tarballs (macOS/Linux)

Homebrew formula (Linux today):

brew install steipete/tap/codexbar

Arch Linux AUR package:

yay -S codexbar-cli

Or download release tarballs from GitHub Releases:

  • macOS: CodexBarCLI-v<tag>-macos-arm64.tar.gz, CodexBarCLI-v<tag>-macos-x86_64.tar.gz
  • Linux (glibc): CodexBarCLI-v<tag>-linux-aarch64.tar.gz, CodexBarCLI-v<tag>-linux-x86_64.tar.gz
  • Linux (static musl): CodexBarCLI-v<tag>-linux-musl-aarch64.tar.gz, CodexBarCLI-v<tag>-linux-musl-x86_64.tar.gz

macOS first run

  • Open Settings → Providers and enable what you use.
  • Install/sign in to the provider sources you rely on: CLIs, browser sessions, OAuth/device flow, API keys, local app files, or provider apps depending on the provider.
  • Optional: Settings → Providers → Codex → OpenAI cookies (Automatic or Manual) to add dashboard extras.

Set API keys from the CLI

Provider toggles and API keys live in the resolved CodexBar config file. New installs use ~/.config/codexbar/config.json; existing ~/.codexbar/config.json installs still load from the legacy path. You can script the same provider list that Settings → Providers uses:

codexbar config providers
codexbar config enable --provider grok
codexbar config disable --provider cursor

For API-key providers, store a key without opening Settings:

printf '%s' "$ELEVENLABS_API_KEY" | codexbar config set-api-key --provider elevenlabs --stdin

set-api-key trims the piped value, stores it with restrictive config-file permissions, and enables the provider by default. Use --no-enable to only save the key, or --api-key <key> for one-off local scripts where shell history is not a concern. See CLI configuration for the full flow.

Providers

  • Codex — OAuth API or local Codex CLI, plus optional OpenAI web dashboard extras.
  • OpenAI — Admin API key usage/cost graphs with legacy credit-balance fallback.
  • Azure OpenAI — API key, endpoint, and deployment validation probe.
  • Claude — OAuth API, browser cookies, or CLI PTY fallback; session and weekly usage where available.
  • ClinePass — API key for five-hour, weekly, and monthly subscription limits.
  • Cursor — Browser session cookies for plan + usage + billing resets.
  • OpenCode — Browser cookies for workspace subscription usage.
  • OpenCode Go — Usage API, browser fallback, and local SQLite cost history.
  • Alibaba Coding Plan — Web cookies or API key for coding-plan quotas.
  • Alibaba Token Plan — Bailian browser/manual cookies for token-plan credits.
  • Qwen Cloud — 5-hour and weekly individual Token Plan usage via browser/manual cookies.
  • Gemini — OAuth-backed quota API using Gemini CLI credentials (no browser cookies).
  • Antigravity — Local language server probe, agy CLI HTTPS source, and Google OAuth fallback (experimental).
  • Droid — Browser cookies + WorkOS token flows for Factory usage + billing.
  • Copilot — GitHub device flow + Copilot internal usage API.
  • Devin — Chrome localStorage session or manual Bearer token for daily and weekly quotas.
  • z.ai — API token for personal/team quota, MCP, 5-hour, and hourly usage windows.
  • Manus — Browser session_id auth for credit balance, monthly credits, and daily refresh tracking.
  • MiniMax — API token, cookie header, or browser cookies for coding-plan usage.
  • T3 Chat — Browser cookies capture for Base and Overage usage buckets.
  • ZoomMate — Chrome cookie auto-import or manual cURL capture for credits usage.
  • Kimi — Auth token (JWT from kimi-auth cookie) for weekly quota + 5‑hour rate limit.
  • Kilo — API token with CLI-auth fallback for Kilo Pass usage.
  • Kiro — CLI-based usage; monthly credits + bonus credits.
  • Vertex AI — Google Cloud gcloud OAuth with token cost tracking from local Claude logs.
  • Augment — Augment CLI or browser cookies for credits tracking and usage monitoring.
  • Amp — Browser cookie-based authentication with Amp Free usage tracking.
  • Ollama — API key access plus browser cookies for Ollama Cloud usage windows.
  • llmman — Local daemon memory used by loaded models, with an optional API key.
  • Synthetic — API key quota endpoint for rolling five-hour, weekly token, and search-hourly usage.
  • JetBrains AI — Local XML-based quota from JetBrains IDE configuration; monthly credits tracking.
  • Warp — API token for GraphQL request limits and monthly credits.
  • ElevenLabs — API key for character credits and voice slot usage.
  • OpenRouter — API token for credit-based usage tracking across multiple AI providers.
  • Windsurf — Browser localStorage session import or local SQLite cache for plan usage.
  • Zed — Zed editor Keychain session for plan, edit-prediction quota, billing cycle, and overdue invoices.
  • Perplexity — Account usage credits from Perplexity usage data.
  • Xiaomi MiMo — Browser cookies for balance and token-plan usage.
  • Doubao — API key for Volcengine Ark request-limit probes.
  • Sakana AI — Manual Cookie header for 5-hour and weekly quota windows.
  • Abacus AI — Browser cookie auth for ChatLLM/RouteLLM compute credit tracking.
  • Mistral — Browser cookies for API spend, credit balance, and monthly-plan usage.
  • DeepSeek — API key for credit balance tracking (paid vs. granted breakdown).
  • Fireworks — API key + account slug for 30-day spend from the billing summary API.
  • Charm Hyper — Bundled plugin for native Hypercredit balance, using Chrome/manual sessions with API-key fallback.
  • DeepInfra — API key for prepaid balance, current-month spend, and spending-limit tracking.
  • Moonshot / Kimi API — API key for Moonshot/Kimi API account balance tracking.
  • Venice — API key for DIEM or USD balance tracking.
  • Codebuff — API token (or ~/.config/manicode/credentials.json) for credit balance + weekly rate limit.
  • Command Code — Browser or manual cookies for monthly USD credits from Command Code billing.
  • Qoder — Browser or manual cookies for Qoder big model credit usage.
  • StepFun — Username + password login for Step Plan rate limits (5‑hour + weekly windows) and subscription plan name.
  • AWS Bedrock — AWS access keys or a named AWS profile (SSO/assume-role via the AWS CLI) for Cost Explorer spend, monthly budgets, and optional CloudWatch Claude activity.
  • Grok — Grok CLI billing RPC plus grok.com browser-session fallback.
  • Groq — Browser session for console spend and usage, with an Enterprise Prometheus API-key fallback.
  • LLM Proxy — API key + base URL for aggregate proxy quota stats and provider breakdowns.
  • ClawRouter — API key for monthly budget, spend, requests, tokens, and routed-provider usage.
  • sub2api — Self-hosted gateway key quota, subscription limits, wallet balance, and per-key usage.
  • Wayfinder — Local router gateway polling for health, per-route breakdown, savings, and decision latency.
  • LiteLLM — Virtual key + proxy URL for personal and team budget/spend tracking.
  • Bifrost — Virtual key + self-hosted gateway URL for budgets, rate limits, and model spend.
  • Deepgram — API key usage summaries across speech, agent, token, and TTS metrics.
  • Poe — API key for current point balance and recent points history.
  • Chutes — API key for subscription usage, rolling and monthly quota windows, and pay-as-you-go quotas.
  • Neuralwatt — API key for subscription kWh usage and prepaid credit balance.
  • Helmcode — Cloud and NaN Builders dashboard sessions for per-model quotas and Cloud prepaid balance.
  • ZenMux — Management API key for rolling five-hour and seven-day quota windows plus PAYG balance.
  • xAI — Management API key + team ID for prepaid credit balance and daily platform spend.
  • IBM Bob — API key for monthly Bobcoin budget and usage across subscription teams.
  • LongCat — Browser or manual cookies for token-pack quota and fuel-pack balances.
  • ai& — API key for 30-day organization spend from request logs.
  • Notion AI — Browser or manual cookies for rolling and monthly workspace allowances.
  • Nous Portal — Existing Hermes OAuth login for monthly credits and purchased top-ups.
  • Muse Code — Existing Muse CLI login for subscription quotas, plus local token history.
  • CodeRabbit — Local CLI usage report for review counts, billing state, and period resets.
  • Replicate — Browser or manual cookies for monthly spend and optional prepaid credits.
  • Hugging Face — Access token for Inference Providers charges and optional ZeroGPU quota.
  • Pi — Local Pi/OMP transcripts for token history and API-rate cost estimates.
  • v0 — Platform API key for billing and on-demand balances, plus rate limits.
  • TypeSafe — Chrome or manual console cookies for billing spend, balance, and credit expirations.
  • GitKraken AI — Account access token for personal weekly credits, reset time, and organization pool sharing.
  • DevPass — API key for plan credits, premium weekly allowances, and key-scoped spending.
  • Atlas Cloud — API key for the account's available USD balance.
  • Vercel AI Gateway — API key for the team's USD balance and lifetime spend.
  • Open to new providers: provider authoring guide.

Icon & Screenshot

The menu bar icon is a tiny usage meter. Bar meaning is provider-specific, and errors/stale data can dim the icon or show an incident indicator.

Features

  • Multi-provider menu bar with per-provider toggles (Settings → Providers).
  • Provider-specific usage meters with reset countdowns.
  • Optional Codex web dashboard enrichments (code review remaining, usage breakdown, credits history).
  • Inline spend and usage charts for API-backed providers such as OpenAI, Claude Admin API, OpenRouter, LiteLLM, z.ai, MiniMax, Mistral, and AWS Bedrock.
  • Configurable cost-usage scans for Codex + Claude, plus reused chart UI for supported provider histories. Codex history uses a WAL-enabled SQLite store capped at 25,000 retained session entries and 256 MiB.
  • A persistent Settings → Usage & Spend view for local estimates, grouped by native currency and provider. Each provider shows its accounts or history sources alongside its model breakdown; project/session views and daily/hourly trends share compact selectors. Incomplete history stays labeled, and source, privacy, export, and sharing controls remain available.
  • Provider status polling with incident badges in the menu and icon overlay.
  • Merge Icons mode to combine providers into one status item + switcher. With Icon + Percent and two enabled built-in providers, choose Stacked to show their first layout lines together. Automatic rows follow provider order and reserve explicit choices; disabling a selected provider uses a fallback and restores the saved choice when re-enabled. The dropdown menu stays available, and each provider keeps its own layout settings.
  • Display controls for provider icons, labels, bars, reset-time style, and highest-usage auto-selection.
  • Fresh installs default to Adaptive refresh. Existing users keep every valid stored choice, while legacy unset or invalid preferences resolve to 5 minutes. Manual and fixed 1m, 2m, 5m, 15m, and 30m alternatives remain available.
  • Bundled CLI (codexbar) for scripts and CI (including codexbar cost --provider codex, claude, or both for local cost usage); macOS and Linux CLI builds available.
  • WidgetKit widgets for supported providers.
  • Localized app and website with a shared 23-language catalog, automatic website detection, persistent pickers, and RTL support.
  • Optional session quota notifications and weekly-reset confetti.
  • Privacy-first: on-device parsing by default; browser cookies are opt-in and reused (no passwords stored).

Privacy note

Wondering if CodexBar scans your disk? It doesn’t crawl your filesystem; it reads a small set of known locations (browser cookies/local storage, provider config files, local JSONL logs) when the related features are enabled. Plain Adaptive refresh never inspects local agent activity. The separate Adaptive (agent-aware) option asks before inspecting the running-process list (including command lines) to identify Codex/Claude and reading bounded known-session metadata. Declining returns to plain Adaptive. When allowed with Agent Sessions hidden, CodexBar retains only the latest activity time and discards session paths and identities. Provider tokens and token-account settings live in the CodexBar config file with restrictive file permissions. See the discussion and audit notes in issue #12.

macOS permissions (why they’re needed)

  • Full Disk Access (optional): only required to read Safari cookies/local storage for web-based providers. If you don’t grant it, use another supported browser, manual cookies/API keys, OAuth, or CLI/local sources where that provider supports them.
  • Keychain access (prompted by macOS): Chromium cookie import needs the browser’s Safe Storage item, and an explicitly enabled Claude OAuth repair may read Claude Code’s own Keychain item. Background CodexBar paths fail or skip instead of requesting authorization; a user-initiated import or repair can still show the macOS prompt. Settings → Advanced → Disable Keychain access blocks CodexBar-owned Keychain operations and browser decryption, but cannot constrain provider-owned CLIs that CodexBar launches. Manual cookie headers, API keys, and file-backed sources remain alternatives where supported. See Keychain prompts for Allow Once vs. Always Allow, recurring grants, and safe troubleshooting.
  • Files & Folders prompts (folder/volume access): CodexBar launches provider CLIs and local probes for some providers. If those helpers read a project directory or external drive, macOS may ask CodexBar for that folder/volume (e.g., Desktop or an external volume). This is driven by the helper’s working directory, not background disk scanning.
  • What we do not request in the background: no Screen Recording or Accessibility permissions; user-triggered helper actions may ask macOS for Automation permission to open Terminal. No passwords are stored (browser cookies are reused when you opt in).

Docs

Getting started (dev)

  • Clone the repo and open it in Xcode or run the scripts directly.
  • Launch once, then toggle providers in Settings → Providers.
  • Install/sign in to provider sources you rely on (CLIs, browser cookies, OAuth/device flow, API keys, or local app/config files).
  • Optional: set OpenAI cookies (Automatic or Manual) for Codex dashboard extras.

Build from source

Requires macOS 14+ and Swift 6.2+.

./Scripts/package_app.sh        # builds CodexBar.app in-place with ad-hoc signing
open CodexBar.app

Dev loop:

./Scripts/compile_and_run.sh
./Scripts/compile_and_run.sh --test  # also run the sharded test suite before packaging/relaunching
make check                           # SwiftFormat + SwiftLint
make docs-list                       # list docs with frontmatter summaries

CLI install:

# after installing CodexBar.app in /Applications
./bin/install-codexbar-cli.sh

Related

  • ✂️ Trimmy — “Paste once, run once.” Flatten multi-line shell snippets so they paste and run.
  • 🧳 MCPorter — TypeScript toolkit + CLI for Model Context Protocol servers.
  • 🧿 oracle — Ask the oracle when you're stuck. Invoke GPT-5 Pro with a custom context and files.

Looking for a Windows version?

Linux desktop integration?

  • Linux desktop app — x86_64/ARM64 release archives with an installer; Qt 6 usage and spending windows, separate settings, optional system tray, and desktop notifications using the Linux CLI.
  • Omarchy native widget — Compact Quickshell usage popup sharing the Linux desktop app’s backend.
  • codexbar-waybar — Waybar custom module + GTK4 popover for Hyprland / Sway / other Wayland compositors, built on top of the bundled Linux CLI.
  • codexbar-cosmic-applet — Native COSMIC (System76) desktop panel applet with a tab per provider, pace projections, and cost/token stats, built on top of the bundled Linux CLI.
  • Codexbar GNOME — GNOME Shell extension that brings CodexBar usage into the desktop panel.
  • codexbar-cinnamon-applet — Linux Mint Cinnamon panel applet powered by CodexBar's JSON output.
  • noctalia-codex-usage — Noctalia/Quickshell plugin that shows Codex 5-hour and weekly usage limits, built on top of the bundled Linux CLI.
  • KodexBar — KDE Plasma widget that shows CodexBar usage in the Plasma panel, built on top of the bundled Linux CLI.
  • codexbar-plasmoid — KDE Plasma 6 widget for CodexBar's meter icon, provider switcher, quota windows, pace, credits, local cost, and status, powered by the bundled Linux CLI.
  • CodexBar Plasma — KDE Plasma 6 widget with multi-provider views, account selection, cost history, notifications, configurable providers, and installable .plasmoid releases, powered by the bundled Linux CLI.
  • CodexBar Meter — Noctalia v5 bar widget and panel showing every enabled provider's quota windows, credits, and pace, installable from Noctalia's plugin store, built on the bundled Linux CLI.

Desk display

  • AI Monitor — ESP32 desk display (Cheap Yellow Display) plus a macOS companion app that shows Claude, ChatGPT, Gemini, Copilot, Cursor and Antigravity limits as rings or bars, fed over USB by the bundled CLI. No Wi-Fi on the device, 3D-printable case.

Status bar & terminal integration

  • showy-quota — always-on AI plan quota strips for SketchyBar, tmux, and Zellij (standalone WASM plugin), built on codexbar serve / the bundled CLI.
  • AI Usage Limits — Elgato Stream Deck integration for macOS: shows a selected CodexBar provider, account, and configurable quota or payload metrics on keys and Stream Deck+ dials, using local codexbar serve.

Credits

Inspired by ccusage (MIT), specifically the cost usage tracking.

License

MIT • Peter Steinberger (steipete)

View on GitHub

Recent activity

commits and pull requests

Recent open issues

view all

Releases and announcements

136 total
  1. CodexBar 0.66.0v0.66.0Sep 24, 2026458 downloads

    ### Highlights - Ten more providers run as bundled plugins (OpenAI, Fireworks, Perplexity, Qoder, Manus, T3 Chat, DeepInfra, ZenMux, Chutes, ai&), and Atlas Cloud, Vercel AI Gateway, DevPass, and llmman join as plugin-first providers — 84 providers total. - CLI config writes no longer delete user plugin settings and secrets (#3944), and menu bar layouts show balances for every balance provider (#3904). - Lower background cost: Codex and Claude history caches stop rewriting unchanged files, Cursor backs off geo-blocked requests, and stalled menu catch-up passes no longer loop. ### Added - Atlas Cloud: show account-wide available USD balance through the documented API-key endpoint (#2714). Thanks @clairernovotny! - Vercel AI Gateway: show team-wide USD balance and lifetime spend through the documented API-key endpoint (#2975). Thanks @pikant! - DevPass: track plan credits, premium weekly usage and resets, and API-key spending through the documented LLM Gateway API (#3433). Thanks @MichelKerkmeester! - llmman: show how much of a local `llmman serve` daemon's model memory its loaded models use, with loaded and stored model summaries and an optional API key (#3914). Thanks @ericcurti

  2. CodexBar 0.65.0v0.65.0Sep 23, 202619.2K downloads

    ### Highlights - **Three new providers:** track Charm Hyper credits, GitKraken AI weekly credits, and Bifrost gateway budgets and rate limits, bringing the catalog to 80 providers. - **More flexible accounts:** save labeled Kimi web sessions and Doubao Ark API keys, and use per-account OpenCode Go API keys without changing cookie preferences. - **Zed spending:** opt in to browser billing for token spend and remaining budget while keeping the editor login as the default. - **Faster, more accurate history:** reuse quota charts and Codex scans, include claude-swap homes without duplicates, and preserve Linux Priority pricing. - **More reliable refreshes:** preserve Claude quotas through CLI redraws, confirm Codex weekly resets, and explain Antigravity offline fallbacks. ### Added - Doubao: save labeled Ark API-key accounts in the shared account editor and select them in the app or CLI without inheriting another account's credentials (#3192). - Zed: opt in to browser-session billing for token spend, limits, and remaining budget while keeping the editor login as the default (#3172). Thanks @shuuul! - Kimi: save labeled web accounts in the shared account editor, with isolated cookies

  3. CodexBar 0.64.1v0.64.1Sep 22, 202612.3K downloads

    ### Highlights - **More menu-bar control:** pin Cursor's Grok Bot usage and recover icons stranded beyond an attached display. - **Kimi regions:** choose China or International for usage, browser sessions, and dashboard links. - **More reliable quotas:** preserve OpenRouter balances under load and show each Antigravity quota pool once on Linux. ### Added - Cursor: pin Grok Bot usage with the “Grok Bot %” menu-bar layout token, hiding it when the allowance is unavailable and preserving reset selections when downgrading (#3712, fixes #3309). Thanks @yicone! ### Fixed - Website: show all 77 current providers with setup links, highlight Helmcode, v0, and TypeSafe, and clarify provider-specific data availability across all 23 languages. - Linux: list each Antigravity quota pool once with its family label, preserving tray representatives and alert history (#3799). Thanks @jsonMartin! - Plugins: start HTTP attempt deadlines when transport tasks begin, preserving OpenRouter balance when optional key requests time out under scheduler load (#3836). - Menu bar: assign stable item names before normal sizing and clear saved positions beyond the widest attached display on creation, includin

  4. CodexBar 0.64.0v0.64.0Sep 21, 20267K downloads

    ### Highlights - **Three new providers:** track Helmcode quotas and prepaid balances, v0 billing and rate limits, and TypeSafe spending and credits. - **Two providers in one icon:** stack your chosen providers in a single menu-bar icon, with automatic or explicit row choices. - **Clearer Usage & Spend:** browse sources and models by provider, use simpler chart controls, and follow Antigravity's local cost estimates. - **More reliable cost history:** correct inherited Codex fork totals, reduce repeated history scans, and prevent crashes from oversized history. - **Smoother provider recovery:** restore OpenCode Console quotas and prepaid balances, improve Claude account switching, and make credential recovery more reliable after app updates. ### Added - Hugging Face: show prepaid Credits from an eligible browser session only when its user ID matches the API token account; keep API-only refreshes free of cookie access (#3399). Thanks @sambokai! - Helmcode: track Cloud and NaN Builders model quotas, rolling reset windows, and Cloud prepaid balances through a bundled provider plugin (#3422). Thanks @luisgonzaleznf! - Currency: add Turkish lira (TRY) to the preferred-currency picker a

  5. CodexBar 0.63.0v0.63.0Sep 20, 202613.1K downloads

    ### Highlights - **Pi and OMP history:** track local tokens and estimated costs across the app, CLI, and widgets without double-counting Claude or Codex usage. - **More complete spending displays:** add DeepSeek and OpenRouter widget balances and provider-reported spending in the web dashboard. - **More reliable refreshes:** correct paginated Codex costs, recover transient credential-access failures, and prevent crashes from oversized provider values. ### Added - Pi: track local Pi/OMP tokens and estimated costs in the app, CLI, Overview, Usage & Spend, and widgets, preserving incomplete history and preventing duplicate Claude/Codex totals (#3246). Thanks @Yuxin-Qiao! - Dashboard: include provider-reported 30-day USD spend when no local cost row exists, preserving OpenRouter's completed UTC history without inventing a local Today total (#3748). Thanks @Chipagosfinest! - Widgets: select DeepSeek and OpenRouter, see their balances, and keep live update ages visible in small widgets (#3743). Thanks @brzvsk! ### Improved - Settings: simplify Homebrew update instructions in About with a selectable command row, an integrated copy control, and brief copy confirmation (#3759). ### Fixed -

Commits per week

last 52 weeks
4590Week of 2025-09-27: 0 commitsWeek of 2025-10-04: 0 commitsWeek of 2025-10-11: 0 commitsWeek of 2025-10-18: 0 commitsWeek of 2025-10-25: 0 commitsWeek of 2025-11-01: 0 commitsWeek of 2025-11-09: 0 commitsWeek of 2025-11-16: 351 commitsWeek of 2025-11-23: 38 commitsWeek of 2025-11-30: 4 commitsWeek of 2025-12-07: 49 commitsWeek of 2025-12-14: 144 commitsWeek of 2025-12-21: 347 commitsWeek of 2025-12-28: 204 commitsWeek of 2026-01-04: 68 commitsWeek of 2026-01-11: 85 commitsWeek of 2026-01-18: 75 commitsWeek of 2026-01-25: 6 commitsWeek of 2026-02-01: 51 commitsWeek of 2026-02-08: 53 commitsWeek of 2026-02-15: 75 commitsWeek of 2026-02-22: 41 commitsWeek of 2026-03-01: 22 commitsWeek of 2026-03-08: 18 commitsWeek of 2026-03-15: 25 commitsWeek of 2026-03-22: 22 commitsWeek of 2026-03-29: 50 commitsWeek of 2026-04-05: 43 commitsWeek of 2026-04-12: 52 commitsWeek of 2026-04-19: 29 commitsWeek of 2026-04-26: 26 commitsWeek of 2026-05-03: 74 commitsWeek of 2026-05-10: 188 commitsWeek of 2026-05-17: 131 commitsWeek of 2026-05-24: 86 commitsWeek of 2026-05-31: 87 commitsWeek of 2026-06-07: 207 commitsWeek of 2026-06-14: 182 commitsWeek of 2026-06-21: 79 commitsWeek of 2026-06-28: 216 commitsWeek of 2026-07-05: 205 commitsWeek of 2026-07-12: 459 commitsWeek of 2026-07-19: 113 commitsWeek of 2026-07-26: 146 commitsWeek of 2026-08-02: 215 commitsWeek of 2026-08-09: 251 commitsWeek of 2026-08-16: 214 commitsWeek of 2026-08-23: 103 commitsWeek of 2026-08-30: 103 commitsWeek of 2026-09-06: 156 commitsWeek of 2026-09-13: 130 commitsWeek of 2026-09-20: 170 commitsSep 27, 2025Sep 20, 2026
5.4K commits in the last 52 weeks.

When work happens

weekday and hour
SunMonTueWedThuFriSat036912151821Sun 0:00 — 45 commitsSun 1:00 — 47 commitsSun 2:00 — 41 commitsSun 3:00 — 23 commitsSun 4:00 — 25 commitsSun 5:00 — 37 commitsSun 6:00 — 16 commitsSun 7:00 — 30 commitsSun 8:00 — 27 commitsSun 9:00 — 26 commitsSun 10:00 — 27 commitsSun 11:00 — 33 commitsSun 12:00 — 37 commitsSun 13:00 — 29 commitsSun 14:00 — 36 commitsSun 15:00 — 33 commitsSun 16:00 — 32 commitsSun 17:00 — 41 commitsSun 18:00 — 49 commitsSun 19:00 — 55 commitsSun 20:00 — 48 commitsSun 21:00 — 28 commitsSun 22:00 — 49 commitsSun 23:00 — 45 commitsMon 0:00 — 47 commitsMon 1:00 — 44 commitsMon 2:00 — 30 commitsMon 3:00 — 18 commitsMon 4:00 — 39 commitsMon 5:00 — 9 commitsMon 6:00 — 23 commitsMon 7:00 — 22 commitsMon 8:00 — 18 commitsMon 9:00 — 33 commitsMon 10:00 — 25 commitsMon 11:00 — 23 commitsMon 12:00 — 26 commitsMon 13:00 — 23 commitsMon 14:00 — 26 commitsMon 15:00 — 28 commitsMon 16:00 — 22 commitsMon 17:00 — 33 commitsMon 18:00 — 37 commitsMon 19:00 — 28 commitsMon 20:00 — 45 commitsMon 21:00 — 32 commitsMon 22:00 — 58 commitsMon 23:00 — 47 commitsTue 0:00 — 36 commitsTue 1:00 — 37 commitsTue 2:00 — 45 commitsTue 3:00 — 38 commitsTue 4:00 — 27 commitsTue 5:00 — 22 commitsTue 6:00 — 22 commitsTue 7:00 — 14 commitsTue 8:00 — 13 commitsTue 9:00 — 14 commitsTue 10:00 — 18 commitsTue 11:00 — 42 commitsTue 12:00 — 41 commitsTue 13:00 — 36 commitsTue 14:00 — 30 commitsTue 15:00 — 31 commitsTue 16:00 — 29 commitsTue 17:00 — 42 commitsTue 18:00 — 24 commitsTue 19:00 — 22 commitsTue 20:00 — 22 commitsTue 21:00 — 15 commitsTue 22:00 — 20 commitsTue 23:00 — 24 commitsWed 0:00 — 23 commitsWed 1:00 — 42 commitsWed 2:00 — 31 commitsWed 3:00 — 17 commitsWed 4:00 — 26 commitsWed 5:00 — 8 commitsWed 6:00 — 25 commitsWed 7:00 — 23 commitsWed 8:00 — 25 commitsWed 9:00 — 27 commitsWed 10:00 — 35 commitsWed 11:00 — 25 commitsWed 12:00 — 28 commitsWed 13:00 — 20 commitsWed 14:00 — 29 commitsWed 15:00 — 20 commitsWed 16:00 — 37 commitsWed 17:00 — 32 commitsWed 18:00 — 41 commitsWed 19:00 — 41 commitsWed 20:00 — 44 commitsWed 21:00 — 45 commitsWed 22:00 — 44 commitsWed 23:00 — 35 commitsThu 0:00 — 27 commitsThu 1:00 — 35 commitsThu 2:00 — 21 commitsThu 3:00 — 34 commitsThu 4:00 — 26 commitsThu 5:00 — 26 commitsThu 6:00 — 29 commitsThu 7:00 — 38 commitsThu 8:00 — 33 commitsThu 9:00 — 20 commitsThu 10:00 — 26 commitsThu 11:00 — 20 commitsThu 12:00 — 18 commitsThu 13:00 — 29 commitsThu 14:00 — 45 commitsThu 15:00 — 44 commitsThu 16:00 — 41 commitsThu 17:00 — 37 commitsThu 18:00 — 47 commitsThu 19:00 — 32 commitsThu 20:00 — 33 commitsThu 21:00 — 30 commitsThu 22:00 — 44 commitsThu 23:00 — 49 commitsFri 0:00 — 36 commitsFri 1:00 — 42 commitsFri 2:00 — 48 commitsFri 3:00 — 33 commitsFri 4:00 — 42 commitsFri 5:00 — 40 commitsFri 6:00 — 27 commitsFri 7:00 — 28 commitsFri 8:00 — 18 commitsFri 9:00 — 46 commitsFri 10:00 — 26 commitsFri 11:00 — 19 commitsFri 12:00 — 43 commitsFri 13:00 — 28 commitsFri 14:00 — 30 commitsFri 15:00 — 41 commitsFri 16:00 — 53 commitsFri 17:00 — 33 commitsFri 18:00 — 35 commitsFri 19:00 — 53 commitsFri 20:00 — 34 commitsFri 21:00 — 26 commitsFri 22:00 — 43 commitsFri 23:00 — 40 commitsSat 0:00 — 46 commitsSat 1:00 — 57 commitsSat 2:00 — 46 commitsSat 3:00 — 42 commitsSat 4:00 — 26 commitsSat 5:00 — 17 commitsSat 6:00 — 16 commitsSat 7:00 — 10 commitsSat 8:00 — 15 commitsSat 9:00 — 15 commitsSat 10:00 — 29 commitsSat 11:00 — 31 commitsSat 12:00 — 29 commitsSat 13:00 — 40 commitsSat 14:00 — 35 commitsSat 15:00 — 29 commitsSat 16:00 — 23 commitsSat 17:00 — 26 commitsSat 18:00 — 28 commitsSat 19:00 — 45 commitsSat 20:00 — 42 commitsSat 21:00 — 36 commitsSat 22:00 — 43 commitsSat 23:00 — 49 commits
Commit volume by weekday and hour (UTC). Larger dots mean more commits.

Who is committing

last 52 weeks
Maintainer commits3,937 (64%)
Community commits2,198 (36%)

6,135 commits in total over the last year.

DateListRankStars gained
Feb 1, 2026daily#25+118
  • openclaw/openclaw

    The AI that really does things. Any OS. Any Platform. The lobster way. 🦞

    391.3K stars · TypeScript

  • obra/superpowers

    An agentic skills framework & software development methodology that works.

    295.2K stars · Shell

  • affaan-m/ECC

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

    272.8K stars · JavaScript

  • NousResearch/hermes-agent

    The agent that grows with you

    251.2K stars · Python

  • n8n-io/n8n

    Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

    206.7K stars · TypeScript

  • firecrawl/firecrawl

    Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

    188.6K stars · TypeScript