DBDelve
Dive deep into your data. A fast, native, multi-engine database client written in Rust. Free and open source, no telemetry.
The intelligent orchestrator that routes IDE tasks to the best, cheapest models. Compatible with Claude Desktop, Cursor, VS Code, and Windsurf.
Developer toolsPython · HTMLGitHub @qanvassOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
The intelligent orchestrator that routes IDE tasks to the best, cheapest models.
Loading the full README.
Read the full README ↗TokenRelay autonomously manages your AI coding workflow. By evaluating prompt complexity, it seamlessly transfers tasks between models like Claude, GPT, and DeepSeek, slashing your token spend without sacrificing code quality.
While backend proxies like LiteLLM (62,000+ stars, 90M+ monthly downloads) focus on cloud server infrastructure and terminal tools like Aider (28,000+ stars) require separate CLI workflows, TokenRelay operates invisibly on your desktop. You type naturally inside Claude Desktop, Cursor, VS Code, or Windsurf, and TokenRelay intercepts, compresses, and routes your prompts in real time before expensive cloud bills occur.
TokenRelay requires zero external pip dependencies — standard Python 3.8+ library only.
# 1. Clone the repository
git clone https://github.com/your-org/tokenrelay.git
cd tokenrelay
# 2. Launch the interactive Control Center & Proxy Daemon
python agent.py dashboard
(On Windows, simply run run.bat to launch the interactive dashboard and local proxy).
TokenRelay automatically registers with Claude Desktop via the Model Context Protocol (MCP):
python agent.py mcp
(Automatically configured at %APPDATA%\Claude\claude_desktop_config.json).
TokenRelay adopts a sustainable developer-first monetization model inspired by Portkey and OpenRouter:
| Plan | Price | Features Included |
|---|---|---|
| Community Edition | Free Forever (MIT) | Local desktop proxy, CLI, Aider AST compression, LiteLLM fallback cascades, local Ollama routing, local receipts ledger. |
| Cloud MCP Hub | $2.00 / month | Managed zero-config hosted MCP gateway, cross-machine rule sync, shared team cache pools, Slack/Discord cost anomaly alerts. |
| Token Micropayment Pool | 2% margin per turn | Unified API wallet. Deposit $5 or $10 once; TokenRelay routes to DeepSeek, Groq, and Anthropic with zero individual account management. |
| Creator Sponsorship | Voluntary Donation | Developers who save hundreds of dollars each month can support continued open-source development directly via Square Pay. |
┌────────────────────────────────────────────────────────────────────────┐
│ TOKENRELAY TRI-LAYER SYNC ENGINE │
└──────────────────────────────────┬─────────────────────────────────────┘
│
┌─────────────────────────┼─────────────────────────┐
▼ ▼ ▼
┌──────────────────┐ ┌──────────────────┐ ┌──────────────────┐
│ LiteLLM Core │ │ Aider Core │ │ TokenRelay UI │
│ (Resilience) │ │ (Compression) │ │ (Telemetry) │
├──────────────────┤ ├──────────────────┤ ├──────────────────┤
│• 429 Cooldowns │ │• AST Signatures │ │• Claude Active │
│• Fallback Chains │ │• Prefix Pinning │ │• Live Intercept │
│• Quota Recovery │ │• Diff Directives │ │• Verified Ledger │
└──────────────────┘ └──────────────────┘ └──────────────────┘
tokenopt/router.py)When you hit a usage limit or credit depletion on Claude Desktop (claude-fable-5-1 or opus), TokenRelay catches the error and instantly cascades through high-parity alternatives without aborting your work:
claude-fable-5-1 ($10.00 in / $50.00 out)deepseek-r1 ($0.55/1M — 98.2% savings)gemini-2.0-flash ($0.00 Free Tier / $0.10/1M)qwen-2.5-coder:7b ($0.00 local Ollama)AiderContextOptimizer)http://localhost:8088 (OpenAI & Anthropic wire protocols).~/.claude/projects/ and ~/.cursor/.http://localhost:8085).Access the interactive dashboard at http://localhost:8085:
DEEPSEEK_API_KEY and GEMINI_API_KEY with Square donation support.Run the full automated test suite:
python -m unittest discover -s tests
If TokenRelay cuts your monthly AI bills, consider supporting ongoing open-source engineering:
MIT License. Engineered for developers who want frontier AI capabilities without runaway token invoices.