# RouterBench > RouterBench is the intelligence layer for AI models. It routes every request to the best model for the task across 130+ models and 25+ providers, behind one OpenAI-compatible interface. RouterBench is offered as two products: a subscription coding agent (CLI, desktop, and VS Code) and a pay-as-you-go API gateway. Every model — including RouterBench's own — competes for each request under a live, traffic-based rating called the AI Credit Score™. ## Two products - [Subscription — the coding agent](https://routerbench.com/cli): One flat plan (Free, Pro, or Max) covers the CLI, desktop app, and VS Code extension. Sign in once with your browser; smart routing picks the best model per request. Manage plans at the subscription console (https://console.routerbench.com). - [Gateway — the API](https://routerbench.com/gateway): An OpenAI-compatible endpoint (https://api.routerbench.com/v1) for developers. Pay-as-you-go credits or bring your own provider keys at provider rates. Manage keys, credits, and usage at the dashboard (https://app.routerbench.com). ## How it works (capabilities) - [Smart Router](https://routerbench.com/smart-router): Send `model: "routerbench/auto"` (or select "Auto" in the apps) and RouterBench classifies the request and routes it to the best-fit model, with automatic failover when a provider degrades. Classification can run in-perimeter so prompts never leave your network. - [AI Credit Score™](https://routerbench.com/ai-credit-score): A live, per-task rating of every model from real traffic — accuracy, reliability, cost efficiency, and latency. See the [leaderboard](https://routerbench.com/leaderboard). - [Model catalog](https://routerbench.com/models): 130+ models across OpenAI, Anthropic, Google, Groq, Moonshot, and more — plus your own custom, fine-tuned, or self-hosted endpoints. - [Guardrails & PII](https://routerbench.com/guardrails): A sensitivity firewall tokenizes PII/PHI/secrets before egress and can pin sensitive prompts to on-prem models, fail-closed. ## Products & downloads - [CLI](https://routerbench.com/cli): `npm i -g @routerbench.com/cli` then run `RouterBench`. - [VS Code extension](https://routerbench.com/vscode): Install "RouterBench" from the Marketplace. - [Desktop app](https://routerbench.com/desktop): macOS, Windows, and Linux — see [downloads](https://routerbench.com/download). - [Playground](https://routerbench.com/playground): Try models in the browser. ## Enterprise - [Enterprise overview](https://routerbench.com/enterprise): SSO, RBAC, audit, and deployment in managed cloud, your VPC, or fully self-hosted/air-gapped. - [Sovereign AI](https://routerbench.com/sovereign): Independently governed models on sovereign infrastructure — engineered neutrality, auditable end to end. - [Security & compliance](https://routerbench.com/enterprise/security): Identity, encryption, data residency, and the sensitivity firewall. ## Pricing - [Pricing](https://routerbench.com/pricing): Free, Pro, and Max subscription plans; pay-as-you-go credits for the gateway; custom enterprise contracts. ## Documentation - [Docs](https://docs.routerbench.com): Quickstart, apps, plans & billing, smart routing, and the full API reference.