Skip to main content

User session

login runs browser authorization. --no-browser prints the link rather than opening it; --callback-port changes the local callback port. status reports whether the CLI is authenticated and the credential source. logout clears the stored CLI session.

Provider credentials

set reads the OpenRouter API key from the named environment variable. providers list returns credential metadata, not secret values. revoke removes the active user-default OpenRouter credential. See Authentication and configuration for safe examples.