Skip to content

Compaction occurs way before context limit reached on GPT 5.4 #16333

@GrahamCampbell

Description

@GrahamCampbell

Description

GPT 5.4 supports a ~1M context size, however compaction is occurring way before this, similar to the levels at 5.2.

Plugins

No response

OpenCode version

1.2.20

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

macOS 26.3.1

Terminal

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions