Ollama Turns On Speculative Decoding for Apple Silicon

Ollama Logo

Ollama's MLX backend now accepts DFlash2 draft models for speculative decoding, and prompt processing on Apple silicon got faster for Gemma 4, Flint and Laguna. Both changes are in v0.40.12, released this evening.

Speculative decoding is the cheapest speed-up in local inference. A small draft model guesses the next few tokens; the main model checks them in one pass and keeps the ones it agrees with. The output is identical to normal decoding, so it isn't a quality trade. On a Mac, where memory bandwidth sets the ceiling, letting a tiny model do most of the typing is a real gain. DFlash2 is the draft format Ollama now understands on the MLX path.

The same release puts Liquid AI's LFM3 family on Apple hardware — a 1.7B text model with a 256K context window, plus vision, audio and omni variants — along with the 2B d1 decision models. Linux and Windows support is promised for a later release. Smaller items: Gemma 4 keeps more detail in small images, ollama launch now works with OpenCode v2, tool-only assistant turns from Kimi CLI are fixed, and the bundled MLX and llama.cpp versions moved up.

If you run Gemma 4 or Flint on a Mac, this is the update to take. If you were waiting to try LFM3 without leaving macOS, it's here.

Why it matters: speculative decoding is how local inference gets faster without new hardware, and Ollama shipped it in a point release.

Source: github.com/ollama/ollama/releases/tag/v0.40.12