Loading...
Loading...
Manage provider connections from the CLI: list available/configured providers, add, test, test-all, validate, rotate API keys, and view per-provider metrics.
npx skill4agent add cheaper-inference/omniroute cli-providersnpm install -g omniroute # or: npx omniroute
omniroute --versionprovider-cmd provider [subcommand]omniroute provider-cmd provider [subcommand]providersomniroute providersproviders available--json--search <query>-q, --q <query>--category <category>omniroute providers availableproviders list--jsonomniroute providers listproviders test <idOrName>--jsonomniroute providers test <idOrName>providers test-all--jsonomniroute providers test-allproviders validate--jsonomniroute providers validateproviders rotate <idOrName>--new-key <key>--from-env <VAR>--oauth--yes--skip-test--dry-runomniroute providers rotate <idOrName>providers status--provider <name>--jsonomniroute providers statusproviders metrics--provider <id>--connection-id <id>--period <p>--metric <m>--sort-by <field>--limit <n>--watch--compare <list>omniroute providers metricsproviders metric <connectionId> <metric>--period <p>omniroute providers metric <connectionId> <metric>test-provider test [provider] [model]--all-providers--json--latency--repeat <n>--compare <models>--save <path>omniroute test-provider test [provider] [model]omnirouteomniroute providers available # Full OmniRoute provider catalog
omniroute providers available --search openai # Filter by id, name, alias
omniroute providers available --category api-key # Filter by category
omniroute providers available --json # Machine-readable JSONapi-keyoauthfreelocalcomboomniroute providers list # Connections in your DB
omniroute providers list --jsonomniroute providers test <id|name> # Test one configured connection
omniroute providers test-all # Test every active connection (TUI progress)
omniroute providers validate # Local-only structural validation (no HTTP)test-all--jsonomniroute providers test-all --jsonomniroute keys list # List all OmniRoute API keys
omniroute keys add <provider> [apiKey] # Add an API key for a provider
omniroute keys remove <provider> # Remove an API key
omniroute keys regenerate <id> # Regenerate (rotate) a key
omniroute keys revoke <id> # Revoke a key (disables it)
omniroute keys reveal <id> # Show the full key value
omniroute keys usage <id> # Show usage stats for a key
omniroute keys rotate <id> # Rotate + revoke old key atomically
omniroute keys expiration list # List key expiration timesomniroute keys policy show <id> # Show rate-limit / permission policy
omniroute keys policy set <id> \
--rate-limit 100 \
--rate-window minute \
--permissions chat,models # Set policy on a keyomniroute models # List all models (all providers)
omniroute models openai # Filter by provider
omniroute models --search gpt # Search by name
omniroute models --json # JSON outputomniroute oauth list # List OAuth-configured providers
omniroute oauth login <provider> # Start browser-based OAuth flow
omniroute oauth logout <provider> # Revoke OAuth token
omniroute oauth status <provider> # Show token state + expiry
omniroute oauth refresh <provider> # Force token refreshloginomniroute nodes list <provider> # List nodes for a provider
omniroute nodes add <provider> --api-key <key> # Add a node
omniroute nodes remove <provider> <nodeId> # Remove a node
omniroute nodes test <provider> <nodeId> # Test one nodeomniroute combo list # List all combos
omniroute combo create <name> \
--strategy priority \
--targets anthropic/claude-opus-4-7,openai/gpt-4o # Create combo
omniroute combo switch <name> # Activate a combo as default
omniroute combo delete <name> # Delete a combo
omniroute combo suggest --task "code review" # Ask OmniRoute to recommend a comboomniroute quota # Provider quota usage + reset times
omniroute usage # Request + token usage summary
omniroute cost # Cost breakdown (by provider/model)omniroute compression status # Current compression mode + savings stats
omniroute compression set --mode rtk # Enable RTK compression
omniroute compression set --mode stacked # Enable stacked (RTK + Caveman)
omniroute compression set --mode off # Disable compression
omniroute compression preview --mode rtk --text "..." # Preview savings for sample textomniroute health # Detailed health: circuit breakers, cache, memoryproviders test <id>keys removekeys addoauth logincombo createstrategy unknownpriorityweightedround-robinfill-firstleast-usedcost-optimizedautorandomstrict-randomp2creset-awarelkgpcontext-optimizedcontext-relay