Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

[Feature Request] Expand GPT-5.6 preview model context window to 1M tokens

Open bala2006 opened this issue 4 months ago • 4 comments

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

  1. Large Repository Analysis: Ingesting entire codebases or complete module histories at once without exceeding token limits or losing critical project context.

  2. Complex Refactoring: Providing full project definitions, extensive test suites, and documentation simultaneously when generating large structural refactors.

  3. 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.

bala2006 avatar Jul 26 '26 07:07 bala2006

🤖 Potential Duplicate Detected

This issue appears to be similar to:

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.

github-actions[bot] avatar Jul 26 '26 07:07 github-actions[bot]

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.

bala2006 avatar Jul 26 '26 07:07 bala2006

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.

github-actions[bot] avatar Jul 26 '26 07:07 github-actions[bot]

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-sol session 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.

dharsan99 avatar Sep 10 '26 09:09 dharsan99