tag:github.com,2008:https://github.com/ollama/ollama/releases

Release notes from ollama

2026-10-06T17:46:39Z tag:github.com,2008:Repository/658928958/v0.40.0 2026-10-06T18:47:10Z

v0.40.0

<h2>What's Changed</h2> <p><strong>Models run on MLX on Apple Silicon by default</strong></p> <p>In this release, on Apple Silicon devices, model architectures supported by the MLX runtime will automatically run on MLX.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ollama pull qwen3.8 ollama run qwen3.8"><pre class="notranslate"><code>ollama pull qwen3.8 ollama run qwen3.8 </code></pre></div> <p>Additional models include <a href="https://ollama.com/library/gemma4" rel="nofollow">gemma4</a>, <a href="https://ollama.com/library/qwen3.6" rel="nofollow">qwen3.6</a> and <a href="https://ollama.com/library/qwen3.5" rel="nofollow">qwen3.5</a></p> <p>Decision models are now available on MLX as well: <a href="https://ollama.com/library/nimble" rel="nofollow">Nimble</a> <a href="https://ollama.com/library/tev1" rel="nofollow">tev1</a> <a href="https://ollama.com/library/clef" rel="nofollow">clef</a> <a href="https://ollama.com/library/clef-flash" rel="nofollow">clef-flash</a></p> <p>MLX now has support for an embedding model: <a href="https://ollama.com/library/embeddinggemma-2" rel="nofollow">embeddinggemma-2</a></p> <p>We will continue testing and enabling additional models.</p> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/ollama/ollama/compare/v0.35.1...v0.40.0"><tt>v0.35.1...v0.40.0</tt></a></p> github-actions[bot] tag:github.com,2008:Repository/658928958/v0.40.0-rc6 2026-10-06T15:08:38Z

v0.40.0-rc6: model: add multimodal embeddings (#18820)

<p>Implements the EmbeddingGemma2Model architecture on the MLX runner: 24-layer<br> bidirectional text encoder with PLE, shared gemma4 vision/audio towers,<br> mean-pool + L2 output. /api/embed accepts per-item media via input dicts.</p> pdevine tag:github.com,2008:Repository/658928958/v0.40.0-rc5 2026-10-06T01:15:59Z

v0.40.0-rc5

<p>mlx: fix patch for recent mlx update (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5721166992" data-permission-text="Title is private" data-url="https://github.com/ollama/ollama/issues/18812" data-hovercard-type="pull_request" data-hovercard-url="/ollama/ollama/pull/18812/hovercard" href="https://github.com/ollama/ollama/pull/18812">#18812</a>)</p> dhiltgen tag:github.com,2008:Repository/658928958/v0.40.0-rc4 2026-10-06T00:41:51Z

v0.40.0-rc4: MLX: version bump (#18720)

<ul> <li> <p>MLX: version bump</p> </li> <li> <p>add scopes for unit tests to reduce memory usage</p> </li> </ul> dhiltgen tag:github.com,2008:Repository/658928958/v0.40.0-rc3 2026-10-04T23:15:37Z

v0.40.0-rc3: pull: allow RCs to pull matching min_version (#18790)

<p>Strip off pre-release from the version string so RCs can pull<br> models for the same release.</p> dhiltgen tag:github.com,2008:Repository/658928958/v0.40.0-rc2 2026-10-04T15:48:45Z

v0.40.0-rc2

<p>Merge remote-tracking branch 'upstream/main' into release_v0.40.0</p> dhiltgen tag:github.com,2008:Repository/658928958/v0.40.0-rc1 2026-10-04T14:45:15Z

v0.40.0-rc1: mlx: match publisher tokenizer semantics (#18779)

<ul> <li>mlx: match publisher tokenizer semantics</li> </ul> <p>Honor pretokenizer stage order, split behavior, Unicode boundaries,<br> added-token normalization, and ranked BPE merges. Handle empty added<br> tokens and empty Metaspace input consistently.</p> <p>Add shared Go/Python reference cases using published tokenizers, pulling<br> missing models directly and failing on errors, plus focused regressions<br> for configuration precedence, byte fallback, and parallel encoding.</p> <ul> <li>address comments</li> </ul> dhiltgen tag:github.com,2008:Repository/658928958/v0.35.1 2026-10-02T18:28:37Z

v0.35.1

<h2>Clef decision models</h2> <p>Ollama now supports <a href="https://ollama.com/library/clef" rel="nofollow">Clef</a> and <a href="https://ollama.com/library/clef" rel="nofollow">Clef Flash</a>, Cloudflare's new open-source decision models, through <code>/v1/systemone</code>.</p> <p>Clef (27B) and Clef Flash (9B) are multimodal: requests can now include images alongside the text state, shared by all questions and scored jointly with it.</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="curl http://localhost:11434/v1/systemone -d '{ "model": "clef-flash", "state": "The user took this screenshot.", "images": ["<base64-encoded image>"], "questions": { "has_ollama": {"type": "noul", "instructions": "Does this image contain Ollama?"} } }'"><pre>curl http://localhost:11434/v1/systemone -d <span class="pl-s"><span class="pl-pds">'</span>{</span> <span class="pl-s"> "model": "clef-flash",</span> <span class="pl-s"> "state": "The user took this screenshot.",</span> <span class="pl-s"> "images": ["<base64-encoded image>"],</span> <span class="pl-s"> "questions": {</span> <span class="pl-s"> "has_ollama": {"type": "noul", "instructions": "Does this image contain Ollama?"}</span> <span class="pl-s"> }</span> <span class="pl-s">}<span class="pl-pds">'</span></span></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ "model": "clef-flash", "answers": { "has_ollama": { "type": "noul", "noul": 0.958 } }, "usage": { "input_tokens": 548, "output_tokens": 0 } }"><pre class="notranslate"><code>{ "model": "clef-flash", "answers": { "has_ollama": { "type": "noul", "noul": 0.958 } }, "usage": { "input_tokens": 548, "output_tokens": 0 } } </code></pre></div> <h2>What's Changed</h2> <ul> <li>Models using web search can now perform up to ten searches per response, up from three</li> <li>Modelfiles now support <code>CAPABILITY</code> declarations, so model creators can explicitly declare what a model can do. Declarations are preserved when creating from GGUF or safetensors, through model inheritance, and on Modelfile export</li> <li><code>ollama show</code> and the model list now report only <code>decision</code> as the capability for decision models, so clients no longer offer them for general chat, tools, or thinking</li> <li>Updated llama.cpp and the MLX engine</li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/ollama/ollama/compare/v0.35.0...v0.35.1"><tt>v0.35.0...v0.35.1</tt></a></p> github-actions[bot] tag:github.com,2008:Repository/658928958/v0.35.1-rc2 2026-10-02T01:05:01Z

v0.35.1-rc2

<p>ci: fix missing build context (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5671220102" data-permission-text="Title is private" data-url="https://github.com/ollama/ollama/issues/18742" data-hovercard-type="pull_request" data-hovercard-url="/ollama/ollama/pull/18742/hovercard" href="https://github.com/ollama/ollama/pull/18742">#18742</a>)</p> dhiltgen tag:github.com,2008:Repository/658928958/v0.35.1-rc1 2026-10-01T22:52:04Z

v0.35.1-rc1

<p>models: add clef support (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5669656657" data-permission-text="Title is private" data-url="https://github.com/ollama/ollama/issues/18741" data-hovercard-type="pull_request" data-hovercard-url="/ollama/ollama/pull/18741/hovercard" href="https://github.com/ollama/ollama/pull/18741">#18741</a>)</p> jmorganca