Skip to content

[BUG] OpenCode Go: V4.1 Flash uses 200K context #1648

Closed

Description

@carloslato

Describe the bug
DeepSeek V4.1 Flash (deepseek-v4.1-flash) falls back to Zoo's default 200K context window when used with OpenCode Go, instead of its 1M context window.

To Reproduce

  1. Select OpenCode Go as the provider.
  2. Select DeepSeek V4.1 Flash.
  3. Disable automatic context condensing.
  4. Continue a conversation until the context reaches ~150K tokens.
  5. Zoo starts omitting older messages.

Expected behavior
Zoo should use a 1M context window for DeepSeek V4.1 Flash.

Screenshots
Not applicable.

Video
Not applicable.

What version of zoo are you running
3.82.1

Additional context
The OpenCode Go API does not provide context-window metadata. Zoo's opencodeGoDefaultModelInfo uses a 200K fallback, while deepseek-v4-flash is explicitly configured with a 1M context window. deepseek-v4.1-flash appears to be missing from the model registry and therefore falls back to 200K.

Activity

  1. added theissue type on Sep 15, 2026
  2. carloslato commented on Sep 15, 2026

    @carloslato
    Author

    As a suggestion for future models, it would be useful to allow users to override the context window value directly in the UI.

    This would prevent similar issues when new models are released before their metadata is added to Zoo's model registry, without requiring a Zoo update for every new model.

  3. PierrunoYT commented on Sep 16, 2026

    @PierrunoYT
    Contributor

    Working on this!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions