Skip to content

System prompt reports wrong context window for DeepSeek-V4-Pro (262K instead of 1M) #24119

Closed as not planned

Description

@LordPadas

Description

When using deepseek-v4-pro, the system prompt tells the model it has a 262K token context window, but the actual model supports 1M tokens (per https://api-docs.deepseek.com/quick_start/pricing).

Plugins

No response

OpenCode version

1.3.0

Steps to reproduce

  1. Configure deepseek-v4-pro as the provider
  2. Ask the model about its context window
  3. It responds with "262K tokens"

Screenshot and/or share link

No response

Operating System

Windows

Terminal

No response

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Apr 24, 2026
  2. removed
    bugSomething isn't working
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  3. rekram1-node commented on Jun 11, 2026

    @rekram1-node
    Contributor

    this is not accurate, the system prompt says nothing about context size.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions