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

  • Base URL: https://api.sea-lion.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.sea-lion.ai/config/cost_discount_config
  • Auth: one of:
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key

Request body

object required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 78 revisions of this API.