wink-run/tokenbank
Token Bank — the local LLM gateway that sits between your AI agents and every provider
Token Bank is a personal AI resource hub that sits as a local gateway between your AI agents and every provider API. It gives full per-token usage transparency, smart routing (auto-switches between local models, free quotas, paid subscriptions, and community-shared compute), and a P2P compute-sharing network to monetize idle resources. Track exactly where your tokens go across Claude, Cursor, Codex, and more — all in one dashboard.
Install
Download from github.com/wink-run/tokenbank/releases/latestStandalone desktop app. Windows and macOS builds available as release assets. After installing, set up your AI agent API keys (Claude, Codex, Cursor) in the Token Bank local gateway to route all traffic through it.
Compatibility
Supports Claude Code, Cursor, Codex, WorkBuddy. Local gateway architecture — no DSH plugin install required; works alongside DSH as a token router.
Details
- Repo: wink-run/tokenbank
- Category: Coding & Development
- Stars: 80
- Last push: 2026-09-21
- First seen: 2026-05-09
Recent updates
Zero-intrusion integration: declarative application handlers (CLI env injection + config hot-patching) require no agent modification. AI-native architecture: agents dynamically build asset discovery and routing strategies from real call records instead of hard-coded rules.
FAQ
- What AI tools does Token Bank support?
- Token Bank supports Claude Code, Cursor, Codex, WorkBuddy, and Kimi Code as client agents. It routes API calls to providers via a local gateway — plug your existing tools in without changing how you use them.
- How does Token Bank save money on AI API costs?
- Token Bank's scenario routing engine automatically switches requests between local models, free quotas, paid subscriptions, and community-shared compute based on your usage patterns. It also shows full-chain token traces so you can see exactly which operations are consuming budget.
- Does Token Bank require changing how I use Claude or Cursor?
- No. Token Bank uses declarative CLI env injection and config hot-patching so agents continue using their normal API calls. The local gateway intercepts and routes transparently — your existing Claude, Cursor, or Codex setup works unchanged.
Alternatives
xiufengsun/TokenTracker · Han-1413141/dsh-cost-meter · omdsh-dev/dsh-mnemon