Claude Code model router
Tokenbank
Token Bank — the local LLM gateway that sits between your AI agents and every provider. Know where tokens go · Spend less with smart routing to Ollama, Groq, GitHub Models · Earn by sharing idle quota on a community P2P network. One-click onboarding for Cursor, Claude Code, Codex CLI, Gemini CLI — no agent changes. Full trace, seamless model swap
Install
git clone https://github.com/wink-run/tokenbank.gitFrom the README
Token Bank ## Your AI needs a manager. Personal AI hub · Your token manager. One local gateway for Claude Code, Codex, Cursor, WorkBuddy, Kimi Code and more — see every token, spend less, keep every AI asset in one place, orchestrate agents, and rent out what sits idle. Open source · Keep your workflow · One-click revert Website · Free download · ▶ Watch on YouTube · 中文文档 · Architecture · Privacy Policy Overview Token Bank is a next-generation personal AI resource hub that enables one-click onboarding and intelligent orchestration of mainstream AI tools like Claude, Cursor, Codex, and WorkBuddy through a local gateway architecture. Core Value Proposition - Usage Transparency: Full-chain trace makes every token consumption accountable - Cost Optimization: Smart routing automatically switches between local models, free quotas, paid subscriptions, and community-shared compute with lossless protocol adaptation - Sharing Economy: P2P compute-sharing network creates a decentralized exchange for models and agents, monetizing idle resources into credits Technical Highlights Zero-Intrusion Integration Declarative application handlers (CLI env injection + config hot-patching) enable seamless onboarding without modifying agent applications. Multi-Protocol Adaptation Layer Transparent protocol conversion (Anthropic Messages, OpenAI Chat, Codex Responses) allows agents to use third-party models without awareness. Unified Asset Layer Architecture Community agents run directly on users' existing agent applications (Codex, Claude, Cursor, etc.) without rebuilding harnesses, executing within user-accumulated MCP/Skill/Prompt assets for dual reuse of runtimes and tool ecosystems. Scenario Routing Engine - Routing policy learning from usage patterns - Lossless context…
Details
- Repository
- wink-run/tokenbank
- Website
- tokenbank.wink.run
- Language
- JavaScript
- License
- Apache-2.0
- Last updated
- 3 November 2026
- Topics
- agentanthropicclaudecodecodexcursordshdsh-pluginllmllm-gatewayllm-gateway-systemllm-proxyllm-router
FAQ
What is Tokenbank?
Token Bank — the local LLM gateway that sits between your AI agents and every provider. Know where tokens go · Spend less with smart routing to Ollama, Groq, GitHub Models · Earn by sharing idle quota on a community P2P network. One-click onboarding for Cursor, Claude Code, Codex CLI, Gemini CLI — no agent changes. Full trace, seamless model swap It is a model router for Claude Code, from wink-run/tokenbank on GitHub.
How do I install Tokenbank?
Clone wink-run/tokenbank from GitHub and follow the setup steps in its README.
Is Tokenbank popular?
wink-run/tokenbank has 110 GitHub stars and 18 forks. It was last updated on 3 November 2026.
More model routers & proxies
Claude
107travisjneuman/.claude
The Ultimate Claude Code Toolkit: 180 skills, 10 agents, 29 commands, 7 hooks, and 81 marketplace repos (11,000+ community skills). Drop-in ~/.claude config with a generated index and router that loads the right resources on demand. Zero config required.
Dsh Permission Rules
134PerryLink/dsh-permission-rules
Claude Code-style declarative permission rules for DeepSeek Harness: ordered allow/deny/ask rules with tool-name, argument (glob/regex), and workspace-path matching on the tools/pre-execute waterfall, session-log audit, and HMR reload.
AnyRouter Transparent Proxy
110RebornQ/AnyRouter-Transparent-Proxy
一个基于 FastAPI 的轻量级透明 HTTP 代理服务,专为解决 AnyRouter 的 Anthropic API 在 Claude Code for VS Code 插件中报错 500 的问题而设计。
Cnb2api
92dengyie/cnb2api
Turn CNB cloud-workspace in-network AI into production OpenAI & Anthropic (Claude Code) APIs. Zero deps, v5.2 self-healing HA, quota CLI.
Agent Router
120nidhi-singh02/agent-router
CLI that picks Cursor, Claude Code, Codex, or OpenCode + model/effort for a task, then launches it. Powered by Jev and Herdr
Claude Code Open
70Davincible/claude-code-open
Claude Code with any LLM provider (OpenRouter, Gemini, Kimi K2)
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.