GitHub Copilot replaces three inline suggestion models with one, cutting wait time

Microsoft reports that a single model now predicts completions, nearby edits and distant edits in GitHub Copilot for VS Code. Randomised tests with real users show faster suggestions, but no clear gain in suggestion quality.

6 min readIVIn productionPreprint, not peer reviewed
Save
A studio still life shows three empty wooden spools set aside, while a single spool feeds string along a wooden ruler with several paper flags, the first of which is deep blue.AI illustration
Illustration: AI generated

What the study shows

Inline suggestions are the grey text and small edit previews that GitHub Copilot shows as a developer types in VS Code. Until now, three models handled them. One completed the line at the cursor. A second proposed edits a few lines away, called next edit suggestions. A third proposed edits further away, even in other files. The editor asked them in a fixed order, so one keystroke could trigger up to four model calls in a row.

The new model writes its answer as a list of small patches. Each patch names a file, a line, the lines to remove and the lines to add. One answer can hold several patches, for example renaming a parameter at the cursor and then updating every place it is used. The editor keeps the later patches in a cache, so it can show the next one straight away after the developer accepts the first.

Microsoft built the model in two phases. First it merged the two edit models into one, still paired with the completion model. Then it added completion. Training used supervised fine-tuning, where the model copies good examples, followed by reinforcement learning, where it learns from a pass or fail score. A large general-purpose AI model acted as the judge that gave that score.

Each phase was tested in randomised online A/B experiments with VS Code users. The authors report that Phase 1 cut the time before a suggestion appears by about 7% and cut the amount of text the model generates by more than half. No quality or engagement measure got significantly worse.

In Phase 2 the authors compared the all-in-one model, plus four changes to the editor, with the Phase 1 pairing. Time to display fell by about 11%. Dismissed suggestions fell by about 10%, but this result does not hold up once the authors correct for testing 12 metrics at once. Without the editor changes, the new model alone made things worse: more dismissals and fewer accepted characters kept.

The authors state that the final model with its four editor changes is the system now deployed in GitHub Copilot. On our readiness scale this is level IV, proven in production, based on Microsoft's own account. No code, weights or data are released.

Our reading

In our reading, the clearest result is about speed and cost, not quality. One model call instead of a chain of calls, and a compact output format, make suggestions appear sooner and cost less to produce. Those gains are large and statistically solid in both phases.

The quality story is more careful than a headline might suggest, and the authors say so themselves. Their stated aim was to merge the models without making things worse, not to beat them. For most quality measures the honest summary is "no significant change", which is not the same as "proven equal".

The most useful lesson for practitioners is how much the editor mattered. With the model held fixed, one small editor change, stopping an ignored suggestion from reappearing in another form, cut dismissals by about a fifth. The same new model that raised dismissals on its own lowered them once paired with editor changes. A model swap is a product change, and it has to be tested as one.

Free membership

Read the rest of this story

Membership is free. You get every article in full, and can save stories and follow topics.

We send a sign-in link, no password needed. Already a member? Sign in

Readiness assessment

IV
In production
LevelStatusEvidence
I  Lab onlyMetThe paper describes the method, training recipe and offline experiments in detail.
II  BenchmarkedMetOffline results on Augmented HumanEval (an extension of the public HumanEval) are reported. Most other benchmarks (Simulation Tests, POE, QMH, Output View Kind) are internal and not public.
III  Open sourceNot yetNo code, weights or data are released. The paper's only links are blog posts and a citation entry.
IV  In productionMetThe paper says the final 3-in-1 model with all four client adaptations is the deployed system in GitHub Copilot inline suggestions in VS Code. It reports randomised online A/B tests with real users. Evidence is first-party, from Microsoft.

What would move it up
It is already at the top level on the scale used here. Independent replication would add confidence, as would a direct A/B comparison of the shipped system against the original three-model baseline. Releasing the benchmarks, the model or the code would also help.

The study

Microsoft CodeAI Team, Microsoft VS Code Team, Julia Gong et al.. Building a Unified Inline Code Editing Model for GitHub Copilot. arXiv, 24 November 2026. Read the paper

Preprint, not peer reviewed · Licence arXiv (no reuse)

Notes

  1. Microsoft Code|AI and VS Code Teams, "Building a Unified Inline Code Editing Model for GitHub Copilot", arXiv preprint 2611.33314, November 2026. Not peer reviewed. Source
  2. Gong et al., "Building the new GitHub Copilot inline suggestions model: Part one", Visual Studio Code Blog, September 2026. Source
  3. Gong et al., "Building the new GitHub Copilot inline suggestions model: Part two", Visual Studio Code Blog, September 2026. Source
  4. Duvvur et al., "Building long-distance next edit suggestions", Visual Studio Code Blog, February 2026, on the earlier standalone model. Source
  5. Readiness: level IV, proven in production, on the authors' own statement that the final model with four client adaptations is deployed. No code, weights or data are released.
  6. Exact figures. Phase 1 vs three-model baseline: time to display −6.77% ± 1.98, output tokens −58.93% ± 1.54. Phase 2 model plus client vs 2-in-1 plus completion: time to display −11.00% ± 1.12, dismissed suggestions −10.06% ± 9.85 (p = 0.0453), output tokens +20.98%, retained characters −3.25% (30 s) and −2.42% (5 min), not significant. Suppression ablation: dismissed −22.40%, time to display +4.27%.

Edited and signed by

Stefan PerdalFounder. Twenty-five years of building digital products.160 stories edited

Stefan read the study, set the readiness level and approved this story. An AI system found the paper and wrote the first draft.

How this was made

An AI model read the study and wrote this article in the structure Science Underway uses. An editor reviewed it and approved it for publication. Check the original study before you rely on the details.

More on Code