OpenClaw 创建者30天内为OpenAI令牌花费130万美元
摘要
CodexBar 是一款免费开源的macOS菜单栏应用,可跨29家AI编码提供商跟踪使用情况、积分和重置倒计时,帮助开发者管理API成本。
查看缓存全文
缓存时间: 2026/05/16 12:39
最新CodexBar更新让API费用变得超友好。https://t.co/lJ4dxNHwzG https://t.co/fCkWutJGzT
CodexBar
来源:https://codexbar.app/
所有AI编程限额,尽在你的菜单栏。
CodexBar会追踪你实际付费的各家提供商的使用窗口、信用余额和重置倒计时——每个提供商显示一个状态项,或者合并成一个。
免费且开源 · macOS 14+ · GitHub Releases提供通用版本 · 通过Homebrew支持Apple Silicon
29家提供商,一个菜单栏
每个磁贴成为一个状态项,附带各自的使用窗口、重置倒计时和提供商菜单。
- C CodexOAuth (https://github.com/steipete/CodexBar/blob/main/docs/codex.md)
- C ClaudeOAuth (https://github.com/steipete/CodexBar/blob/main/docs/claude.md)
- C CursorCookies (https://github.com/steipete/CodexBar/blob/main/docs/cursor.md)
- O OpenCodeCookies (https://github.com/steipete/CodexBar/blob/main/docs/opencode.md)
- O OpenCode GoCookies (https://github.com/steipete/CodexBar/blob/main/docs/opencode.md)
- A AlibabaCookies (https://github.com/steipete/CodexBar/blob/main/docs/alibaba-coding-plan.md)
- G GeminiOAuth (https://github.com/steipete/CodexBar/blob/main/docs/gemini.md)
- A AntigravityLocal (https://github.com/steipete/CodexBar/blob/main/docs/antigravity.md)
- D DroidCookies (https://github.com/steipete/CodexBar/blob/main/docs/factory.md)
- C CopilotDevice flow (https://github.com/steipete/CodexBar/blob/main/docs/copilot.md)
- z z.aiAPI key (https://github.com/steipete/CodexBar/blob/main/docs/zai.md)
- M MiniMaxAPI key (https://github.com/steipete/CodexBar/blob/main/docs/minimax.md)
- K KimiToken (https://github.com/steipete/CodexBar/blob/main/docs/kimi.md)
- K Kimi K2Legacy API (https://github.com/steipete/CodexBar/blob/main/docs/kimi-k2.md)
- K KiloAPI key (https://github.com/steipete/CodexBar/blob/main/docs/kilo.md)
- K KiroCLI (https://github.com/steipete/CodexBar/blob/main/docs/kiro.md)
- V Vertex AIgcloud (https://github.com/steipete/CodexBar/blob/main/docs/vertexai.md)
- A AugmentCLI (https://github.com/steipete/CodexBar/blob/main/docs/augment.md)
- A AmpCookies (https://github.com/steipete/CodexBar/blob/main/docs/amp.md)
- O OllamaCookies (https://github.com/steipete/CodexBar/blob/main/docs/ollama.md)
- S SyntheticAPI key (https://github.com/steipete/CodexBar/blob/main/docs/providers.md#fetch-strategies-current)
- J JetBrains AILocal (https://github.com/steipete/CodexBar/blob/main/docs/jetbrains.md)
- W WarpAPI key (https://github.com/steipete/CodexBar/blob/main/docs/warp.md)
- O OpenRouterAPI key (https://github.com/steipete/CodexBar/blob/main/docs/openrouter.md)
- P PerplexityCookies (https://github.com/steipete/CodexBar/blob/main/docs/providers.md#fetch-strategies-current)
- A Abacus AICookies (https://github.com/steipete/CodexBar/blob/main/docs/abacus.md)
- M MistralCookies (https://github.com/steipete/CodexBar/blob/main/docs/providers.md#fetch-strategies-current)
- D DeepSeekAPI key (https://github.com/steipete/CodexBar/blob/main/docs/deepseek.md)
- C CodebuffAPI key (https://github.com/steipete/CodexBar/blob/main/docs/codebuff.md)
-
- 你的提供商 (编写指南:https://github.com/steipete/CodexBar/blob/main/docs/provider.md)
CodexBar菜单栏弹出窗口,显示提供商磁贴,包含使用进度条、重置倒计时和信用详情。### 可规划的重置
每个提供商都有会话、周和月窗口,并附有下次重置的倒计时——不再纠结是否要开始一个长任务。
信用额度、支出与成本扫描
信用余额和月度支出(如果提供商公开这些信息),外加最近30天Codex和Claude的本地成本扫描。
状态与事件
提供商状态轮询会在菜单中显示事件徽章,并在栏图标上显示覆盖指示器。
CLI 与小部件
支持提供商的小部件WidgetKit,以及附带的codexbar CLI,用于脚本和CI——每次发布都会提供macOS和Linux构建。
安装与更新
通过 GitHub Releases (https://github.com/steipete/CodexBar/releases/latest) 下载通用应用,含Sparkle自动更新;或使用 brew install --cask steipete/tap/codexbar 安装Apple Silicon版本(通过 brew upgrade 更新)。
CLI
每个版本附带一个 codexbar 二进制文件,以及macOS和Linux的独立压缩包。在Linux上:brew install steipete/tap/codexbar。
隐私
重用现有的提供商会话——OAuth、设备流程、API密钥、浏览器cookies、本地文件——因此不会存储密码。审计说明见 issue #12 (https://github.com/steipete/CodexBar/issues/12)。
macOS权限
Safari cookies需要“完全磁盘访问权限”,cookie解密和OAuth流程需要钥匙串访问权限,当提供商帮助读取项目目录时会弹出“文件与文件夹”提示。
相似文章
@steipete: 最新的 CodexBar 更新让 API 成本显示变得更加美观。https://codex.bar
CodexBar 是一款免费开源的 macOS 应用,可监控超过 40 家 AI 编码提供商的 API 使用情况和成本,并在菜单栏中显示限额、积分和重置倒计时。
为什么OpenClaw的更新如此痛苦?
这篇文章讨论了开发OpenClaw(一款AI驱动工具)的高昂成本,其创建者在一个月内花费了超过130万美元的OpenAI API代币,导致更新过程痛苦不堪。
@steipete:人们对我AI支出的反应很抓狂。但没人看到的是:让我如此兴奋地参与OpenClaw的部分原因是……
一位开发者分享了他们如何广泛使用多个Codex AI代理来自动化PR审查、问题去重、安全扫描等OpenClaw项目工作,同时介绍了用于远程代理工作区的工具Crabbox。
再次使用Claude Code订阅为OpenClaw服务!
一位开发者创建了otterly,这是一个npm包,可将本地Claude CLI转换为兼容OpenAI的HTTP服务器,使OpenClaw等应用程序能够使用Claude Code订阅,而不是昂贵的按token付费API费率。该工具可在树莓派上运行,并共享Claude Code的速率限制。
我们将OpenClaw托管完全免费化
OpenClaw现在提供完全免费的托管服务,支持一键部署和按量付费(PAYG)Token定价,让开发者无需管理设置或运维,更轻松地使用代理构建应用。