BurnRate

Sync BurnRate pricing data from LiteLLM

Fetches current model pricing from LiteLLM's MIT-licensed model cost database on GitHub (github.com/BerriAI/litellm) and upserts into the BurnRate pricing table. Admin maintenance endpoint — no credit charge. Rate limited to 1 call per hour. Invalidates the Redis pricing cache on success so subsequent estimates use fresh data immediately.

post/api/burnrate/admin/sync-pricing

Request

  • Base URL: https://plith.ai
  • URL: https://plith.ai/api/burnrate/admin/sync-pricing
  • Auth: none required

Headers

x-plith-org-idstring required

Organisation ID for authentication.

Response

Sync completed successfully

request_idstring
credits_usedinteger
credits_remaininginteger
fallback_behaviorstring

Example response

{
  "sync": {
    "source": "litellm",
    "license": "MIT"
  },
  "fallback_behavior": "none"
}

Changes

No recorded changes to this operation across all 1 revision of this API.