latestOpenAPI 3.1.02026-08-197104501.1 MB

8fbaab4fc7c5

Cost Tracking

Update Cost Discount Config

Update cost discount configuration.

Updates the cost_discount_config in litellm_settings. Discounts should be between 0 and 1 (e.g., 0.05 = 5% discount).

Example:

{
    "vertex_ai": 0.05,
    "gemini": 0.05,
    "openai": 0.01
}
patch/config/cost_discount_config

Request body

object required

Response

Successful Response

{"stackTrail":"paths:/config/cost_discount_config:patch:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}