Skip to content

feat(plugin): expose opt-in 1M context variants for GPT-5.6 OAuth - #46574

Closed
rhan637 wants to merge 2 commits into
anomalyco:devfrom
rhan637:gpt5.6-1m
Closed

rhan637 wants to merge 2 commits into
anomalyco:devfrom
rhan637:gpt5.6-1m

Conversation

@rhan637

@rhan637 rhan637 commented Sep 1, 2026

Copy link
Copy Markdown

Issue for this PR

Closes #46527

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

This adds opt-in 1M-context variants for the GPT-5.6 Codex OAuth models:

  • gpt-5.6-sol-1m
  • gpt-5.6-sol-fast-1m
  • gpt-5.6-terra-1m
  • gpt-5.6-terra-fast-1m
  • gpt-5.6-luna-1m
  • gpt-5.6-luna-fast-1m

The existing GPT-5.6 models remain unchanged with their current 400K context and 272K input limits.
The new variants use a 1,000,000-token context limit, with 872,000 input tokens and 128,000 output
tokens.

The new variants resolve to the same underlying Codex model IDs as their standard counterparts while
preserving the existing model options and reasoning variants. Other models, including GPT-5.5 and
unsupported GPT-5.6 variants, are not affected.

How did you verify your code works?

  • cd packages/opencode && bun test test/plugin/codex.test.ts
  • cd packages/opencode && bun typecheck
  • TURBO_CONCURRENCY=4 bun run typecheck

The Codex plugin test suite passed with 24 tests, and the full typecheck passed with 30 tasks.

Screenshots / recordings

Not applicable — this is not a UI change.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@xd003

xd003 commented Sep 7, 2026

Copy link
Copy Markdown

Eagerly waiting for this one to be merged

@thdxr

thdxr commented Oct 10, 2026

Copy link
Copy Markdown
Member

This branch has been upgraded to V2. We're no longer taking PRs for V1. If you think this is still relevant, please port it over and open it for V2.

— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: Expose opt-in 1M context variants for GPT-5.6 OAuth

3 participants