Zed opens edit prediction to Mercury Coder, Sweep and Ollama
- Source
- zed.dev
- Publisher
- Zed Industries
- Author
- Inception
- Date

Context
Edit prediction is the editor feature that guesses your next change, such as a closing brace or a deletion you were about to make, and offers it for acceptance. In a February 2026 post, Zed said its editor now lets users choose which model does that predicting: its own Zeta, Mercury Coder from Inception, Sweep, Ollama, Codestral, or GitHub Copilot's Next Edit Suggestions.
The change underneath is architectural. Adding a provider used to require changes across several systems. Zed now keeps the shared work in its core, including state management, the suggestion interface, debouncing and caching, and each provider only implements the model-specific parts: building a prompt from Zed's , calling its API and pulling the prediction out of the response. That is what made long-requested Ollama support possible, letting models run on the user's own machine so code never leaves it, and Zed invites pull requests for further providers. Zeta stays the default and needs no ; the others are configured in settings, and Zed notes that each has different and may suit some languages, projects or editing styles better than others.
Mercury Coder's distinguishing feature is diffusion: rather than predicting one token at a time, Zed says, it refines the entire output in parallel, which it expects to make predictions faster and more fluid. Inception's own announcement offered Zed users a free month through an API key. The company later released Mercury Edit 2, a model built specifically for next-edit prediction that it also made available in Zed.
- Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
- Open weights — A model whose learned parameter values have been made available to download, under terms the publisher sets.
- Setup — The combination of a model, a harness, its connections and the path the task's data takes, considered together for a task.
- Latency — The time between asking for a result and having it, including the model's generation time, tool calls, retries and any queueing.






