Show usage stats for OpenAI Codex and Claude Code, without having to login.
CodexBar is a macOS 14+ menu bar application written in Swift that monitors token usage, credit balances, rate limits, and reset countdowns for more than 40 AI coding providers, including Claude Code, OpenAI Codex, Cursor, Gemini, GitHub Copilot, Grok, AWS Bedrock, and Vertex AI. For Claude specifically, it connects via OAuth API, browser cookies, or a CLI PTY fallback to surface session and weekly usage figures without requiring a separate login. The app reuses existing provider sessions stored as OAuth tokens, API keys, or browser cookies, meaning no passwords are stored by CodexBar itself. A Merge Icons mode consolidates all providers into a single status item with a switcher, while individual tiles show usage bars and countdown timers to the next reset window. A companion CLI, available via Homebrew and the Arch Linux AUR, allows scripted configuration through a JSON file at ~/.codexbar/config.json. Developers juggling multiple AI coding tools on a budget will find the per-provider billing summaries and reset countdowns the most practically useful features.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Healthy fork ratio
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
git clone https://github.com/steipete/CodexBarResumen de Tools
# CodexBar 🎚️ — May your tokens never run out. > Every AI coding limit, in your menu bar. [](https://github.com/steipete/CodexBar/releases/latest) [](https://github.com/steipete/CodexBar/releases/latest) [](https://github.com/steipete/homebrew-tap) [](https://aur.archlinux.org/packages/codexbar-cli) [](LICENSE) [](https://codexbar.app) <a href="https://codexbar.app"><img src="docs/social.png" alt="CodexBar — every AI coding limit in your menu bar. 63 providers." width="100%" /></a> 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. <img src="docs/codexbar.png" alt="CodexBar menu popover with provider tiles, usage bars, and reset countdowns" width="520" /> ## 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 ### Requirements - macOS 14+ (Sonoma) ### GitHub Releases Download: <https://github.com/steipete/CodexBar/releases> ### Homebrew ```bash brew install --cask codexbar ``` ### CLI Tarballs (macOS/Linux) Homebrew formula (Linux today): ```bash brew install steipete/tap/codexbar ``` Arch Linux AUR package: ```bash 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` ### 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: ```bash codexbar config providers codexbar config enable --provider grok codexbar config disable --provider cursor ``` For API-key providers, store a key without opening Settings: ```bash 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](docs/cli-configuration.md) for the full flow. ## Providers - [Codex](docs/codex.md) — OAuth API or local Codex CLI, plus optional OpenAI web dashboard extras. - [OpenAI](docs/openai.md) — Admin API key usage/cost graphs with legacy credit-balance fallback. - [Azure OpenAI](docs/azure-openai.md) — API key, endpoint, and deployment validation probe. - [Claude](docs/claude.md) — OAuth API, browser cookies, or CLI PTY fallback; session and weekly usage where available. - [Cursor](docs/cursor.md) — Browser session cookies for plan + usage + billing resets. - [OpenCode](docs/opencode.md) — Browser cookies for workspace subscription usage. - [OpenCode Go](docs/opencode.md) — Browser or local SQLite data for Go usage windows. - [Alibaba Coding Plan](docs/alibaba-coding-plan.md) — Web cookies or API key for coding-plan quotas. - [Alibaba Token Plan](docs/alibaba-token-plan.md) — Bailian browser/manual cookies for token-plan credits. - [Gemini](docs/gemini.md) — OAuth-backed quota API using Gemini CLI credentials (no browser cookies). - [Antigravity](docs/antigravity.md) — Local language server probe (experimental); no external auth. - [Droid](docs/factory.md) — Browser cookies + WorkOS token flows for Factory usage + billing. - [Copilot](docs/copilot.md) — GitHub device flow + Copilot internal usage API. - [Devin](docs/devin.md) — Chrome localStorage session or manual Bearer token for daily and weekly quotas. - [z.ai](docs/zai.md) — API token for personal/team quota, MCP, 5-hour, and hourly usage windows. - [Manus](docs/manus.md) — Browser `session_id` auth for credit balance, monthly credits, and daily refresh tracking. - [MiniMax](docs/minimax.md) — API token, cookie header, or browser cookies for coding-plan usage. - [T3 Chat](docs/t3chat.md) — Browser cookies capture for Base and Overage usage buckets. - [Kimi](docs/kimi.md) — Auth token (JWT from `kimi-auth` cookie) for weekly quota + 5‑hour rate limit. - [Kilo](docs/kilo.md) — API token with CLI-auth fallback for Kilo Pass usage. - [Kiro](docs/kiro.md) — CLI-based usage; monthly credits + bonus credits. - [Vertex AI](docs/vertexai.md) — Google Cloud gcloud OAuth with token cost tracking from local Claude logs. - [Augment](docs/augment.md) — Augment CLI or browser cookies for credits tracking and usage monitoring. - [Amp](docs/amp.md) — Browser cookie-based authentication with Amp Free usage tracking. - [Ollama](docs/ollama.md) — API key access plus browser cookies for Ollama Cloud usage windows. - [Synthetic](docs/synthetic.md) — API key quota endpoint for rolling five-hour, weekly token, and search-hourly usage. - [JetBrains AI](docs/jetbrains.md) — Local XML-based quota from JetBrains IDE configuration; monthly credits tracking. - [Warp](docs/warp.md) — API token for GraphQL request limits and monthly credits. - [ElevenLabs](docs/elevenlabs.md) — API key for character credits and voice slot usage. - [OpenRouter](docs/openrouter.md) — API token for credit-based usage tracking across multiple AI providers. - [Windsurf](docs/windsurf.md) — Browser localStorage session import or local SQLite cache for plan usage. - [Zed](docs/zed.md) — Zed editor Keychain session for plan, edit-prediction quota, billing cycle, and overdue invoices. - [Perplexity](docs/perplexity.md) — Account usage credits from Perplexity usage data. - [Xiaomi MiMo](docs/mimo.md) — Browser cookies for balance and token-plan usage. - [Doubao](docs/doubao.md) — API key for Volcengine Ark request-limit probes. - [Sakana AI](docs/sakana.md) — Manual Cookie header for 5-hour and weekly quota windows. - [Abacus AI](docs/abacus.md) — Browser cookie auth for ChatLLM/RouteLLM compute credit tracking. - [Mistral](docs/mistral.md) — Browser cookies for API spend, credit balance, and monthly-plan usage. - [DeepSeek](docs/deepseek.md) — API key for credit balance tracking (paid vs. granted breakdown). - [DeepInfra](docs/deepinfra.md) — API key for prepaid balance, current-month spend, and spending-limit tracking. - [Moonshot / Kimi API](docs/moonshot.md) — API key for Moonshot/Kimi API account balance tracking. - [Venice](docs/venice.md) — API key for DIEM or USD balance tracking. - [Codebuff](docs/codebuff.md) — API token (or `~/.config/manicode/credentials.json`) for credit balance + weekly rate limit. - [Crof](docs/crof.md) — API key for dollar credit balance and request quota tracking. - [Command Code](docs/command-code.md) — Browser or manual cookies for monthly USD credits from Command Code billing. - [Qoder](docs/qoder.md) — Browser or manual cookies for Qoder big model credit usage. - [StepFun](docs/stepfun.md) — Username + password login for Step Plan rate limits (5‑hour + weekly windows) and subscription plan name. - [AWS Bedrock](docs/bedrock.md) — 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](docs/grok.md) — Grok CLI billing RPC plus grok.com browser-session fallback. - [GroqCloud](docs/groqcloud.md) — API key for Enterprise Prometheus request/token/cache-hit metrics. - [LLM Proxy](docs/llm-proxy.md) — API key + base URL for aggregate proxy quota stats and provider breakdowns. - [ClawRouter](docs/clawrouter.md) — API key for monthly budget, spend, requests, tokens, and routed-provider usage. - [sub2api](docs/sub2api.md) — Self-hosted gateway key quota, subscription limits, wallet balance, and per-key usage. - [Wayfinder](docs/wayfinder.md) — Local router gateway polling for health, per-route breakdown, savings, and decision latency. - [LiteLLM](docs/litellm.md) — Virtual key + proxy URL for personal and team budget/spend tracking. - [Deepgram](docs/deepgram.md) — API key usage summaries across speech, agent, token, and TTS metrics. - [Poe](docs/poe.md) — API key for current point balance and recent poin
Lo que la gente pregunta sobre CodexBar
¿Qué es steipete/CodexBar?
+
steipete/CodexBar es tools para el ecosistema de Claude AI. Show usage stats for OpenAI Codex and Claude Code, without having to login. Tiene 19.2k estrellas en GitHub y se actualizó por última vez 7d ago.
¿Cómo se instala CodexBar?
+
Puedes instalar CodexBar clonando el repositorio (https://github.com/steipete/CodexBar) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar steipete/CodexBar?
+
Nuestro agente de seguridad ha analizado steipete/CodexBar y le ha asignado un Trust Score de 100/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene steipete/CodexBar?
+
steipete/CodexBar es mantenido por steipete. La última actividad registrada en GitHub es de 7d ago, con 189 issues abiertos.
¿Hay alternativas a CodexBar?
+
Sí. En ClaudeWave puedes explorar tools similares en /categories/tools, ordenados por popularidad o actividad reciente.
Despliega CodexBar en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/steipete-codexbar)<a href="https://claudewave.com/repo/steipete-codexbar"><img src="https://claudewave.com/api/badge/steipete-codexbar" alt="Featured on ClaudeWave: steipete/CodexBar" width="320" height="64" /></a>Más Tools
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
An AI SKILL that provide design intelligence for building professional UI/UX multiple platforms
🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like caveman
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary