Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (birouter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
🚀 Birouter CLI — AI Router & Token Saver
One endpoint for all your AI providers. Smart routing, auto-fallback, and 20-40% token savings.
Satu endpoint untuk semua penyedia AI. Routing cerdas, fallback otomatis, dan hemat token 20-40%.
🚀 Quick Start • 💡 Features • 📖 Documentation • 🤝 Contributing
🤔 Why Birouter? / Mengapa Birouter?
Birouter is a smart local gateway that sits between your AI tools (Claude Code, Cursor, Cline, Aider...) and 40+ AI providers. It helps you maximize subscriptions and minimize costs.
- 💰 RTK Token Saver — Auto-compress tool outputs (git diff, ls, grep), saving 20-40% tokens.
- 🔄 Auto Fallback — Smooth transition: Subscription → Cheap → Free. Never hit a rate limit again.
- 🌍 Universal Format — Seamlessly translate between OpenAI, Claude, Gemini, and Vertex.
- 📊 Savings Tracker — Real-time analytics on how much money and tokens you've saved.
⚡ Quick Start / Mulai Cepat
Installation / Instalasi
Install globally via npm:
npm install -g birouterRun Birouter:
birouter🎉 Dashboard opens at http://localhost:2004
- Default Password:
123456(change in dashboard) - API key is generated automatically.
💡 Key Features / Fitur Unggulan
| Feature / Fitur | Description / Deskripsi |
|---|---|
| 🚀 RTK Token Saver | Compresses tool outputs to save massive input tokens. / Kompres output tool untuk hemat token. |
| 🪨 Caveman Mode | Forces terse LLM replies to save output tokens. / Paksa jawaban singkat untuk hemat token output. |
| 🎯 Smart Fallback | Automatic routing across multiple tiers. / Routing otomatis antar tingkatan penyedia. |
| 👥 Multi-Account | Round-robin between multiple accounts per provider. / Bergilir antar banyak akun per penyedia. |
| 🔄 Format Translation | OpenAI ↔ Claude ↔ Gemini ↔ Vertex ↔ Kiro. |
| 🔍 Fetch Models | Discover available models with one click. / Temukan model yang tersedia dengan satu klik. |
🛠️ Supported CLI Tools / Alat yang Didukung
Claude Code • Cursor • Cline • RooCode • Aider • OpenClaw • Codex • OpenCode • Continue • Droid • Copilot • Kilo Code • Gemini CLI • Qwen Code • iFlow ... and any OpenAI/Claude compatible tool!
🇮🇩 Dokumentasi Bahasa Indonesia
Tersedia panduan lengkap dalam Bahasa Indonesia di repositori utama kami:
💝 Support / Dukungan
If Birouter helps you save money, consider supporting the development: Jika Birouter membantu Anda berhemat, pertimbangkan untuk mendukung pengembangan: