[Feature Request] Expand GPT-5.6 preview model context window to 1M tokens
Kiro Product
IDE
Feature Description
Currently, the experimental preview for gpt-5.6 limits context windows to 272k tokens. While this is generous for standard files, it presents a bottleneck when analyzing large codebases, deep repository structures, or multi-file refactoring tasks across large projects.
Suggested Feature: Increase the maximum context length for the GPT-5.6 experimental model to 1M tokens (or add a selectable 1M context tier/variant in settings) to support large-scale context processing directly within Kiro.
Use Case
-
Large Repository Analysis: Ingesting entire codebases or complete module histories at once without exceeding token limits or losing critical project context.
-
Complex Refactoring: Providing full project definitions, extensive test suites, and documentation simultaneously when generating large structural refactors.
-
Deep Debugging: Feeding long trace logs, complex call graphs, and relevant system code together to trace edge cases across multi-service projects.
Additional Context
Supporting 1M context windows will enable power users working on large monorepos to stay within Kiro without needing manual chunking or third-party context pruning extensions.
🤖 Potential Duplicate Detected
This issue appears to be similar to:
- #6942: Suggestions on the transparency of the maxToken value or supporting its setting. (82% similar)
What happens next?
- ⏰ This issue will be automatically closed in 3 days
- 🏷️ If this is not a duplicate, you can prevent automatic closure by adding a comment or reacting with 👎 to this message.
- 💬 Comment on the original issue if you have additional information
Why is this marked as duplicate? Both issues request support for larger token/context limits. Issue #6942 asks for higher maxToken support and transparency around token limits, while the new issue requests expanding the context window to 1M tokens. Both share the core problem of token limits being too restrictive for complex tasks.
This is not a duplicate of #6942.
- #6942 addresses output generation truncation (
max_tokens/ single-response output limits). - This request is specifically asking to expand the input context window size for the
gpt-5.6(Luna, Terra, Sol) experimental models from 272k tokens to 1M tokens for processing large codebases.
Please remove the duplicate label and send this back for maintainer triage.
Thank you for your feedback! 🙏
The duplicate label has been removed and this issue has been sent back for maintainer review.
A maintainer will review this issue shortly.
Kiro CLI 2.21.2: 1M context for GPT models would directly reduce compaction failures
Confirming this request from a daily, high-volume Kiro CLI workflow. Our entitlement list includes gpt-5.6-sol, gpt-5.6-terra, and gpt-5.6-luna, but the 1M-token context option remains limited to Claude models.
This has a concrete reliability impact, not only a convenience impact:
- We run long-horizon agentic work across a large backend codebase.
- A
gpt-5.6-solsession entered auto-compaction while its displayed context usage was 46%. - That compaction entered a non-terminating local loop and the uncheckpointed session was unrecoverable. Detailed process and persistence evidence is being added to #11213.
- Smaller non-Claude context windows therefore force the exact compaction path that is currently causing work loss.
Could Kiro support 1M context for the GPT variants, or publish the technical/product constraint and expected timeline? Until then, what is the recommended supported pattern for multi-hour agentic runs on non-Claude models without repeatedly entering compaction?
Environment: kiro-cli 2.21.2, macOS 27.0.0 on Apple Silicon, AWS IAM Identity Center authentication.