Skip to content

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

@LordPadas

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions