---
title: "Zed now predicts your next edit with Zeta, our new open model"
description: "Zed's new edit prediction feature is powered by Zeta, an open-source model fine-tuned from Qwen2.5-Coder-7B with an open dataset."
url: "https://swe.quest/articles/zed-now-predicts-your-next-edit-with-zeta-our-new-open-model-4be13d8bc80576a5"
canonical: "https://zed.dev/blog/edit-prediction"
source: "Zed"
published: "2025-02-13"
difficulty: "medium"
kind: "Case study"
reading_minutes: 8
tags: ["ai-coding","model-training","inference","evals","developer-tools"]
---

# Zed now predicts your next edit with Zeta, our new open model

A post on [Zed](https://swe.quest/sources/zed.md), published 2025-02-13, 8 min read, Case study. Original: [https://zed.dev/blog/edit-prediction](https://zed.dev/blog/edit-prediction)

## Summary

Zed's new edit prediction feature is powered by Zeta, an open-source model fine-tuned from Qwen2.5-Coder-7B with an open dataset. It predicts edits at arbitrary locations by rewriting a snippet around the cursor instead of using fill-in-the-middle. Training started with about 50 Claude-generated synthetic examples, grew to about 400 supervised fine-tuning examples collected from internal usage, and added about 150 DPO examples to stop spurious deletions and insertions, with Claude grading plain-English eval assertions. To meet p50 \<200ms and p90 \<500ms latency targets, Zed uses n-gram-based speculative decoding that exploits output closely mirroring input, plus Baseten-hosted GPUs in North America and Europe fronted by Cloudflare Workers.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)
- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)
- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)

## Prerequisites

- LLM basics ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- fine-tuning concepts ([easy posts on Model training](https://swe.quest/tags/model-training.md?difficulty=easy))

## Keywords

Zeta, Zed, Qwen2.5-Coder, DPO, LoRA, Unsloth, speculative decoding, Baseten

## Related posts

- [How We Developed Zeta2](https://swe.quest/articles/how-we-developed-zeta2-1b47c345c3994390.md): Zed · 2026-04-07 · Medium · 4 min read · Model training, AI for coding, Evaluation, LLMs
  Zeta2, Zed's new default edit prediction model, reaches a 30% higher acceptance rate with faster responses.
- [Building a Text Editor in the Times of AI](https://swe.quest/articles/building-a-text-editor-in-the-times-of-ai-5830d5c3aedf2a31.md): Zed · 2024-03-26 · Easy · 31 min read · AI for coding, Developer tools, LLMs, Algorithms
  Zed's co-founders Nathan, Max and Antonio describe how they use AI for programming.
- [CoderForge-Preview: SOTA open dataset for training efficient coding agents](https://swe.quest/articles/coderforge-preview-sota-open-dataset-for-training-efficient-coding-agents-83e1f3c7a7bdb67a.md): Together AI · 2026-02-25 · Hard · 14 min read · Model training, AI for coding, AI agents, Evaluation, LLMs
  CoderForge-Preview is an open dataset of 258K test-verified coding agent trajectories (155K passing) covering 51K tasks across 1,655 repositories from R2E-Gym, SWE-Smith and SWE-Rebench.
- [Accelerating Gemini Nano models on Pixel with frozen Multi-Token Prediction](https://swe.quest/articles/accelerating-gemini-nano-models-on-pixel-with-frozen-multi-token-prediction-eebb2d7eead45aae.md): Google Research · 2026-06-26 · Hard · 6 min read · Inference & serving, LLMs, Mobile, Performance engineering
  Google retrofits a Multi-Token Prediction (MTP) head onto frozen, already-deployed Gemini Nano v3 models to speed up on-device speculative decoding on Pixel 9 and 10 phones.
- [Faster Assisted Generation with Dynamic Speculation](https://swe.quest/articles/faster-assisted-generation-with-dynamic-speculation-d8a65fbd607c86ac.md): Hugging Face · 2024-10-08 · Medium · 7 min read · Inference & serving, LLMs, Performance engineering
  Dynamic speculative decoding stops the draft model's token generation as soon as its softmax confidence falls below a threshold (assistant\_confidence\_threshold), rather than always drafting a fixed or heuristically adjusted number of tokens before verification by the target model.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
