Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

[Feature] Extend 1M context to GPT and other non-Claude models

Open dharsan99 opened this issue 2 months ago • 1 comments

Before opening

  • [x] I searched open and closed issues.
  • [x] I confirmed the behavior on Kiro CLI 2.21.2.

Feature Request

Extend the 1M-token context window beyond Claude models to GPT and other non-Claude models in Kiro, or publish the concrete limitation and supported pattern for multi-hour agentic sessions.

Environment

  • Operating system: macOS 27.0.0 on Apple Silicon
  • Kiro: kiro-cli 2.21.2
  • Authentication: AWS IAM Identity Center
  • Primary affected model: gpt-5.6-sol
  • Also entitled: gpt-5.6-terra and gpt-5.6-luna

Problem

Our workloads are long-horizon agentic runs across a large backend codebase. The 1M context option is available only on Claude models, while GPT and other non-Claude models reach their context ceiling much earlier.

This is not only a convenience limitation. It compounds a current reliability failure:

  1. Smaller non-Claude windows force frequent compaction.
  2. A gpt-5.6-sol session entered automatic compaction while the displayed context indicator was 46%.
  3. That compaction entered a non-terminating local CPU/memory loop.
  4. The running conversation had no SQLite row or transcript checkpoint and was lost after force-closing the TUI.

The detailed compaction/data-loss report is filed separately because it is a blocker independent of this feature request.

Steps to Observe

  1. Start a multi-hour Kiro CLI session with gpt-5.6-sol, gpt-5.6-terra, or gpt-5.6-luna.
  2. Run a long agentic workflow with repository context and tool results.
  3. Observe that the non-Claude model reaches compaction substantially earlier than a 1M-context Claude session.
  4. Inspect model options: no 1M GPT/non-Claude selection is available.

Expected Behavior

Preferred:

  • Offer a 1M context option for supported GPT and other non-Claude models.
  • Preserve the model/context selection explicitly rather than silently switching to a smaller window.

If that is not currently possible:

  • Document the model-specific context limits.
  • Explain whether large-context support is planned and provide an ETA or roadmap status.
  • Document the recommended supported pattern for multi-hour non-Claude runs without repeatedly entering compaction.

Related Issues, but Broader Scope

  • #10480 requests a 1M window specifically for GPT-5.6 preview variants. This filing connects the limitation to observed production-blocking compaction and session-persistence behavior and asks for a consistent policy across all non-Claude models, plus an official interim operating pattern.
  • #5487 requests 1M context generally but primarily tracks Claude enablement, which is now available. The remaining gap is non-Claude support.

AWS Support directed us to file this capability gap separately with the Kiro product team. We are willing to participate in an early-access or validation program.

dharsan99 avatar Sep 10 '26 10:09 dharsan99

Thanks for opening this issue and for the thorough write-up! We appreciate you detailing the need for extended context window support across non-Claude models, along with the compaction challenges you've encountered during long-horizon agentic sessions. A maintainer will review this shortly and follow up. Great job capturing the steps to reproduce and the environment details — that really helps us move faster! 🙌

github-actions[bot] avatar Sep 10 '26 10:09 github-actions[bot]