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

Release notes from ollama

2026-10-22T00:13:25Z tag:github.com,2008:Repository/658928958/v0.40.9-rc1 2026-10-22T01:33:10Z

v0.40.9

<h2>What's Changed</h2> <ul> <li>llama.cpp update</li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/ollama/ollama/compare/v0.40.8...v0.40.9-rc0"><tt>v0.40.8...v0.40.9-rc0</tt></a></p> github-actions[bot] tag:github.com,2008:Repository/658928958/v0.40.9-rc0 2026-10-21T20:12:06Z

v0.40.9-rc0: ci: switch to released WoA CTK (#19185)

<p>We were still using a pre-release, and the download site is flaky, so lets<br> get current on the latest CUDA Toolkit for WoA support.</p> dhiltgen tag:github.com,2008:Repository/658928958/v0.40.8 2026-10-21T21:46:35Z

v0.40.8

<p align="center"><a target="_blank" rel="noopener noreferrer" href="https://private-user-images.githubusercontent.com/4033016/680493207-3c1741a5-710c-4bde-8ac7-096e40b495bb.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTI2NTQ2NjksIm5iZiI6MTc5MjY1NDM2OSwicGF0aCI6Ii80MDMzMDE2LzY4MDQ5MzIwNy0zYzE3NDFhNS03MTBjLTRiZGUtOGFjNy0wOTZlNDBiNDk1YmIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTAyMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjEwMjJUMDczMjQ5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWEzMmMzMWZlY2MxYjQxM2E3YWZjZTM0ZDBiMDdhOTg5MzQ3ZmIxNGQ2MmM4N2UyMzk4MDY4ZjdmNTc0YTViYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.srFwk7Os48KSnApZbpJy2Ozjr-U5AwcrB4PS3BGkfuk"><img width="160" alt="flint-logo" src="https://private-user-images.githubusercontent.com/4033016/680493207-3c1741a5-710c-4bde-8ac7-096e40b495bb.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTI2NTQ2NjksIm5iZiI6MTc5MjY1NDM2OSwicGF0aCI6Ii80MDMzMDE2LzY4MDQ5MzIwNy0zYzE3NDFhNS03MTBjLTRiZGUtOGFjNy0wOTZlNDBiNDk1YmIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTAyMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjEwMjJUMDczMjQ5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWEzMmMzMWZlY2MxYjQxM2E3YWZjZTM0ZDBiMDdhOTg5MzQ3ZmIxNGQ2MmM4N2UyMzk4MDY4ZjdmNTc0YTViYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.srFwk7Os48KSnApZbpJy2Ozjr-U5AwcrB4PS3BGkfuk" content-type-secured-asset="image/png" style="max-width: 100%;"></a></p> <h2>Recursive Flint</h2> <p><a href="https://ollama.com/library/flint" rel="nofollow">Flint</a> brings Recursive's coding model to Ollama. It is designed for the work coding agents do across a repository: understanding unfamiliar code, tracing bugs, implementing features, and adding tests. Reasoning, multi-turn tool use, and a 262K-token context window support longer tasks across files and tool interactions.</p> <p>Flint is an Apache 2.0-licensed, 40B-parameter mixture-of-experts model with approximately 2.5B parameters active per token. In its <a href="https://huggingface.co/RecursiveSI/flint#evaluation" rel="nofollow">release evaluations</a>, Recursive reports 54.9% on Terminal-Bench 2.1 and 74.2% on SWE-bench Verified.</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ollama run flint"><pre>ollama run flint</pre></div> <p>Note: Flint is supported on MacOS. Other GPU support will be enabled in a subsequent release.</p> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/ollama/ollama/compare/v0.40.7...v0.40.8"><tt>v0.40.7...v0.40.8</tt></a></p> github-actions[bot] tag:github.com,2008:Repository/658928958/v0.40.8-rc0 2026-10-21T14:45:50Z

v0.40.8-rc0: mlx: add Flint model support (#19181)

<p>Preserve source tool JSON alongside decoded API values so Flint can retain<br> numeric types and schema order in prompts. Existing API marshaling is unchanged.</p> <p>Assemble ModelOpt expert banks during safetensors import, and reject direct<br> Flint NVFP4 creation before conversion. Other models retain their existing<br> import and quantization paths.</p> <p>Add optional learned sinks and device causal masks to shared MLX attention.<br> Existing callers retain the no-sink and host-mask paths; Flint opts into the<br> new behavior.</p> dhiltgen tag:github.com,2008:Repository/658928958/v0.40.7 2026-10-21T04:01:19Z

v0.40.7

<h2>What's Changed</h2> <ul> <li><a href="https://ollama.com/library/pplx-decider" rel="nofollow">pplx-decider</a> is a 27B decision model from Perplexity, fine-tuned from<br> Qwen3.8-27B</li> <li>Continuing an OpenAI-compatible Responses conversation no longer fails when switching between models with and without<br> thinking, or when the history contains another provider's compaction items</li> <li>Fixed streaming Responses requests where client tool calls (e.g. Codex with web search) could emit before open<br> reasoning items, producing misordered/duplicate tool call events</li> <li>Requests routed to remote models are now cancelled on ollama.com when the client disconnects, instead of continuing<br> to run</li> <li><code>ollama show</code> now reports which renderer and parser a model uses and where its chat template comes from; the API<br> exposes the same values in new <code>renderer</code>, <code>parser</code>, and <code>template_source</code> fields</li> <li>More draft models now work with speculative decoding: llama-server infers the draft type automatically instead of<br> requiring Ollama to identify it</li> <li><code>ollama launch claude</code> now clamps <code>CLAUDE_CODE_AUTO_COMPACT_WINDOW</code> to Claude Code's supported range, avoiding a<br> "window too large" warning</li> <li>Updated llama.cpp and MLX</li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/ollama/ollama/compare/v0.40.6...v0.40.7"><tt>v0.40.6...v0.40.7</tt></a></p> github-actions[bot] tag:github.com,2008:Repository/658928958/v0.40.7-rc1 2026-10-20T21:15:15Z

v0.40.7-rc1: mlx: deduplicate CUDA runtime payloads (#17956)

<ul> <li>Deduplicate MLX CUDA runtime payloads</li> </ul> <p>Move CUDA libraries shared by the GGML and MLX backends into the sibling CUDA payload, and teach in-process and subprocess MLX loading to resolve that packaged dependency directory.</p> <p>Keep MLX-private libraries and JIT headers in the MLX overlay, include the full OpenBLAS Fortran runtime closure, and verify those dependencies in release packaging.</p> <ul> <li>address comments</li> </ul> dhiltgen tag:github.com,2008:Repository/658928958/v0.40.7-rc0 2026-10-17T21:45:55Z

v0.40.7-rc0: mlx: add PPLX Decider v1.2 support (#19072)

<p>Implement the Qwen3.5-backed decision scorer with noncausal attention,<br> the publisher readout, image handling, and System One prompt encoding.</p> dhiltgen tag:github.com,2008:Repository/658928958/v0.40.6 2026-10-17T15:29:04Z

v0.40.6

<h2>What's Changed</h2> <ul> <li>win: prevent orphaned runners by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dhiltgen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dhiltgen">@dhiltgen</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5481405150" data-permission-text="Title is private" data-url="https://github.com/ollama/ollama/issues/18500" data-hovercard-type="pull_request" data-hovercard-url="/ollama/ollama/pull/18500/hovercard" href="https://github.com/ollama/ollama/pull/18500">#18500</a></li> <li>gguf: add the q2_0 tensor and file types by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jmorganca/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jmorganca">@jmorganca</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5820499882" data-permission-text="Title is private" data-url="https://github.com/ollama/ollama/issues/18967" data-hovercard-type="pull_request" data-hovercard-url="/ollama/ollama/pull/18967/hovercard" href="https://github.com/ollama/ollama/pull/18967">#18967</a></li> <li>Launch clef in Ollama's cloud by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jberg5/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jberg5">@jberg5</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5873562470" data-permission-text="Title is private" data-url="https://github.com/ollama/ollama/issues/19036" data-hovercard-type="pull_request" data-hovercard-url="/ollama/ollama/pull/19036/hovercard" href="https://github.com/ollama/ollama/pull/19036">#19036</a></li> <li>use identifiers for --ask mode question keys by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jberg5/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jberg5">@jberg5</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5876036521" data-permission-text="Title is private" data-url="https://github.com/ollama/ollama/issues/19041" data-hovercard-type="pull_request" data-hovercard-url="/ollama/ollama/pull/19041/hovercard" href="https://github.com/ollama/ollama/pull/19041">#19041</a></li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/ollama/ollama/compare/v0.40.5...v0.40.6-rc0"><tt>v0.40.5...v0.40.6-rc0</tt></a></p> github-actions[bot] tag:github.com,2008:Repository/658928958/v0.40.6-rc1 2026-10-16T22:00:17Z

v0.40.6-rc1: transfer: support proxies on registry redirect targets (#19065)

<p>Behind a proxy, defer redirect-target DNS to the proxy; without one, keep the resolve-and-pin path. Trust default-registry/CDN hostnames with no local DNS. Fix a nil CancelFunc crash in blobDownload.release.</p> pdevine tag:github.com,2008:Repository/658928958/v0.40.6-rc0 2026-10-16T01:09:41Z

v0.40.6-rc0: Merge pull request #19041 from ollama/jberg/clef-question-ids

<p>use identifiers for --ask mode question keys</p> jberg5