Infrastructure

Get Started

Onboard to BitRouter Cloud — sign in, enable the managed provider, and make your first managed request.

This is onboarding for the hosted service. To install and run the binary itself (self-hosted or Cloud), see Installation first.

1. Sign in

bitrouter auth login

This runs the RFC 8628 device-authorization flow against the BitRouter authorization server, prints an approval URL, and stores your tokens locally; they refresh automatically. You sign in once per machine.

2. Start the proxy

bitrouter start

Once you're signed in, the bitrouter managed provider auto-enables — you can call any model in the Managed Models catalog with no upstream provider keys.

3. Your first managed request

Point your agent at the local proxy (default http://127.0.0.1:4356) and call a managed model:

curl http://127.0.0.1:4356/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"moonshotai/kimi-k2.6","messages":[{"role":"user","content":"Hello"}]}'

Billing

You're billed per request at the prices shown in Managed Models — one wallet, no per-provider signups. Failed requests aren't billed. Manage keys, usage, and billing from the console or bitrouter cloud ….

Prefer your own provider accounts, or want to run everything yourself? You can — see BYOK, local & private models, and Self-host vs Cloud. A Cloud account is optional and composes with any of them.

How is this guide?

On this page