GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [Bug]: Usage pricing is order-dependent across provider-qualified models · Issue #5797 · pingdotgg/t3code Closed DescriptionBefore submitting
Areaapps/server Steps to reproduce
The usage rate-table parser strips every provider prefix before inserting entries into a single map, so all of these keys collide. Expected behaviorA bare transcript model should resolve deterministically to the canonical bare-model rate. Provider-qualified aliases should only resolve to their own provider-specific entry, or use an explicit deterministic fallback when no canonical entry exists. JSON entry order must not change pricing. Actual behaviorThe last normalized collision silently wins. A provider-qualified entry can overwrite the canonical entry and supply different base rates or omit cache rates. In the current LiteLLM document, this can make cached input fall back to full input price rather than the canonical cache-read price. ImpactMajor degradation or frequent failure Version or commitmain @ 963ebf5 EnvironmentProvider-independent; reproduced against the server usage pricing parser and current LiteLLM model-price document. Logs, stack traces, or screenshotsThe same logical entries produce different lookup results when their object order is reversed. WorkaroundNone in the application. Users must treat affected API-equivalent cost estimates as unreliable. Reacted by Nick Anisimov Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |