- Lee_Crush2026-09-0515140

但CLI可以用
主楼 - Foresee2026-09-058459
佬 你看看你的sub2api同步到了astra这个模型没有 目前官方还没有更新 需要佬上去拉取一下新模型
- Lee_Crush2026-09-0515140
- Foresee2026-09-058459
诶 那好奇怪我去 不太了解了 重启一下codex之类的也不行吗? ^-^
- 廿四2026-09-0515699
我是可以选Astra,但是思考强度改不了,ccs+sub2自建账号api同时登录
- 霸王茶几2026-09-0530748
好像是sub2api 生成的codex-model.json有bug
- 小宇宙2026-09-0524332
要等sub2api合并个pr
- Lee_Crush2026-09-0515140
试了下 cli可以用 但我cli和app都是最新版 有的奇怪
- Lee_Crush2026-09-0515140
应该是要等sub2API
- ionase2026-09-0522509
sub2api自动生成的models_cache.json/codex-models.json有问题,astra的部分没思考强度
自己复制一份codex-model.json然后把sol的思考强度部分复制过来就行了
然后config.toml里加一行指向codex-models.json的位置
比如
model_catalog_json = "~/.codex/codex-models.json" - lyy07092026-09-056369
我提了适配的pr,你可以让5.6先合并一下然后自行打包,作者还没合并发版
github.com/Wei-Shaw/sub2api
feat(openai): add GPT-6 Astra support (#6572)
main←lyy0709:codex/gpt-6-astra已打开 02:27AM - 04 Sep 26 UTC

lyy0709
+258
-13Summary
- register
gpt-6-astraacross the OpenAI model catalog, Codex/OAut…h normalization, reasoning metadata, vision support, Fast tier, and OpenCode configuration - expose
gpt-6as the publicGPT-6 (Astra)alias, matching the existinggpt-5.6to Sol alias behavior - add official standard, cached-input, cache-write, output, Fast/Flex, and >272K long-context billing coverage
OpenAI model reference: https://developers.openai.com/api/docs/models/gpt-6-astra
The remote model-price repositories already contain
gpt-6-astra, so this PR deliberately does not modify the bundled model pricing JSON or any pricing URL.Verification
-
go test ./internal/pkg/openai ./internal/service -run 'GPT6|GPT6Astra|MaxCapable|NewConfiguredCodexModelDescriptorUsesProviderMetadataAndSafeFallback|CompleteAPIKeyCodexModelsManifestForClientMarksOnlyOfficialVisionGPTImageInput|AdjustAPIKeyCodexModelsManifest|NormalizeCodexModel_Gpt53'\n-pnpm exec vitest run src/composables/__tests__/useModelWhitelist.spec.ts src/components/keys/__tests__/UseKeyModal.spec.ts\n-make test\n-make build - register
- 刘博摸鱼之路2026-09-059912
- 木南城2026-09-0524646
佬 你这个缓存命中对吗 看着不高啊
- Lee_Crush2026-09-0515140
- lyy07092026-09-056369
- MrHear2026-09-0516882
让 codex 给你改下,在配置里指向本地改好的 model cache json 就好了。现在是上游 sub2api 没更新



