prompt_caching.md: Fix wrong prompt_tokens definition (#16044)
This commit is contained in:
parent
f747a4a38a
commit
297c2a0bf4
@ -27,7 +27,7 @@ For the supported providers, LiteLLM follows the OpenAI prompt caching usage obj
|
||||
}
|
||||
```
|
||||
|
||||
- `prompt_tokens`: These are the non-cached prompt tokens (same as Anthropic, equivalent to Deepseek `prompt_cache_miss_tokens`).
|
||||
- `prompt_tokens`: These are all prompt tokens including cache-miss and cache-hit input tokens.
|
||||
- `completion_tokens`: These are the output tokens generated by the model.
|
||||
- `total_tokens`: Sum of prompt_tokens + completion_tokens.
|
||||
- `prompt_tokens_details`: Object containing cached_tokens.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user