[codex] record usage costs and refresh local model pricing and limits - #3226
Merged
Merged
Conversation
This reverts commit 650c038.
EKKOLearnAI
marked this pull request as ready for review
September 30, 2026 00:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
glmprovider tozhipuai-coding-planfor both context limits and pricing. When an older model such as GLM-4.5 is missing from a GLM Coding Plan catalog, resolve its context/output limits and capabilities from the same vendor’s ordinary API catalog; preserve plan metadata and manual overrides, and keep pricing restricted to the plan.Validation
npm run build,npm run harness:check, andgit diff --checkpassed.npm run build,npm run harness:check, andgit diff --checkpassed.PLAYWRIGHT_PORT=4273 npm run test:e2e -- --workers=4: 255 passed; one XLSX preview assertion timed out and passed on an isolated single-worker rerun.npm run build,npm run harness:check, andgit diff --check: passed.PORT=8648 npm run test:coverage -- --maxWorkers=4: 6644 passed, 58 failed, 14 skipped, plus one Vitest worker RPC timeout. All failing assertions also failed before this catalog change. Of these, 51 non-timeout failures were reproduced in the previous isolated baseline check against main07ccb17a; the seven test timeouts passed when their four files were rerun with one worker (110 tests passed).Limitations