S-SCOTTEK← HomepageNewsGuidesBuyingTeamForumSupportlog in · sign up
local-ai 2026-10-14

Ollama 0.40: Terminal AI Judges + MLX Speed

This is the companion guide to the video Ollama 0.40: Terminal AI Judges + MLX Speed — same steps, same commands, in text form you can copy.

What 0.40 changes

Five releases in 17 days. v0.40.0 landed September 25, 2026, and v0.40.1 through v0.40.4 followed through October 12, all per the Ollama releases page. The video was recorded against 0.40.4, so grab at least that. Note that a newer v0.40.5 dated October 14 already exists, adding Nemotron 3.5 models and cloud-hosted decision models — see the v0.40.5 notes if you are reading this late.

MLX by default on Apple Silicon. On Apple Silicon, model architectures supported by the MLX runtime now automatically run on MLX, with ollama pull qwen3.8 and ollama run qwen3.8 as the headline example, plus gemma4, qwen3.6, and qwen3.5 — per the v0.40.0 notes. No flag, no config; unsupported architectures quietly fall back to the classic runner. MLX is Apple-only and its speed was not benchmarked for this guide.

Decision models grew up. nimble, tev1, clef, and clef-flash now run on MLX too, MLX gained its first embedding model in embeddinggemma-2, and 0.40.4 put decisions directly in the terminal via ollama run nimble --ask "Is a refund being requested?" piped a ticket file — per the v0.40.0 notes and the v0.40.4 notes.

Framing card: Macs get speed, Linux gets agents, decisions are the story
Framing card: Macs get speed, Linux gets agents, decisions are the story (Still from the walkthrough video.)

Upgrade without breaking your lab

Back up anything custom first. The video recommends saving Modelfile customizations and any scripts that hit the API, because the background upgrade rewrites manifests. No live upgrade was run for this guide, so treat the path below as sourced, not tested.

Expect one disk-space gotcha. Since 0.40.2, models downloaded under older Ollama are upgraded in the background on first run for speed and compatibility, and the original is kept as an on-disk backup until a future release removes it automatically — per the v0.40.2 notes. Those notes ship a jq-based cleanup loop over /api/tags that deletes only the old backup manifests. Then 0.40.3 paused the background upgrader entirely after it added per-request overhead on embedding workloads — per the v0.40.3 notes. So upgrade, run the cleanup from the release notes, and do not panic at the disk graph.

Smaller fixes worth knowing from v0.40.1 include the server proxying cloud usage and balance APIs, the CLI onboarding dropping the account step, and a fix for Clef head reads past 2GiB on Windows.

Cleanup card: the jq loop from the release notes deletes old backups only
Cleanup card: the jq loop from the release notes deletes old backups only (Still from the walkthrough video.)

Try a judge model in two minutes

A normal language model generates text one token at a time, which is slow and verbose. A decision model takes your text plus a schema of typed questions declared up front and answers them all in a single forward pass: choice gives a label plus probabilities, noul gives a boolean with confidence, and score gives a position on a rubric. The endpoint is POST /v1/systemone on http://localhost:11434, available since 0.35, and the decision-models blog post shows all three question types in one request. As the video demonstrates, one call can hand back a label with probabilities plus a token count as small as four output tokens.

Decisions-like-grep card: the --ask flag classifies a ticket file with nimble
Decisions-like-grep card: the --ask flag classifies a ticket file with nimble (Still from the walkthrough video.)

Agent-use notes for your homelab

Shell-native judges turn cron jobs, log watchers, and hooks into agents: pipe text into ollama run nimble --ask with a quoted question and get structured JSON back, a zero-token judge you can call like grep. Keep questions narrow and deterministic — one question per call beats a clever compound prompt when a script has to parse the answer. Prompt-tuning advice only; no live agent loop was run for this guide.

Rollback and honest limits

Rollback is safe by design but not free. Because 0.40.2 keeps the original model copy as a backup, downgrading works — but the notes warn that a downgrade to anything older than 0.40 means re-pulling those models, and the cleanup loop deletes only the backups. To roll back, reinstall the older release from the releases page, re-pull affected models, and verify with ollama --version. Rollback was not exercised for this guide.

Related guides

Watch the walkthrough

Watch on YouTube