mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
docs spend monitoring (#7461)
This commit is contained in:
parent
0e39ebefb2
commit
49fa6515c0
3 changed files with 38 additions and 1 deletions
26
docs/my-website/docs/proxy/spending_monitoring.md
Normal file
26
docs/my-website/docs/proxy/spending_monitoring.md
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# Using at Scale (1M+ rows in DB)
|
||||
|
||||
This document is a guide for using LiteLLM Proxy once you have crossed 1M+ rows in the LiteLLM Spend Logs Database.
|
||||
|
||||
<iframe width="840" height="500" src="https://www.loom.com/embed/eafd90d5374d4633b99c441fb04df351" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
|
||||
|
||||
## Why is UI Usage Tracking disabled?
|
||||
- Heavy database queries on `LiteLLM_Spend_Logs` (once it has 1M+ rows) can slow down your API LLM requests. **We do not want this happening**
|
||||
|
||||
## Solutions for Usage Tracking
|
||||
|
||||
1. **Export Logs to Cloud Storage**
|
||||
- [Send logs to S3, GCS, or Azure Blob Storage](https://docs.litellm.ai/docs/proxy/logging)
|
||||
- [Log format specification](https://docs.litellm.ai/docs/proxy/logging_spec)
|
||||
|
||||
2. **Analyze Data**
|
||||
- Use tools like [Redash](https://redash.io/), [Databricks](https://www.databricks.com/), [Snowflake](https://www.snowflake.com/en/) to analyze exported logs
|
||||
|
||||
## Need an Integration? Get in Touch
|
||||
|
||||
- Request a logging integration on [Github Issues](https://github.com/BerriAI/litellm/issues)
|
||||
- Get in [touch with LiteLLM Founders](https://calendly.com/d/4mp-gd3-k5k/litellm-1-1-onboarding-chat)
|
||||
- Get a 7-day free trial of LiteLLM [here](https://litellm.ai#trial)
|
||||
|
||||
|
||||
|
||||
|
|
@ -45,6 +45,7 @@ const sidebars = {
|
|||
"proxy/health",
|
||||
"proxy/debugging",
|
||||
"proxy/pass_through",
|
||||
"proxy/spending_monitoring",
|
||||
],
|
||||
},
|
||||
"proxy/demo",
|
||||
|
|
|
|||
|
|
@ -3486,7 +3486,17 @@
|
|||
"mode": "chat",
|
||||
"supports_function_calling": true
|
||||
},
|
||||
"vertex_ai/mistral-large@2411": {
|
||||
"vertex_ai/mistral-large@2411-001": {
|
||||
"max_tokens": 8191,
|
||||
"max_input_tokens": 128000,
|
||||
"max_output_tokens": 8191,
|
||||
"input_cost_per_token": 0.000002,
|
||||
"output_cost_per_token": 0.000006,
|
||||
"litellm_provider": "vertex_ai-mistral_models",
|
||||
"mode": "chat",
|
||||
"supports_function_calling": true
|
||||
},
|
||||
"vertex_ai/mistral-large-2411": {
|
||||
"max_tokens": 8191,
|
||||
"max_input_tokens": 128000,
|
||||
"max_output_tokens": 8191,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue