Opencode Bar

Effortless token usage tracker for OpenCode

Free · Open sourceLatest versionMac

About Opencode Bar

Automatically monitor all your AI provider usage from OpenCode in real-time from the macOS menu bar.

Overview

OpenCode Bar automatically detects and monitors all AI providers registered in your OpenCode (opens in a new tab) configuration. No manual setup required - just install and see your usage across all providers in one unified dashboard.

OpenCode Plugins

  • ChatGPT / Codex
  • ndycode/oc-chatgpt-multi-auth
  • Reads ~/.opencode/openai-codex-accounts.json and ~/.opencode/projects/*/openai-codex-accounts.json
  • Also understands plugin-managed OpenCode auth.json fields such as idToken, accountIdOverride, and organizationIdOverride
  • Antigravity/Gemini
  • NoeFabris/opencode-antigravity-auth (writes ~/.config/opencode/antigravity-accounts.json)
  • jenslys/opencode-gemini-auth (writes google.oauth in OpenCode auth.json)
  • Gemini CLI OAuth creds (writes ~/.gemini/oauth_creds.json for email/account ID metadata; overlaps are merged with Antigravity accounts)
  • Claude: anomalyco/opencode-anthropic-auth

Standalone tools

  • Codex: Soju06/codex-lb (writes ~/.codex-lb/)

Other AI agents beyond OpenCode that supports auto-detection

  • GitHub Copilot (multi-source discovery)
  • OpenCode auth - Auto-detected from OpenCode auth.json (copilot provider entry)
  • Copilot CLI - Auto-detected through macOS Keychain (github.com entries)
  • VS Code / Cursor - Auto-detected from ~/.config/github-copilot/hosts.json and ~/.config/github-copilot/apps.json
  • Browser Cookies - Chrome, Brave, Arc, Edge session cookies
  • Multiple accounts from different sources are automatically deduplicated and merged
  • Codex
  • OpenCode + oc-chatgpt-multi-auth - Auto-detected from OpenCode auth.json plus ~/.opencode/.../openai-codex-accounts.json
  • Codex for Mac - Auto-detected through ~/.codex/auth.json
  • Codex CLI - Auto-detected through ~/.codex/auth.json
  • codex-lb - Auto-detected through ~/.codex-lb/
  • Claude Code CLI - Keychain-based authentication detection

Features

Automatic Provider Detection

  • Zero Configuration: Reads your OpenCode auth.json automatically
  • Multi-path Support: Searches $XDG_DATA_HOME/opencode, ~/.local/share/opencode, and ~/Library/Application Support/opencode
  • Dynamic Updates: New providers appear as you add them to OpenCode
  • Smart Categorization: Pay-as-you-go vs Quota-based providers displayed separately

Kiro Authentication

Kiro usage is fetched from its regional usage API with credentials read from ~/Library/Application Support/kiro-cli/data.sqlite3. The database is opened

Description adapted from the project README.

Version
2.12.0
Updated
Sep 7, 2026
Size
8.1 MB

Open source details

Released
Sep 7, 2026
GitHub stars
322

Community project. Help and bug reports go to the maintainers on GitHub; AppsXi does not provide support for this app.

License

Permissive

MIT License

Use, change and share it freely, including in closed source apps, as long as the copyright notice stays.

Read the full license

How this app was checked

AppsXi checks every version before it is listed.

  • Signed by SANG RAK CHOI (6YQH3QFFK8)

    Apple Developer ID team 6YQH3QFFK8

  • Notarized by Apple

  • Extra macOS protections on (Hardened Runtime)

  • File matches the fingerprint GitHub published

    Show the SHA-256

    7a48825e6df5c08a76106f58dd5789ed74b3a4ad13a4a23ab75272692a79cb13

  • No malware found

    ClamAV 1.5.4 on Oct 19, 2026

  • Updates itself from the maintainer's own feed

    sparkle: https://github.com/opgginc/opencode-bar/releases/latest/download/appcast.xml. AppsXi checks each new version too.

Not included yet: installing and watching the app run in a virtual machine.

What these checks do and don't cover

Versions

2.12.0

Checked Oct 19, 2026 · Mac

DMG · 8.1 MB

Checked

Questions about Opencode Bar

Is Opencode Bar free?

Yes. Opencode Bar is free and open source under the MIT License. AppsXi lists the maintainers' official release and does not charge for it.

Is Opencode Bar safe to download?

AppsXi downloads every version of Opencode Bar from the maintainers' official GitHub release and checks it before it is listed. For version 2.12.0 (checked Oct 19, 2026), the Mac download is signed by its developer and notarized by Apple, each file matches the checksum GitHub publishes for the release, byte for byte and a malware scan found nothing.

Does Opencode Bar run on Apple silicon Macs?

Yes. Opencode Bar has a native Apple silicon build, and it runs on Intel Macs too.

What does Opencode Bar need to run?

Opencode Bar needs macOS Ventura (13) or later.

Who makes Opencode Bar?

Opencode Bar is an open source project by OP.GG on GitHub (opgginc/opencode-bar). Help and bug reports go to its maintainers there.

Reviews

No reviews yet. Anyone who downloads it from AppsXi while signed in can review it a day later.

Something wrong with this app? Report a problem. Maintainer? Ask us to change or remove this listing.

Maintain Opencode Bar? Add the AppsXi badge to your README
Opencode Bar on AppsXi
Markdown
[![Opencode Bar on AppsXi](https://appsxi.com/apps/opencode-bar/badge.svg)](https://appsxi.com/apps/opencode-bar)

It shows when Opencode Bar is in a top 10 and says “Verified on AppsXi” otherwise.