anomalyco / anomalyco/opencode

[FEATURE]: Allow 1M context window for GPT 5.6

Open
#43,041 1 comment 3 reactions 1 assignee View on GitHub

@nexxeln is already working on this.

Since Aug 17, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
Avg merge
7h 2m
Merged PRs (30d)
384

Description

Feature hasn't been suggested before.
  • I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request

https://github.com/anomalyco/opencode/pull/24212 made the default for 5.5 models (and now 5.6) to context: 400_000

Tibo has added 1M context window support for 5.6 models here: https://x.com/thsottiaux/status/2089082893804896524

model = "gpt-5.6-sol"
model_context_window = 1000000
model_auto_compact_token_limit = 900000

I would like a similar setting for opencode as well.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.