Skip to content

gpt-6.1 sol context limit is smaller in v2 #54141

Closed as duplicate
Closed as duplicate

Description

@zowers

Description

gpt-6.1 sol context limit is smaller in desktop v2 than in v1

  • v1: 1M
  • v2: 400k

same for other gpt-6 models

Plugins

No response

OpenCode version

2.0.26

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

ubuntu 26.04

Terminal

No response

Activity

  1. opencode-agent commented on Oct 9, 2026

    @opencode-agent
    Contributor

    Thanks for the report! I think this is a duplicate of #47646.

    When OpenAI is connected through ChatGPT OAuth, v2 replaces the model's catalog limit (about 1.05M context) with a fixed 400k context / 272k input, which matches the Codex CLI's budget. That applies to gpt-6.1-sol and the other gpt-6 models.

    Possible duplicates and related items, ordered by likelihood:

    If you're using an OpenAI API key rather than ChatGPT OAuth, or your problem is different in some other way, please reply here and explain. Otherwise the bot will close this issue as a duplicate in 1 day.

  2. opencode-agent commented on Oct 10, 2026

    @opencode-agent
    Contributor

    Closing this as a duplicate of #47646, since there's been no reply saying the problem is different. In v2, ChatGPT OAuth connections cap gpt-6.1-sol and the other gpt-6 models at 400k context / 272k input instead of their catalog limit.

    You can follow progress in #47646 and the open fix in PR #53080. Until then, #44821 describes a workaround: override limit per model in your opencode.json.

    If you're using an OpenAI API key rather than ChatGPT OAuth, or your case is different in some other way, please comment here and we can reopen. Thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions