# openrouter-balance

Live OpenRouter credit balance in the Ulpi status bar — "OR $12.34 left", with total/used/remaining on hover, amber below 15% remaining, click to refetch.

- Type: Plugin
- Version: 1.0.3
- Updated: 22 Nov 2026
- Publisher: maeinomatic
- Category: Desktop

[Contact us](https://www.ulpi.io/en/support#contact)

## What it does

Live OpenRouter credit balance in the Ulpi status bar — "OR $12.34 left", with total/used/remaining on hover, amber below 15% remaining, click to refetch. Polls every 5 minutes idle and refetches \~8 s after each chat turn.

The plugin's Python half resolves the profile's OPENROUTER_API_KEY through agent.secret_scope (profile-scope aware, safe under multiplexing; the key never leaves the backend) and proxies the free openrouter.ai /api/v1/credits endpoint, mounted at /api/plugins/openrouter-balance/\* behind the dashboard auth gate. The desktop half registers a statusBar.right chip via @ulpi/plugin-sdk.

The Python register is a no-op — no tools, hooks or middleware. Disclosure — the only network egress is the openrouter.ai credits call authenticated with the user's own key; no telemetry; no file reads outside Ulpi's own env resolution; no shell commands or background processes.

Honest error chips (no key / bad key / offline / error) instead of silent failures; offline retries every 2 minutes.

## Review notes

What an owner reads and accepts before the install is approved.

- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

## More in Desktop

- [openspec](https://www.ulpi.io/en/marketplace/plugins/openspec): OpenSpec CLI tools for spec-driven development workflows.
- [orbit-desktop](https://www.ulpi.io/en/marketplace/plugins/orbit-desktop): Your workspace, shaped by your agent: a bundled browser desktop powered by Ulpi.
- [OSINT Map](https://www.ulpi.io/en/marketplace/plugins/osint-map): A live situational-awareness globe in Ulpi.

[All listings →](https://www.ulpi.io/en/marketplace) · [Publisher's guide →](https://www.ulpi.io/en/docs) · [Report a problem →](https://www.ulpi.io/en/security#report)
