6 views
-/https://github.com/berriai/litellm/issues/31829
GitHub · issue

#31829 [Feature]: Pricing tiers and display currency for spend tracking

  • State: open
  • Author: @limitjupyter-ops
  • Labels: enhancement, proxy

### Check for existing issues

- [x] I have searched the existing issues and checked that my issue is not a duplicate.

### The Feature

I would like LiteLLM spend tracking to support model pricing tiers and optional display currency fields.

LiteLLM already has strong model cost tracking, including support for cache-related token costs. Enterprise procurement often needs additional pricing behavior:

- tiered pricing by token volume - enterprise negotiated prices - separate billing currency and display currency - exchange-rate metadata - historical cost recalculation when pricing rules change

Example config direction:

```yaml model_cost: my-provider/my-model: input_cost_per_token: 0.000001 output_cost_per_token: 0.000003 pricing_tiers: - up_to_tokens: 2000000 input_cost_per_token: 0.000001 output_cost_per_token: 0.000003 - above_tokens: 2000000 input_cost_per_token: 0.0000008 output_cost_per_token: 0.0000024 billing_currency: USD display_currency: CNY

### Motivation, pitch

Many enterprise AI teams do not pay public list prices. They may have negotiated prices, volume tiers, or local-currency internal chargeback.…

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (1 events)
#0 of 0 · 31d17h55m18s ago — entered · #import:https:::github.com:berriai:litellm post #3043
The left task is substantially harder because it requires cross-cutting changes to pricing schemas, spend aggregation, currency handling, configuration compatibility, and historical accounting semantics. The right task is comparatively localized to request validation or provider-specific translation.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search