switchboard
Unified inference API
One API for every model. Manage keys, monitor usage and balance per end-user, top up credits.
End users
Register the humans under your company. Each end-user is required before any inference request naming them.
Application keys
Bearer swb_… keys your app uses to call switchboard.valni.app/v1/chat/completions. Plaintext is shown once at mint — save it.
Set up your account
Tell us how you use Switchboard so invoices and receipts show the right name.
Preview:
Complete account setup above first.
Balance
Backend pendingCredits − usage, computed per end-user. Top up adds credits (Stripe via valni-api).
Per-end-user balance cards with top-up button. Strict gate at inference: balance > 0.
Blocked by: valni-api /v1/portal/balance → Switchboard admin GET /v1/admin/companies/:id/users/:userId/balance (lab#216)
Usage
Backend pendingDaily token + cost rollup, per end-user breakdown, top models.
Line chart of daily tokens / cost this month, plus a table grouped by end_user_id with totals.
Blocked by: valni-api /v1/portal/usage → Switchboard admin GET /v1/admin/companies/:id/users/:userId/usage (lab#216)
Docs
Get started with the Switchboard SDK.