Valni Platform
Sign in

switchboard

Unified inference API

One API for every model. Manage keys, monitor usage and balance per end-user, top up credits.

API keys

Backend pending

Bearer swb_… keys your app uses to call switchboard.valni.app/v1/chat/completions. Mint, list, revoke.

Table of keys (prefix + created + last-used) with a Mint button. Mint shows the plaintext key once, then never again.

Blocked by: valni-api /v1/portal/keys → Switchboard admin (lab#216)

Balance

Backend pending

Credits − 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/customers/:id/users/:userId/balance (lab#216)

Usage

Backend pending

Daily 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/customers/:id/users/:userId/usage (lab#216)

Docs

Get started with the Switchboard SDK.