feat: add OpenAI Codex provider metadata - #3754
Open
opencode-agent[bot] wants to merge 1 commit into
Open
Conversation
Contributor
Action items
|
6 tasks
|
Currently, the following models are offered (on Pro plan): gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna, gpt-5.5, gpt-5.4, gpt-5.4-mini, gpt-5.3-codex-spark. I believe we may need to introduce a way to gate models per-plan, as spark models are Pro-only. 5.6 Sol, Terra, and Luna offer low, medium, high, xhigh, max, and ultra. Also also likely none, even if not exposed through Codex. I believe ultra is also Pro-only. For 5.5/5.4/5.4-mini/5.3-codex-spark, low, medium, high, and xhigh are offered. None also probably. I think keeping this to 5.6 models makes sense though, as those are what most users will want to use. |
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
openai-codexprovider for ChatGPT subscription models served through the Codex backend400K context / 272K input / 128K outputlimitsOpenAI corrected the GPT-5.6 Codex window to 272K in Codex 0.144.6. Keeping this metadata separate preserves the direct OpenAI API models' 1.05M context window and gives harnesses a canonical route-specific source.
Sources:
@rekram1-node, this is the model-catalog half of the GPT-5.6 Sol compaction failure Kit reproduced through ChatGPT OAuth.
Verification
bun validatebun test packages/core/test/schema.test.tsFixes #3183
Requested by: @kitlangton (Kit via Slack)