fix(models): 同步 2026-07-31 官方 GPT-5.6 模型价格 | sync official GPT-5.6 pricing - #409
Merged
qxcnm merged 1 commit intoJul 31, 2026
Merged
Conversation
Contributor
Author
|
这luna是真便宜,开max做了这一个pr,只用了1%的plus周额度。。。 |
Owner
俺用中转用多了以及慢慢不知道账号直接用是什么效果了 |
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.
背景
OpenAI 官方定价页已更新 GPT-5.6 Terra 与 GPT-5.6 Luna 的标准上下文和长上下文价格。项目模型目录、服务端价格断言及前端管理页 mock 仍使用旧值,需要同步并保证已有用户自定义价格不被覆盖。
变更内容
gpt-5.6-terra:标准2 / 0.2 / 12,长上下文4 / 0.4 / 18。gpt-5.6-luna:标准0.2 / 0.02 / 1.2,长上下文0.4 / 0.04 / 1.8。gpt-5.6-sol、GPT-5.5、GPT-5.4、GPT-5.4-mini、GPT-5.2、GPT-Image-2 当前官方值不变。gpt56_pricing_revision=2026-07-31-official和builtin_revision=6,并执行价格/来源/层级 smoke check。官方依据
验证
cargo fmt --all -- --check通过。git diff --cached --check通过。cargo test -p codexmanager-core model_catalog_v2 --lib:15/15 通过。pnpm -C apps run build:desktop:静态页面 19/19 生成成功。codex_skills路径断言失败;runtime 测试另有既有 sidebar 高度断言失败;Playwright 因本机缺少 Chromium 可执行文件未进入测试逻辑,详见verification.md。回滚
执行
/tmp/codex-manager-model-pricing-2026-07-31/rollback.sh,可将 5 个修改前文件恢复并移除 migration 126;回滚哈希已在临时根目录验证一致。