LiteLLM is moving to Rust Read the latest updates.
v1.56.1
key management, budgets/rate limits, logging, guardrails
info
Get a 7 day free trial for LiteLLM Enterprise here.
no call needed
✨ Budget / Rate Limit Tiers​
Define tiers with rate limits. Assign them to keys.
Use this to control access and budgets across a lot of keys.
curl -L -X POST 'http://0.0.0.0:4000/budget/new' \
-H "Authorization: Bearer $LITELLM_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"budget_id": "high-usage-tier",
"model_max_budget": {
"gpt-4o": {"rpm_limit": 1000000}
}
}'
OTEL Bug Fix​
LiteLLM was double logging litellm_request span. This is now fixed.
Logging for Finetuning Endpoints​
Logs for finetuning requests are now available on all logging providers (e.g. Datadog).
What's logged per request:
- file_id
- finetuning_job_id
- any key/team metadata
Start Here:
Dynamic Params for Guardrails​
You can now set custom parameters (like success threshold) for your guardrails in each request.