NextStack

ollama v0.40.7

patch PublishedOct 18, 2026 Sourceollama/ollama

ollama v0.40.7

What’s Changed

  • pplx-decider is a 27B decision model from Perplexity, fine-tuned from Qwen3.8-27B
  • Continuing an OpenAI-compatible Responses conversation no longer fails when switching between models with and without thinking, or when the history contains another provider’s compaction items
  • Fixed streaming Responses requests where client tool calls (e.g. Codex with web search) could emit before open reasoning items, producing misordered/duplicate tool call events
  • Requests routed to remote models are now cancelled on ollama.com when the client disconnects, instead of continuing to run
  • ollama show now reports which renderer and parser a model uses and where its chat template comes from; the API exposes the same values in new renderer, parser, and template_source fields
  • More draft models now work with speculative decoding: llama-server infers the draft type automatically instead of requiring Ollama to identify it
  • ollama launch claude now clamps CLAUDE_CODE_AUTO_COMPACT_WINDOW to Claude Code’s supported range, avoiding a “window too large” warning
  • Updated llama.cpp and MLX

Full Changelog: https://github.com/ollama/ollama/compare/v0.40.6…v0.40.7


Source ollama/ollama · v0.40.7 · 2026-10-18 · upstream release

Mirrored verbatim for indexing. All rights belong to the upstream project.

Release notes are published by the upstream project and mirrored here for indexing. All rights belong to their authors.