dome model registers LLM upstreams the gateway proxies — Anthropic, OpenAI, Azure OpenAI, Google, Bedrock, hosted OpenAI-compatible vendors (Groq, Mistral, Together, Fireworks, DeepSeek, xAI, Perplexity, Cohere, OpenRouter, Cerebras, NVIDIA, DeepInfra, SambaNova, AI21, Databricks), and self-hosted endpoints — and groups them into routing pools that fan out across providers with priority, weighting, and failover.
List
dome model list [workspace-id-or-slug]
List LLM models in the workspace. Aliases: ls.
Get
dome model get <name>
Show details for one model, including provider config and Cedar attributes.
Add
dome model add <name>
Register an LLM model upstream. The shared API key, when supplied, is stored under the provider’s managed auth header — Authorization: Bearer … for OpenAI, Bedrock, and OpenAI-compatible hosted vendors; x-api-key for Anthropic; api-key for Azure OpenAI; x-goog-api-key for Google. When --endpoint is omitted, the CLI prefills the vendor’s default base URL from the provider registry.
Anthropic shared API key
Groq (endpoint prefilled from registry)
Azure OpenAI
Update
dome model update <name>
Update a model. Only provided flags change. Provider is immutable post-create — switch by adding a new connection.
Remove
dome model rm <name>
Remove an LLM model. Aliases: remove, delete.
OAuth connect
dome model oauth-connect <name>
Begin the shared-OAuth admin consent flow for a model configured with --auth-method=oauth --credential-type=shared: Anthropic OAuth, Azure AAD/Entra service principal, Google Workload Identity for Vertex. Prints a one-shot URL valid for ~10 minutes. Open it in a browser to complete consent — Dome stores the tokens on the callback.
Per-user OAuth models do not use this command; consent is gateway-triggered on each end user’s first call.
OAuth disconnect
dome model oauth-disconnect <name>
Revoke shared OAuth credentials. The OAuth client configuration is preserved, so a subsequent oauth-connect reuses the same client. Idempotent.
Pool create
dome model pool create <name>
Create a logical pool that fans out across one or more model connections.
Pool with two providers and weighted distribution
Pool list
dome model pool list [workspace-id-or-slug]
List pools. Aliases: ls.
Pool get
dome model pool get <name>
Show pool config and its members.
Pool update
dome model pool update <name>
Update a pool. Only provided flags change. Pass --match-when '{}' to clear the match predicate.
Pool set default
dome model pool set-default <name>
Mark this pool as the workspace default. Replaces any prior default.
Pool move
dome model pool move <name> --before <anchor> or --after <anchor>
Reposition a pool in its workspace’s match_when evaluation order. Pools with non-empty predicates evaluate in ascending sort_key; the first match wins. Refer to Pool order reference.
Exactly one of
--before or --after is required.
Pool remove
dome model pool rm <name>
Remove a pool. Aliases: remove, delete.
Pool gateways
dome model pool gateways <list|add|remove> <pool-name-or-id> [gateway-name-or-id]
Manage the pool’s membership in Gateways from the pool side. Mirrors dome gateway model-pools.
list <pool>— Gateways this pool belongs to. Alias:ls.add <pool> <gateway>— expose the pool’s models at the Gateway’s/gateways/<id>/v1endpoint.remove <pool> <gateway>— detach. Alias:rm.
Pool member add
dome model pool member add <pool> <model>
Add a model to a pool. Failover walks ascending priority; within a bucket, requests distribute by weight.
Pool member list
dome model pool member list <pool>
List members of a pool with priority, weight, and enabled state. Aliases: ls.
Pool member update
dome model pool member update <pool> <model>
Update a member’s priority, weight, or enabled flag.
Pool member remove
dome model pool member rm <pool> <model>
Remove a member from a pool. Aliases: remove, delete.
Quota list
dome model quota list
List LLM cost quotas in the workspace with their subject, USD limit, window, and enabled state. Aliases: ls. Refer to Cost quotas for what each subject covers.
Quota set
dome model quota set --subject <kind> --limit <usd>
Create a USD spend cap. The --subject flag decides what the cap covers; the gateway enforces it in-memory and either spills routing (per-model budgets) or rejects with 429 (total caps).
Workspace-wide monthly cap
Pool spill-over budget for one model
Per-caller daily cap
Quota remove
dome model quota rm <quota-id>
Remove a quota by id (from dome model quota list). Aliases: remove, delete.