Ollama 0.40.2
Ollama · App · v0.40.2 · Released
View official release notes ↗ Copy link
Model upgrades
Models downloaded with earlier versions of Ollama are upgraded in the background the first time you run them, for better performance and compatibility when running on llama.cpp.
To make downgrading safe, Ollama keeps the original copy as a backup, so upgraded models are temporarily kept on disk. A future release will remove these backups automatically.
To remove backed up models now (requires jq):
curl -s localhost:11434/api/tags | jq -r '.models[].name' | while read -r m; do
curl -s localhost:11434/api/show -d "{\"model\":\"$m\"}" | jq -r \
'select(any(.manifests[]?; .runner == "llamacpp")) | .manifests[] | select(.runner == "ggml") | .digest'
done | sort -u | xargs -n1 ollama rm
This only deletes the backups. If you later downgrade to a version older than 0.40, you'll need to re-pull those models.
Other changes
ollama listno longer shows duplicate entries for upgraded models by @dhiltgen in #18874ollama launch claudeuses the model's full context length by @jberg5 in #18855- README: add oxi to community integrations by @maziluiosif in #18739
New Contributors
- @maziluiosif made their first contribution in #18739
Full Changelog: v0.40.1...v0.40.2-rc0
Source: Ollama's official Ollama release notes at github.com. Text reproduced from the source for reference; all rights belong to Ollama. Patchwire is not affiliated with Ollama.
More Ollama releases
- v0.40.4 · Oct 14, 2026
- v0.40.4-rc2 · Oct 13, 2026
- v0.40.4-rc1: Add Kev decision scoring to MLX (#18976) · Oct 13, 2026
- v0.40.4-rc0 · Oct 12, 2026
- v0.40.3 · Oct 11, 2026
- v0.40.3-rc0 · Oct 9, 2026
- v0.40.2-rc0: server: hide duplicate and downgrade guards from list (#18874) · Oct 8, 2026
- v0.40.1 · Oct 8, 2026