Valni
switchboard Alpha

One bill.
Every model.

No subscriptions. No provider keys. No juggling accounts.

Plug in once, and every model runs at full capability, configured on the fly, priced one simple way. See exactly what's used, revoke it just as fast.

Get started

Routes to

OpenAI OpenAI GPT
Anthropic Anthropic Claude
Grok xAI Grok
DeepSeek DeepSeek DeepSeek
MoonshotAI Moonshot AI Kimi
Z.ai Z.ai GLM

Compatible with

How does Switchboard help?

Routing

One request shape reaches every live model in the catalog; change models by changing the model id. Switchboard speaks each provider's native format, so nothing is lost in translation: streaming, tool calling, thinking, and caching all work at the model's full capability.

Metering

Every token measured as it streams: input, output, cache writes, cache reads, and reasoning, itemized at provider-exact rates with cached-prompt discounts included. You know what any request cost the moment it finishes.

Control

Spend caps, rate limits, and model policy set per user and enforced at the router, not in your code. A budget for every teammate, a ceiling for every end user.

Research

Capabilities, configuration, and per-token prices for every model, human-verified in Linecard before they go live. Compare the new frontier model against your current one before routing a single request to it.

Analytics

Usage by model, by user, and over time, with typed error records in each user timeline. You see who used what, what it cost, and when a request failed, why.

Key management

Switchboard mints and manages keys for your application and every end user. Nothing ships in a binary, nothing gets pasted, and rotation happens over the wire: no client rebuild, no downtime.

One bill

One prepaid balance covers every provider, every debit lands on a per-user ledger, and it all settles to a single itemized invoice. Whether it is your own usage or a thousand users, the bill is one document that adds up.

Our promise

Full native power,
or we don't serve it.

We take inference management seriously. You will never get less from a model through Switchboard than you would going direct: if it is on our list, it runs at full capability, in its own native format. We handle the maintenance and details that make that work; you change a model id and ship.

Get started →
Swift Switchboard SDK
import Switchboard

guard let apiKey = ProcessInfo.processInfo.environment["SWITCHBOARD_API_KEY"] else {
    fatalError("Set SWITCHBOARD_API_KEY in the environment")
}
let client = Client(apiKey: apiKey)

let response = try await client.inference(Inference.Request(
    model: "claude-sonnet-5",
    messages: [.user("Hello")],
    user: "your_user_id"
))

print(response.choices.first?.message.content ?? "")
cURL switchboard.valni.app
curl https://switchboard.valni.app/v1/switchboard/inference \
  -H "Authorization: Bearer $SWITCHBOARD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-5",
    "messages": [{"role": "user", "content": "Hello"}],
    "user": "your_user_id"
  }'

Pricing

A 4.9% routing and platform fee, applied when you top up. No subscription.

Get started

Switchboard FAQs

How is Switchboard different from OpenRouter or LiteLLM?

OpenRouter and LiteLLM are gateways: they unify the API. Switchboard does that and owns the billing relationship: per-customer key minting, per-end-user attribution, and a single invoice covering every provider. Built for SaaS products that need to resell inference, not just route it.

Which request formats are supported?

The formats you already use. Switchboard speaks each provider's native format, lossless, and every model is auto-configured from Linecard to run with its full capability set. Provider-specific options pass through untouched when you need them.

Which models can I route to?

Every live model from an enabled provider in Linecard is routable through Switchboard. The registry tracks pricing, capabilities, and configuration per model, so you can pick by feature (tool calling, vision, caching) and not just by name. The live list is always one call away, and browsable in Linecard.

How does billing work?

A 4.9% routing and platform fee, applied once when you top up credit. No subscription. Usage draws down your prepaid balance at each provider's exact rate. Start with standard rate limits; higher limits come with history or by application.

What powers the routing

See pricing, capabilities, and configuration for every model

Linecard is the model registry behind Switchboard: track what each model can do, what it costs per token, and the configuration it performs best with.

Start with Switchboard

Add the package, drop in your model id, ship.