Ollama v0.34.4: single-pass structured outputs on thinking models, faster Qwen 3.8 on Apple Silicon
1 month ago
Ollama v0.34.4: structured outputs on thinking models now run in one pass, "model not found" and macOS app fixes, faster Qwen 3.8 and per-image Gemma 4 resolution on Apple Silicon, thinking-level discovery, and engine updates. https://github.com/ollama/ollama/releases/tag/v0.34.4 https://github.com/ollama/ollama/compare/v0.34.3...v0.34.4
Ask about this presentation
Chapters
0:00Ollama v0.34.4: structured outputs on thinking models in one pass
0:13The prompt is evaluated once
0:24The thinking stays free, and only the answer follows the schema
0:35The generate endpoint keeps JSON out of the thinking
0:45With a format set, a tool call can't replace the answer
0:5802 Fixes
0:59Intermittent model not found errors are fixed
1:11The macOS app no longer hangs checking for ChatGPT or Codex
1:2403 Apple Silicon
1:25Qwen 3.8 processes prompts up to 19% faster on Apple Silicon
1:37Gemma 4 picks an image resolution for each image
1:48The largest image budget costs Gemma 4 12B about 830 MB more memory
2:0104 Thinking controls
2:03Ask a model which thinking levels it takes
2:16Set think to true, false, null, or a level name
2:27The OpenAI and Anthropic endpoints take the same level names
2:4205 Claude Code and the engines
2:44ollama launch claude uses Claude Code's own auto mode checks
2:56llama.cpp, MLX and XGrammar are updated
Show transcriptHide transcript
In Ollama v0.34.4, a thinking model that's asked for a JSON format handles it in a single pass. It thinks freely, then writes the formatted answer in the same generation.
Before, a format on a thinking model meant two generations, and the second one had to prefill the whole prompt again. Now it's one generation, and the prompt is evaluated once.
The grammar now applies only after the thinking ends. On Qwen 3 0.6B at temperature zero, the thinking came out byte-identical with a format and without one.
The generate endpoint gets the fix too. It used to apply the format from the first token, which forced the JSON inside the thinking. Raw prompts keep that old behavior.
One behavior change. With a format set, whatever follows the thinking has to match it, so a tool call can't stand in for the answer. Harmony models like GPT-OSS are the exception.
Fixes.
With a large local library, you may have seen model not found errors that went away on retry. The lookup could borrow another model's tag casing. It now tries an exact match first.
On macOS, the Apps page checks whether ChatGPT or Codex is running. It asked System Events, and a slow answer froze the window. It now reads the list of running programs directly.
Apple Silicon.
Qwen 3.8 now reads prompts faster on Apple Silicon. On an M5 Max, prompts from two thousand to sixteen thousand tokens were processed fourteen to nineteen percent faster.
Gemma 4 on Apple Silicon now picks one of five image budgets for each image. High-resolution documents keep more detail, and small images take fewer tokens.
On Gemma 4 12B, the largest image budget uses about 830 megabytes more memory than the smallest. A 16 gigabyte M1 Mac slows down with E4B, but it keeps running.
Thinking controls.
To find which thinking levels a model accepts, call /api/show. It returns the supported values and the default. For GPT-OSS, that's low, medium and high, defaulting to medium.
The think field takes true, false, null for the model's default, or a level name spelled exactly as the show endpoint lists it. An unsupported name falls back to the default.
The OpenAI and Anthropic compatible endpoints accept the same model-defined level names. That's reasoning effort on Chat Completions, reasoning effort and think on Responses, and the effort setting on Anthropic Messages.
Claude Code and the engines.
Ollama doesn't provide Anthropic's server-side auto mode checks, so ollama launch now starts Claude Code with its client-side checks. If you set that variable yourself, your value is kept.
llama.cpp moves to build 11081, and MLX is updated. XGrammar 0.2.7 fixes structured output schemas with typed dictionary values and short arrays.
Up next
1:21Ollama v0.40.15 runs Xiaomi's MiMo V2.6 and AutoTrust models that answer yes or no
@ollama
1 week ago
1:12Ollama v0.40.14 runs your models at their own temperature through the OpenAI API
@ollama
1 week ago
1:47Ollama now runs Liquid AI's LFM3 on Linux and Windows, speech included
@ollama
1 week ago
1:47Ollama now reads replies aloud with Phonon, and Flint reaches Linux and Windows
@ollama
3 weeks ago
1:13Ollama v0.40.8 runs Flint, Recursive's open coding model for agents, on Macs first
@ollama
3 weeks ago
1:45Ollama runs Perplexity's pplx-decider, a local 27B model that routes, checks and grades
@ollama
3 weeks ago
1:13Ollama v0.40.5 runs NVIDIA Nemotron 3.5 Bolt, a 74B vision model sized for one 24 GB GPU
@ollama
1 month ago
1:37Ollama run now answers yes-or-no questions with decision models
@ollama
1 month ago
1:31Ollama keeps backups of upgraded models so you can downgrade safely
@ollama
1 month ago
2:42Ollama v0.40.0: models run on MLX by default on Apple Silicon
@ollama
1 month ago
1:31Ollama v0.35.1: Clef decision models, now with images
@ollama
1 month ago
2:46Ollama v0.35.0: decision models that answer with choices and probabilities
@ollama
1 month ago