Repository navigation
fix(cost): price typesafe/jev-1.14.0 - #46594
Conversation
TypeSafe released jev-1.14.0 on 2026-10-14 at the same price as jev-1.13.0 ($0.042 per 1M input tokens, output free; https://docs.typesafe.ai/models). Without an entry, calls through the TypeSafe pass-through log a cost of 0: TypeSafePassthroughLoggingHandler prices from litellm.model_cost["typesafe/<model>"], and a deployment's model_info price is registered under its model id only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Automatic reviews are disabled for this repository. |
|
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Merging this PR will not alter performance
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
* fix(cost): price typesafe/jev-1.14.0 TypeSafe released jev-1.14.0 on 2026-10-14 at the same price as jev-1.13.0 ($0.042 per 1M input tokens, output free; https://docs.typesafe.ai/models). Without an entry, calls through the TypeSafe pass-through log a cost of 0: TypeSafePassthroughLoggingHandler prices from litellm.model_cost["typesafe/<model>"], and a deployment's model_info price is registered under its model id only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cost): add max_input_tokens to the typesafe jev rows --------- Backport of BerriAI#46594 to rc/1.106.0 Cherry-picked from 9d72bae (main) Co-authored-by: Mike Hyams <241361536+hyamie@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
What
Add
typesafe/jev-1.14.0to the cost map (root file and backup), identical totypesafe/jev-1.13.0.Why
TypeSafe released
jev-1.14.0on 2026-10-14 at the same price asjev-1.13.0: $0.042 per 1M input tokens, output free (https://docs.typesafe.ai/models). Without an entry, every call that names it through the TypeSafe pass-through logs a cost of 0:TypeSafePassthroughLoggingHandlerprices fromlitellm.model_cost["typesafe/<model>"], and a deployment'smodel_infoprice is registered under its model id only, so a config-level price does not reach that lookup. The native/v1/systemoneroute already applies a configured price; the pass-through cannot.Test
python ci_cd/cost_map_guard.py --base <merge-base> --head HEAD --head-ref <branch>: passed (human PR, file checks only); the backup file is byte-identical to the root file.POST /typesafe/v1/systemonewithmodel: jev-1.14.0loggedspend = 1.05e-06for 25 input tokens (= 25 x 4.2e-08). Without the entry the same call logged 0.🤖 Generated with Claude Code
https://claude.ai/code/session_016yjaB3cxvivj3cU272Zb1M
Follow-up commit 9c13131
Adds
max_input_tokens: 65536to all fourtypesafe/jev-*rows (root and backup), since docs.typesafe.ai/models lists a 64k per-request context for both jev-1.13.0 and jev-1.14.0, and extendstests/unit/test_typesafe_model_metadata.pyto coverjev-1.14.0and check the four rows agree onmax_input_tokens. Docs follow-up in BerriAI/litellm-docs#2379