Repository navigation
feat(core): raise ChatGPT OAuth context for gpt-6.1-sol to 500k - #54668
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Looks sound. Under a ChatGPT OAuth connection, gpt-6.1-sol and gpt-6.1-sol-fast (matched by the shared modelID) now get 628k context / 500k input. The output limit is kept and every other eligible model still gets 400k/272k. I checked it with the plugin test: it passes with this change and fails on the base openai.ts. Type check is clean. I couldn't test against a real ChatGPT account.
Public API is unchanged: only the default limits for this model on this connection change, and config overrides still apply.
Related: #47646
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 raised the default Codex context window for GPT-6.1 Sol to 500k (from 272k) and waived long-context fees for 6.1 Sol usage drawn from a ChatGPT subscription: https://x.com/thsottiaux/status/2109430343346581527
The ChatGPT OAuth (Codex) transform caps eligible models to Codex's budget so subscription usage matches Codex. This keeps that behavior and moves
gpt-6.1-sol(and its-fastmode, which shares the underlying model ID) to 500k input / 628k context, preserving the existing 128k output headroom. All other models stay at 400k / 272k.Users can still override per-model limits in config.
Related: #47646
Added by the opencode bot (AI-generated).
Related: #47646