You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have investigated this and prepared a tested fix on branch fix/issue-5960-model-pricing (in fork codingbooo/opencodex).
Root cause & Solution
In src/cli/models.ts and src/cli/models-runtime.ts, model listings and models price commands previously relied solely on explicit overrides in configuration, leaving newly registered provider models unpriced.
The fix derives default catalog price estimates from known provider pricing metadata when explicit overrides are absent, while preserving explicit zero prices and manual override behaviors.
Tested with 41 focused tests in tests/cli/cli-models-price.test.ts and tests/cli/cli-models.test.ts.
Activity
codingbooo commentedon Sep 26, 2026
I have investigated this and prepared a tested fix on branch
fix/issue-5960-model-pricing(in forkcodingbooo/opencodex).Root cause & Solution
src/cli/models.tsandsrc/cli/models-runtime.ts, model listings andmodels pricecommands previously relied solely on explicit overrides in configuration, leaving newly registered provider models unpriced.Tested with 41 focused tests in
tests/cli/cli-models-price.test.tsandtests/cli/cli-models.test.ts.fix(cli): derive catalog price estimates for models without manual ov…
lidge-jun commentedon Sep 27, 2026
Fixed on
devby #6026, carried in #6059 (merge8923ad9835).