Skip to content

[FEATURE]: Support DeepSeek-V4 models #24093

Closed

Description

@GoodCoder666

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

DeepSeek just dropped V4, and the DeepSeek provider support should be updated to align with the new API.

  • Model identifiers changed to deepseek-v4-flash and deepseek-v4-pro.
  • New thinking and reasoning_effort keys.
  • reasoning_content of previous turns must be passed back to the API. (This is because V4 no longer discards reasoning in multi-turn conversations. See Fig. 7 in their techical report.)

API Reference: https://api-docs.deepseek.com/

Image

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Apr 24, 2026
  2. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Apr 24, 2026
  3. github-actions commented on Apr 24, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  4. thompson0012 commented on Apr 25, 2026

    @thompson0012

    same to Ollama
    deepseek-v4-flash:cloud

  5. audinue commented on Apr 25, 2026

    @audinue
    Image
  6. GoodCoder666 commented on Apr 25, 2026

    @GoodCoder666
    Author

    @audinue That's caused by the new thinking management method. I just updated the issue description to reflect this.

  7. kamikazechaser commented on Apr 25, 2026

    @kamikazechaser

    I'm getting a lot of the same errors as @audinue. Provider is OpenRouter. Makes DeepSeek v4 completely unusable after these error start popping up practically wasting the entire context.

    #24250 should fix this.

  8. GoodCoder666 commented on Apr 25, 2026

    @GoodCoder666
    Author

    btw is this fixed in v1.14.24?

  9. Elusive-bob commented on Apr 26, 2026

    @Elusive-bob

    Waiting for a fix

  10. rekram1-node commented on Apr 27, 2026

    @rekram1-node
    Collaborator

    All deepseek things should be fixed and working, if a provider is missing deepseek models watch models.dev for prs

    If you are still encountering issues come join discussion here:
    #24569 (comment)

    There is a lingering bug for openrouter but if u use custom provider ensure you follow guide i commetned about.

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

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)discussionUsed for feature requests, proposals, ideas, etc. Open discussion

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions