Repository navigation
Commit 3f35031
committed
fix(pricing): keep family alias tiers when upstream publishes the alias
LiteLLM now ships gpt-5.6 as its own entry. Exact matches win over the
alias, so the bare family name stopped inheriting the Sol variant's
long-context rates and Fast multiplier, and fell back to flat pricing at
a 200K boundary.
Resolve the alias inside the built-in long-context lookup and the Fast
multiplier lookup instead of at individual call sites, so an alias bills
at the variant it points to no matter where upstream data happens to
cover it. That also removes the duplicate alias resolution
long_context_split_threshold was doing.1 parent eb82dbf commit 3f35031
1 file changed
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
216 | 221 | | |
217 | 222 | | |
218 | 223 | | |
| |||
1337 | 1342 | | |
1338 | 1343 | | |
1339 | 1344 | | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
1340 | 1350 | | |
1341 | 1351 | | |
1342 | 1352 | | |
| |||
1360 | 1370 | | |
1361 | 1371 | | |
1362 | 1372 | | |
1363 | | - | |
1364 | | - | |
1365 | | - | |
| 1373 | + | |
1366 | 1374 | | |
1367 | 1375 | | |
1368 | 1376 | | |
| |||
0 commit comments