mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
docs(proxy): clarify x-litellm-model-group vs provider model id
Made-with: Cursor
This commit is contained in:
parent
9e6d2d2069
commit
68f2ec308a
1 changed files with 3 additions and 1 deletions
|
|
@ -55,7 +55,9 @@ These headers are useful for clients to understand the current rate limit status
|
|||
| `x-litellm-model-id` | string | Unique identifier for the model used | |
|
||||
| `x-litellm-model-api-base` | string | Base URL of the API endpoint | ✅ |
|
||||
| `x-litellm-version` | string | Version of LiteLLM being used | |
|
||||
| `x-litellm-model-group` | string | Model group identifier | |
|
||||
| `x-litellm-model-group` | string | Routed **`model_name`** from `model_list` (client-visible alias) | |
|
||||
|
||||
This header names the **model group** LiteLLM selected: the **`model_name`** entry in your proxy `model_list`—the same value clients send as `model`. It does **not** mirror **`litellm_params.model`** (the actual provider model id LiteLLM forwards upstream). Use **`x-litellm-model-id`** when you need the deployment identifier.
|
||||
|
||||
## Response headers from LLM providers
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue