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

## thv llm teardown

Remove LLM gateway configuration from all (or one) configured tools

### Synopsis

Revert the configuration changes made by "thv llm setup" for all configured
tools, or for a single tool when tool-name is provided as a positional argument
or via --client.

Use --purge-tokens to also remove cached OIDC tokens from the secrets provider.

```
thv llm teardown [tool-name] [flags]
```

### Options

```
      --client string   Remove configuration for only this AI tool by name (e.g. claude-code, cursor). Omit to revert all configured tools.
  -h, --help            help for teardown
      --purge-tokens    Also delete cached OIDC tokens from the secrets provider
```

### Options inherited from parent commands

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

### SEE ALSO

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

