By bitrouter
Cost-optimize your agentic loops: route every model call through the cheapest viable path. Bundles the bitrouter setup skill and the origin MCP server for in-session model arbitrage.
Use this skill when the user wants to install, configure, run, or troubleshoot BitRouter — an LLM proxy that runs two ways: a local Rust daemon at http://localhost:4356 (BYOK) or BitRouter Cloud at https://api.bitrouter.ai/v1 (managed, brk_* keys, Stripe credits or x402 wallet). Unifies OpenAI, Anthropic, Google, OpenRouter, GitHub Copilot, and OpenCode Zen/Go behind one endpoint. Also covers signup on bitrouter.ai, minting brk_ API keys, running auditable benchmarks, migrating off LiteLLM / OpenRouter / any OpenAI- or Anthropic-compatible gateway, editing bitrouter.yaml, and wiring coding-agent harnesses (Claude Code, Codex, Hermes Agent, Harbor Terminus-2, OpenClaw). Trigger on "set up a local LLM proxy", "managed AI gateway", "replace litellm", "point claude code at a proxy", "bitrouter cloud", "brk_ key", anything naming bitrouter.yaml, port 4356, Harbor Terminus-2, or api.bitrouter.ai — even when the user does not name BitRouter directly.
Use when planning, launching, resuming, auditing, or reproducing a BitRouter Terminal-Bench 2.1 benchmark with Harbor, Terminus 2, and AWS EC2, including short policy iterations, one-time controls, model comparisons, or public full runs.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
The self-improving LLM router that optimize your agentic workflows with every runs, works with any harnesses, any models, any loops.
You're tokenmaxxing in production. Every step of every loop bills at frontier prices — file reads, tool calls, sub-agent hops, retries. Most don't need it. BitRouter routes each call, tool, and agent to the cheapest path that still reaches the goal, and tightens that routing as the loop runs.
Cost is live today — latency and accuracy are next.
An agentic loop consumes three things. Other routers govern only the first. BitRouter makes all three routable, observable, and governed:
Optimizing a loop isn't just model selection — it's choosing the model, the tool, and the sub-agent that best serve the loop's objective at every step that gets it to its goal.
BitRouter wraps your agentic loop in a second loop. Each loop gets its own policy spec — a config file that declares how its calls, tools, and agents should route. Against that spec BitRouter runs a continuous act → observe → evaluate → learn cycle, and every step is a component it already ships:
You choose what the loop optimizes for — cost, latency, or accuracy — and it improves the longer it runs in production.
Today cost is the validated objective: on Terminal-Bench 2.1, gpt-5.5 with BitRouter cut cost 32.8% at near-parity accuracy (−1.1 pp), by offloading routine steps to a cheaper model. Latency and accuracy objectives — and more base models — are landing next.
| Base model | Cost vs baseline | Latency vs baseline | Accuracy vs baseline |
|---|---|---|---|
gpt-5.5 | **−32.8%**¹ | coming soon | coming soon |
gpt-5.6 | coming soon | coming soon | coming soon |
claude-opus-4.8 | coming soon | coming soon | coming soon |
claude-sonnet-5 | coming soon | coming soon | coming soon |
claude-fable-5 | coming soon | coming soon | coming soon |
¹ Cost-optimization run on Terminal-Bench 2.1: −32.8% zero-cache imputed cost (audited range 28.6–32.8% by cache share) at near-parity accuracy, −1.1 pp (76.1% vs 77.3%, within single-attempt noise).
npx claudepluginhub bitrouter/bitrouter --plugin bitrouterSmart LLM routing with Claude subscription monitoring, complexity-first model selection, and 20+ AI providers
Smart LLM routing with Claude subscription monitoring, complexity-first model selection, and 20+ AI providers
OpenRouter SDK plugin - unified interface for 500+ LLM models with intelligent routing, cost optimization, and framework integrations (Vercel AI SDK, LangChain, OpenAI SDK, PydanticAI)
A real-time directory of AI models that allows your AI agent to advise and pick the ideal LLM for the user's task.
Flagship+ skill pack for OpenRouter - 30 skills for multi-model routing, fallbacks, and LLM gateway mastery
Teach Claude to detect, wire, and troubleshoot FreeRide — a local OpenAI-compatible gateway routing across free-tier providers (OpenRouter, Groq, NVIDIA NIM, Cloudflare Workers AI, HuggingFace).