# LLMSTATS.DROP

> Delete an LLM usage stats bucket.

URL: https://docs.hotkv.com/commands/llmstats-drop/

```
LLMSTATS.DROP name
```

- Group: LLM usage and budgets
- Complexity: O(1)
- HotKV Cloud: Performance and Scale plans
- On-Premise: requires the llm-stats license feature

LLM usage stats keep running totals of the requests, tokens, cost and latency of your model calls in named buckets, for example one per tenant or per model. `LLMSTATS.DROP` deletes a bucket and its counters.

## Return value

| Case | RESP2 | RESP3 |
| --- | --- | --- |
| Bucket deleted | Integer `1` | Same |
| No such bucket | Integer `0` | Same |

Errors:

- `ERR wrong number of arguments for 'llmstats.drop' command` if the argument count is wrong.
- `NOLICENSE llm-stats requires a HotKV license. Contact sales@hotkv.com` if your license does not include the `llm-stats` feature.

## Examples

```
127.0.0.1:6379> LLMSTATS.DROP tenant_acme
(integer) 1
127.0.0.1:6379> LLMSTATS.DROP tenant_acme
(integer) 0
```

## Compatibility

HotKV-only command. Redis and Valkey have no equivalent.

## See also

[LLMSTATS.BUCKET](https://docs.hotkv.com/commands/llmstats-bucket/index.md), [LLMSTATS.RECORD](https://docs.hotkv.com/commands/llmstats-record/index.md), [LLMSTATS.GET](https://docs.hotkv.com/commands/llmstats-get/index.md), [LLMSTATS.RESET](https://docs.hotkv.com/commands/llmstats-reset/index.md), [LLMSTATS.LIST](https://docs.hotkv.com/commands/llmstats-list/index.md), [LLMSTATS.PRICE](https://docs.hotkv.com/commands/llmstats-price/index.md), [AI features guide](https://docs.hotkv.com/ai-features/index.md)