Skip to content

feat(ollama-cloud): add deepseek-v4-flash model - #1586

Merged
rekram1-node merged 1 commit into
anomalyco:devfrom
fernandoenzo:add-ollama-cloud-deepseek-v4-flash
Apr 27, 2026
Merged

rekram1-node merged 1 commit into
anomalyco:devfrom
fernandoenzo:add-ollama-cloud-deepseek-v4-flash

Conversation

@fernandoenzo

Copy link
Copy Markdown
Contributor

This model is already available on Ollama Cloud's API (/api/tags) but was missing from the repository. Values are sourced directly from the API (/api/show) and aligned with the ollama-cloud model conventions:

  • Context length (1,048,576) comes from the Ollama API, not copied from other providers
  • Output matches context per ollama-cloud convention
  • No extends — standalone file keeps it clean and avoids inheriting fields (temperature, structured_output, interleaved, etc.) that don't belong in ollama-cloud models
  • bun validate passes clean

@@ -0,0 +1,16 @@
name = "deepseek-v4-flash"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's use "extends" keyword to prevent duplication

release_date = "2026-04-24"
last_updated = "2026-04-24"
open_weights = true

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing interleaved settings

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My original comment:

No extends — standalone file keeps it clean and avoids inheriting fields (temperature, structured_output, interleaved, etc.) that don't belong in ollama-cloud models

I’m just being consistent with the rest of the ollama-cloud models.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not aware exactly of the ollama settings but i know for a fact that this is an interleaved reasoning model that will error if reasoning isnt passed back.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know what you're referring to, but that was a bug that was fixed in Opencode in v1.14.24, and it has nothing to do with whether that field exists in models.dev or not.

Actually, I'm already using DeepSeek V4 Flash through Ollama Cloud in my Opencode setup by adding it to the opencode.json file:

"ollama-cloud": {
  "name": "Ollama Cloud",
  "models": {
    "deepseek-v4-flash": {
      "name": "DeepSeek V4 Flash",
      "limit": {
        "context": 1048576,
        "output": 1048576
      },
      "modalities": {
        "input": ["text"],
        "output": ["text"]
      }
    }
  }
}

So I think this PR should be merged as is.

@ayaka209

ayaka209 commented Apr 27, 2026

Copy link
Copy Markdown

ollama-cloud has v4 pro now

@rekram1-node
rekram1-node merged commit 5f21f3b into anomalyco:dev Apr 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants