Repository navigation
Commit 9a27bc4
committed
feat(internal): add Gemini 128k threshold fields to pricing schema
Added schema fields for Gemini models' tiered pricing at 128k token threshold
to support future implementation. These fields are documented as NOT yet
implemented in calculation logic to prevent confusion.
Fields added:
- input_cost_per_token_above_128k_tokens
- output_cost_per_token_above_128k_tokens
This prepares the schema for potential Gemini model support while clearly
indicating that calculation logic updates would be required. The current
calculateTieredCost function only handles 200k thresholds (Claude models).
Adding these fields now ensures schema completeness for LiteLLM compatibility
while the warning comments added in previous commit make it clear what
implementation work would be needed to support Gemini pricing calculations.1 parent 4f084ff commit 9a27bc4
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
| |||
0 commit comments