- A subscription you already have, such as Claude Code or ChatGPT.
- An API key from a provider, OpenRouter, or Vercel AI Gateway.
- Dari credits, when you have neither.
Add A Subscription
Rundari accounts and choose Add a subscription, or open Subscriptions & Keys in the Dari Dashboard and choose Add Subscription.
Subscriptions are personal. Each person on your team connects their own, and their requests use it.
Connect more than one to pool them. Dari uses one at a time and moves to the next when it hits its limit.
When several of your plans serve a model, a request tries the model maker’s plan first, then the others in this order: Claude Code, ChatGPT, Grok, Muse Code, OpenCode Go, GitHub Copilot, Vercel Token Pass. A plan that is paused or whose sign-in the provider rejects is skipped within the same request.
Add An API Key
Rundari accounts, or open Subscriptions & Keys in the dashboard, find the provider, and choose Add. API keys belong to your organization, and any of its routers can use them. Google (Gemini) models run only on your own Gemini API key; Dari credits do not cover them.
From a script, pipe the key in so it stays out of shell history:
Usage Limits
When a subscription hits its usage limit, Dari pauses it until the provider’s reset time, and the request moves on:- Your next subscription of the same kind, in the order you connected them.
- Your other plans that serve the model, in the order above.
- An API key or Dari credits, once no plan can serve the model, for models with API Fallback turned on. Models without it pause too.
- Your other models. If a plan caps one model, such as a weekly Opus limit, only that model pauses.
dari router update <router_id> --api-fallback <model>.
To serve only some of a provider’s models from your subscriptions, list them with dari router update <router_id> --subscription-model <model>; that provider’s other models run on its API key or Dari credits.
Paused subscriptions show in dari accounts and on Subscriptions & Keys. Mark Available in a subscription’s menu ends a pause early.
Details
Banked resets
Banked resets
Some plans grant limit resets. With Use Banked Resets on in a subscription’s menu, Dari spends one when every subscription is paused. It is off by default. From the CLI:
dari accounts subscription auto-reset <provider> on.A subscription’s page in dari accounts lists its banked resets with their expiry, and choosing one spends it now. From the CLI: dari accounts subscription resets <provider> lists them and dari accounts subscription use-reset <provider> [reset-id] spends one.ChatGPT usage windows
ChatGPT usage windows
Dari reads Codex’s usage report, so a pause lasts until the window that blocked it resets, such as the weekly window rather than the five-hour one.
When no model is left
When no model is left
If every subscription is paused and no model has API Fallback, the request fails with
424 personal_subscription_unavailable. Requests that aren’t attributed to a person never use a subscription.Change or remove a key
Change or remove a key
dari accounts provider update <credential_id> <name> --value-stdin replaces a key’s value. Every router using it picks up the change. dari accounts provider remove <credential_id> deletes a key that no router uses.Muse Code
Muse Code
Meta limits a Muse Code subscription to Muse Code itself (Muse Code subscriptions). Dari recognizes Muse Code by the
x-client-id header it sends.Command-line reference
Command-line reference
dari accounts subscription connect <codex|claude-code|github-copilot|grok|muse-code|opencode-go|vercel-token-pass> connects a subscription. dari accounts subscription mark-available <provider> ends a pause. To choose subscriptions and fallback in a router file, see Router YAML.