key_generate
Create a new LiteLLM Proxy API key with configurable model access, budget cap, and expiration time.
Instructions
Generate a new LiteLLM Proxy API key (/key/generate)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| models | No | List of models the key is allowed to access | |
| team_id | No | Optional Team ID to associate with the key | |
| duration | No | Duration for the key to remain valid (e.g., 1h, 30d) | |
| metadata | No | Any additional metadata to store with the key | |
| max_budget | No | Maximum spend budget in USD |