Skip to content

Open source · Apache-2.0

Run your own
AI cloud.

MultiVibe is the open-source stack that turns a machine and the accounts you already pay for into your own inference provider — one compatible API, quota-aware routing, multi-tenant access and billing, all under your control.

Free software. No hosted account required. Runs on a laptop, a home server or your own fleet.

dashboard / Overviewdemo data
The Overview view in the MultiVibe demo dashboard
The control plane after a fresh demo install. Fictional demo data. Open full size

Connect the accounts you already pay for

  • OpenAI
  • Anthropic
  • Mistral
  • Qwen
  • OpenRouter
  • Perplexity
Provider setup

The gap

You don’t need a model lab to run an AI cloud.

The models already exist. The accounts already exist. What’s missing is the layer that turns them into a service you can trust — one API, routing that respects quotas, access control, metering, billing and traces. MultiVibe is that layer, and the source is yours.

  1. 01

    Own the endpoint

    Your base URL and your keys. Point Codex, Claude Code, OpenCode or any compatible app at one API.

  2. 02

    Own the supply

    Use the subscriptions and credits you already pay for. Add local runtimes when the hardware is yours.

  3. 03

    Own the relationship

    Invite members, cap their usage, set the prices. Take card payments on your own Stripe account.

Six layers. One repository.

Run the whole stack or only the layers you need. Every service below is part of the open-source project.

LayerWhat it doesIncluded
01Edge APIOpenAI Responses and Chat Completions, Anthropic Messages, Realtime, SSE and WebSocket. The same routes under /v1 or at the root.compatible:1455
02Account routingModel discovery across accounts, quota headroom, retries, session affinity and per-account or per-model blocks.failoverheadroom
03Policies & aliasesStable model names with local or cloud candidates, budgets, scoring, simulation and queue-or-reject fallbacks.aliasesbudgets
04Control planeMembers, roles, application keys, per-user caps, rolling plans, prepaid wallets and per-model prices.multi-tenantmetering
05Billing & paymentsOptional Stripe Connect credit packs on your account, off-peak rates, invoices and a wallet audit trail.Stripe Connectmerchant of record
06Host & updatesDocker Compose, Unraid, signed macOS, Linux and Windows builds, plus a signed update feed with rollback.Dockersigned releases

A cloud you can operate.

The pieces that usually need a platform team — already in the repository.

One API

Every client. One endpoint.

Responses, Chat Completions, Anthropic Messages, Realtime voice, SSE and WebSocket. MultiVibe answers under /v1 and at the root, so Codex, Claude Code, OpenCode, Cursor and your own services connect without a rewrite.

  • OpenAI- and Anthropic-compatible routes
  • Ollama- and LiteLLM-style discovery
  • Streaming, Realtime and deferred jobs
dashboard / Playground and docsdemo data
The Playground and docs view in the MultiVibe demo dashboard
The built-in API workspace with a /v1/responses request ready to send. Fictional demo data. Open full size

Routing

Respect every quota.

Discover models across your accounts, watch remaining headroom and fail over before a request dies. Aliases choose between local and cloud candidates with budgets, scoring and queue-or-reject fallbacks.

  • Quota-aware account selection
  • Model aliases with local or cloud candidates
  • Session affinity and automatic retries
dashboard / Routingdemo data
The Routing view in the MultiVibe demo dashboard
Smart routing policies and their fallback candidates. Fictional demo data. Open full size

Control plane

Members, caps and real billing.

Invite members and give each one a credit, token or request cap that rolls over daily, weekly or per subscription window. Prepaid wallets, per-model prices and optional off-peak rates. With Stripe Connect, members top up by card on your account — you stay merchant of record.

  • Per-user caps and rolling plans
  • Wallet ledger and per-model pricing
  • Optional Stripe Connect credit packs
dashboard / Usersdemo data
The Users view in the MultiVibe demo dashboard
Members, quota windows and prepaid balances. Fictional demo data. Open full size

Observability

Every request accounted for.

Traces record tokens, cost, latency and the account that served each request — per key, project and member. Export the detail, watch the dashboards, and send errors to Sentry where you need them.

  • Tokens, cost and latency per request
  • Project and application attribution
  • Exports and Sentry integration
dashboard / Activitydemo data
The Activity view in the MultiVibe demo dashboard
Request volume, cost and account-routing telemetry. Fictional demo data. Open full size

Day two

Built for the boring parts.

The features that decide whether an operator keeps the stack running after the demo.

Access
Admin and member roles, passkeys, email invitations and scoped application keys.
Billing
Prepaid wallets, rolling plans, per-model prices, off-peak calendars and a wallet audit trail.
Payments
Optional Stripe Connect direct charges, credit packs, idempotent events and daily reconciliation.
Observability
Traces, token, cost and latency statistics, project attribution, exports and Sentry integration.
Reliability
Account failover, retries, Codex session affinity, durable deferred jobs and signed webhooks.
Extensibility
Lifecycle plugins in isolated WASM heaps, custom providers, schema-based alias policies and audio or voice services.
Security
Credentials stay on your instance, scoped keys, sandboxed plugins and verified update rollback.
Deployment
Docker Compose, Unraid, macOS, Linux and Windows Host builds, plus a hardened GHCR image.

From a machine to a cloud in four steps.

Start small. One machine and one account are enough. Grow the fleet, the members and the models when you are ready.

  1. Clone the stack.

    Docker with Compose v2, Git, curl and Node.js 22 or newer are the host requirements.

    step 1
    $ git clone https://github.com/thibautrey/multivibe.git
    $ cd multivibe
    
  2. Deploy it.

    The deploy script records the commit, rebuilds the container and waits for the health endpoint to answer.

    step 2
    $ ./scripts/deploy.sh
    # dashboard → http://localhost:1455
    
  3. Connect your supply.

    Add provider accounts, local runtimes, or both in the dashboard. Create the first application key before exposing the edge.

  4. Point a client.

    Any OpenAI-compatible SDK or agent can use the endpoint. The model can be a discovered model or an alias you defined.

    step 4
    $ export OPENAI_BASE_URL=http://localhost:1455/v1
    $ export OPENAI_API_KEY=your-application-key
    

The cloud is the software you can read.

Apache-2.0 covers MultiVibe Core — the edge, the routing, the control plane and the billing. Audit the code that holds your keys, fork it for your fleet, or run it without a hosted account.

  • Apache-2.0 with an explicit patent grant
  • One repository, from edge to dashboard
  • Signed releases with verifiable checksums
  • No hosted account required to self-host
multivibe/Apache-2.0
├─ src/            gateway · routing · billing
├─ packages/ui/    control plane dashboard
├─ services/       optional marketplace broker
├─ packaging/      macOS · Linux · Windows · Unraid
├─ scripts/        deploy · release · verification
└─ LICENSE         Apache License 2.0
A trimmed view of the repository layout.

Before you deploy.

Short answers. The documentation goes further.

Browse the documentation
Is MultiVibe a model provider?

No. MultiVibe is the software you run to become one. Models come from provider accounts you connect, local runtimes you host, or both. The project does not supply models or capacity by default.

Do I need a GPU to start?

Not necessarily. A small server or VPS can front provider accounts on its own. Add local inference when you have the hardware, and route between local and cloud candidates with an alias.

Can I charge other people?

Yes. Members, per-user caps, rolling plans, prepaid wallets and optional Stripe Connect credit packs are part of the stack. Charges are made on your Stripe account, so you stay merchant of record.

Where do prompts and credentials go?

Credentials stay on the instance you operate. Prompts go to the provider account or runtime your policy selects. Nothing is routed through a MultiVibe account unless you choose the hosted service.

What does it cost?

The software is free under Apache-2.0. You pay for what you plug in: provider usage, hardware, electricity and your own network. Stripe charges its own fees; the optional marketplace broker takes a per-instance commission, 5% by default.

How do updates work?

Packaged Hosts check a signed release feed, verify the archive, wait for a quiet period and roll back if the new version fails its health check. Compose deployments rebuild from the repository and keep the previous commit available.

Your cloud. Your call.

Start with one machine and one account. Grow it into a provider.

Apache-2.0 · no hosted account required