---
title: thv llm token
hide_title: true
description: Reference for ToolHive CLI command `thv llm token`
last_update:
  author: autogenerated
slug: thv_llm_token
mdx:
  format: md
---

## 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.
Runs non-interactively — will not launch a browser flow.

```
thv llm token [flags]
```

### Options

```
  -h, --help   help for token
```

### Options inherited from parent commands

```
      --debug   Enable debug mode
```

### SEE ALSO

* [thv llm](thv_llm.md)	 - Manage LLM gateway authentication

