litellm-mirror/docs/my-website/release_notes/v1.56.1/index.md
Krish Dholakia 513874858b fix(model_hub.tsx): clarify cost in model hub is per 1m tokens (#7687)
* fix(model_hub.tsx): clarify cost in model hub is per 1m tokens

* docs: test blog

* docs: improve release note docs

* docs(docs/): new stable release doc

* docs(docs/): specify date in all posts

* docs(docs/): add git diff to stable release docs
2025-01-11 09:57:09 -08:00

90 lines
2.3 KiB
Markdown

---
title: v1.56.1
slug: v1.56.1
date: 2024-12-27T10:00:00
authors:
- name: Krrish Dholakia
title: CEO, LiteLLM
url: https://www.linkedin.com/in/krish-d/
image_url: https://media.licdn.com/dms/image/v2/C5103AQHYMXJfHTf4Ng/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1517455593871?e=1741824000&v=beta&t=udmat6jS-s3EQZp1DTykf7NZmf-3sefD_I9B1aMjE5Y
- name: Ishaan Jaffer
title: CTO, LiteLLM
url: https://www.linkedin.com/in/reffajnaahsi/
image_url: https://media.licdn.com/dms/image/v2/D4D03AQGiM7ZrUwqu_Q/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1675971026692?e=1741824000&v=beta&t=eQnRdXPJo4eiINWTZARoYTfqh064pgZ-E21pQTSy8jc
tags: [key management, budgets/rate limits, logging, guardrails]
hide_table_of_contents: false
---
import Image from '@theme/IdealImage';
# v1.56.1
`key management`, `budgets/rate limits`, `logging`, `guardrails`
:::info
Get a 7 day free trial for LiteLLM Enterprise [here](https://litellm.ai/#trial).
**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.
**[Start here](https://docs.litellm.ai/docs/proxy/rate_limit_tiers)**
```bash
curl -L -X POST 'http://0.0.0.0:4000/budget/new' \
-H 'Authorization: Bearer sk-1234' \
-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.
[Relevant PR](https://github.com/BerriAI/litellm/pull/7435)
## 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:**
- [Setup Finetuning](https://docs.litellm.ai/docs/fine_tuning)
- [Setup Logging](https://docs.litellm.ai/docs/proxy/logging#datadog)
## Dynamic Params for Guardrails
You can now set custom parameters (like success threshold) for your guardrails in each request.
[See guardrails spec for more details](https://docs.litellm.ai/docs/proxy/guardrails/custom_guardrail#-pass-additional-parameters-to-guardrail)