Skip to main content

thv llm token

Print a fresh LLM gateway access token to stdout

Synopsis

Print a fresh OIDC access token to stdout (all other output on stderr). Intended for use as apiKeyHelper or auth.command in OIDC-capable AI tools.

A cached or refreshable token is printed without prompting. If none exists (for example after "thv llm setup --lazy"), the OIDC browser login flow is launched automatically and the resulting token is printed once login completes.

thv llm token [flags]

Options

-h, --help help for token

Options inherited from parent commands

--debug Enable debug mode

SEE ALSO

  • thv llm - Manage LLM gateway authentication