Ollama's highest performance on Apple Silicon yet with MLX
Ollama's highest performance on Apple Silicon yet with MLX Ollama's MLX engine has been updated to deliver its highest performance on Apple Silicon yet. By leaning more heavily on Apple's unified memory and the Metal-backed MLX framework, models output higher quality responses, respond faster, and use less memory.

- By leaning more heavily on Apple's unified memory and the Metal-backed MLX framework, models output higher quality responses, respond faster, and use less memory.
- A coding agent with Gemma 4 12B on a MacBook Pro M5 Max.
- Ollama's MLX engine has been updated to support NVIDIA's model-optimized NVFP4 format, allowing for higher quality outputs than other 4-bit quantization formats while maintaining state-of-the-art performance.
Ollama's MLX engine has been updated to deliver its highest performance on Apple Silicon yet. By leaning more heavily on Apple's unified memory and the Metal-backed MLX framework, models output higher quality responses, respond faster, and use less memory.
Your browser does not support the video tag.
A coding agent with Gemma 4 12B on a MacBook Pro M5 Max. Ollama's improved MLX engine provides higher-quality results, higher output speeds and faster time to first token with thinking and multiple sub-agents.
Ollama's MLX engine has been updated to support NVIDIA's model-optimized NVFP4 format, allowing for higher quality outputs than other 4-bit quantization formats while maintaining state-of-the-art performance. As an added benefit, models that are optimized for datacenter deployment can now be imported and run on with Ollama's MLX engine allowing for portability between the datacenter and the desktop.
NVFP4 tracks the local dynamic range of model weights more closely, reducing loss from quantization. When measuring the perplexity difference between q4_K_M , a common 4-bit quantization format available with Ollama, NVFP4, and unquantized bf16 weights for the Gemma 4 12B model, model-optimized NVFP4 roughly halves the quality loss while maintaining performance:
NVFP4 roughly halves the quality loss of 4-bit quantization, relative to unquantized BF16.
Ollama's MLX engine is now up to 20% faster from new optimizations: several operations are now fused into single Metal kernels via MLX's just-in-time compiler features, and we've reworked Ollama's GPU-backed sampling to run more efficiently.
NVFP4 generates about 20% faster than q4_K_M on the updated engine.
Average output speed over 10 runs when provided an 8,300-token input prompt.
Agent workloads are dominated by prompt processing. Every tool call is a new request, and every request resends the whole transcript: system prompt, tool definitions, and every file read so far. Over a single task the model ends up processing the same context dozens of times. Prefix caching avoids the repeated work, as long as each request picks up where the last one left off.
Real agent sessions don't work that way for long. Ollama's new snapshot system saves model state at key points across conversations, using the same approach that serves agent workloads in Ollama's cloud:
Multiple agents: An agent hands off to a subagent and picks back up later, or two sessions run at the same time. Each one resumes from its own saved state, and anything they have in common — often tens of thousands of tokens of system prompt, tool definitions, and ingested files — is only processed once.
Thinking models: Reasoning tokens are generated, then dropped from the conversation history, so the next request never matches the state the engine just built. Each turn would normally reprocess the whole conversation. A snapshot taken right before the response starts gives the next turn somewhere to resume from.
Branching and retries: A different follow-up or a regenerated response diverges from the cached conversation instead of extending it. Because snapshots exist where conversations split, only the new direction needs to be processed.
Most new models make this harder than it sounds. Sliding-window attention and recurrent layers carry state that can't be rewound. Once the model moves past a point in the conversation, that point can't be recovered unless state was saved at the time. Ollama saves state at the points conversations are likely to return to: where they branch, at intervals through long prompts, and just before each response. Keeping snapshots selective and incremental leaves more memory for the model.
To run models with Ollama's MLX engine, download the latest version of Ollama, then run a model:
For use in a coding agent, use ollama launch :
Sources
Related stories

Ollama now supports Jev-style decision models
Ollama now supports Jev-style decision models Ollama now supports decision models, based on TypeSafe's Jev API for fast, typed decisions: Three new decision models available today via Ollama This new API is available as of Ollama 0.35 by using the new /v1/systemone endpoint.

Ollama's transparent pricing
Ollama's Pro, Max, and Team plans now use transparent per-token pricing. Based on your feedback, every plan includes a monthly pool of usage credits. If you're on an existing Pro, Max, or Team plan, your plan continues to work as-is.

Ollama: all aboard open models
Michael and I first met in college, where we started our first company, Kitematic, which made Docker dead-simple to run. In 2015, it was acquired by Docker.

Faster Gemma 4 on MLX with multi-token prediction
Faster Gemma 4 on MLX with multi-token prediction Gemma 4 is now significantly faster in Ollama 0.31. On Apple Silicon, it generates tokens nearly 90% faster on average across a coding-agent benchmark.

Improved performance and model support with GGUF
Improved performance and model support with GGUF Ollama 0.30 is now available with improved performance and GGUF model compatibility through llama.cpp . This augments Ollama's MLX engine on Apple silicon, bringing support to more models on a wider range of hardware.

GitHub Reports 2.5 Billion Open-Source Contributions in 2026
GitHub reports a 116% increase in public contributions in 2026 compared to 2025.