The best open-source alternative to GitHub Copilot autocomplete in 2026 depends on what you are completing. Hence 1 has the strongest measured results on next-edit prediction and prose, and it is Apache 2.0 with weights you can serve. Zeta 2.1 wins Zed's 32-case eval, Qwen2.5-Coder-32B leads raw fill-in-the-middle, and the 7B and 8B models are the quickest on code. Every figure below is measured in our harness, and unmeasured cells say so.
Coline builds Hence 1 and writes this page.
| Model | Size | License | CUHK exact | Instinct exact | Instinct 4 or 5 of 5 | Zed eval (32) | SAFIM |
|---|---|---|---|---|---|---|---|
| Hence 1 | 27B | Apache 2.0 | 51.0% | 27.1% | 47.9% | 20 / 32 | 69.8% |
| Zeta 2.1 | 8B | Check model card | 26.0% | 8.6% | 29.3% | 27 / 32 | 51.3% |
| Sweep Next-Edit v2 | 7B | Check model card | 18.4% | 5.7% | 23.8% | 23 / 32 | Not measured |
| Continue Instinct | 7B | Check model card | 0.0%‡ | 20.9% | 38.2% | 13 / 32 | Not measured |
| Qwen2.5-Coder-32B | 32B | Check model card | Not measured | Not measured | Not measured | Not measured | 72.8% |
| StarCoder2 | Not measured | Check model card | Not measured | Not measured | Not measured | Not measured | Not measured |
| GitHub Copilot, for reference | Hosted | Closed | 28.1% | 5.2% | 21.5% | 19 / 32 | 51.3%* |
Measurements are with the confidence gate on for next-edit, and raw for SAFIM. *Copilot ran through its published language server with one open file only, and its SAFIM figure is on a 2,710-case sample (Zeta 2.1 and Hence 1 ran across all 17,720 cases). ‡CUHK fits Instinct's 7-line editable region poorly, which is why it scores zero. Compare inside this table only.
Hence 1: the strongest open next-edit model we measured
Hence 1 is a 27B Qwen3.8-27B base with a rank-64 LoRA merged into bf16. It was trained on 889,408 examples across code, docs, notes, messages, tasks, next-edit, task properties and calendar. It leads CUHK at 51.0% exact match, 54.1% ungated, and leads Instinct exact match at 27.1%. It also leads Instinct's graded set at 47.9% of suggestions scored 4 or 5 out of 5, with a judge mean of 3.62.
Hence 1 is the only model here with a measured prose score. On Coline's writing surfaces, judged by GPT-6.2 Sol, it keeps 50.6% of shown suggestions, against 43.0% ungated and 41.3% for DeepSeek-V4.1-Flash. Its gate keeps it quiet on 99.2% of cases where nothing should be suggested.
The honest limit is size. Hence 1 needs about 60 GB of VRAM at bf16 for its 55.6 GB of weights, and no GGUF build is released. It is also slower on code than the 7B and 8B models here, which run three to five times faster on the same GPU.
Zeta 2.1: the best on Zed's eval
Zeta 2.1 is an 8B model that passes 27 of 32 cases on Zed's eval, the highest score we measured in this group. Hence 1 passes 20 of 32 on the same set. Zeta also scores 26.0% on CUHK, with the gate on, and 8.6% exact match on Continue's Instinct test set, well behind Hence 1.
If your work is mostly the edit-after-edit pattern that Zed's eval checks, and you want an 8B model rather than a 27B one, Zeta 2.1 is the strongest pick in this list. Its lead is on Zed's set. On Instinct and CUHK, Hence 1 is ahead.
Sweep Next-Edit v2 and Continue Instinct: 7B options
Sweep Next-Edit v2 is a 7B model that passes 23 of 32 on Zed's eval and scores 18.4% on CUHK. On Instinct it scores 5.7% exact match and 23.8% of suggestions graded 4 or 5, which trails Instinct and Hence 1 on that set.
Continue Instinct is also a 7B model. It scores 20.9% exact match on Instinct and 38.2% graded good, with a judge mean of 3.30. It passes 13 of 32 on Zed's eval, and it scores zero on CUHK because that test's region does not fit its 7-line editable window. Its best result in our table is on Continue's own test set.
Both are small enough for a single consumer-class GPU, which is the reason to pick them over Hence 1. We have not measured their VRAM, so check the model cards before you size a server.
Qwen2.5-Coder-32B: the fill-in-the-middle leader
On raw SAFIM, Qwen2.5-Coder-32B scores 72.8%, the highest of the measured models. Hence 1 scores 69.8% on the same benchmark before editor trimming. Trimmed to what an editor displays, Qwen2.5-Coder-32B and Hence 1 both score 63.9%, which is statistically level.
Qwen2.5-Coder-32B is a fill-in-the-middle model with dedicated FIM tokens, and it is a good choice if you want code completion and do not need next-edit prediction or prose. We have not measured it on CUHK, Instinct or Zed, so we do not rank it there.
StarCoder2
We have not measured StarCoder2 on any benchmark in this comparison. It is an established open code model, and it may be a good fit for completion-only work, but we will not place it in a ranking we cannot support. Run it on your own code and compare it with the models above before you commit.
Hardware tiers
Think about three tiers.
- Single 80 GB GPU. Hence 1 fits here at bf16, and our official serving runs on one A100 80 GB. We have not measured Qwen2.5-Coder-32B's memory use, so check its model card before you size a card for it.
- Smaller GPUs. The 7B and 8B models here are the realistic choice for a single consumer-class card. Check each model card for its memory use at your precision.
- Laptops. Neither Hence 1 nor the 32B model is practical on a laptop today. Quantized builds of Hence 1 are not released, and uncalibrated quantization breaks its gate.
Setting up an editor
Hence 1 is served with vLLM, and the reference command is:
vllm serve ColineApp/hence-1 \
--dtype bfloat16 \
--max-model-len 16384 \
--language-model-only \
--generation-config vllm \
--enable-prefix-caching \
--speculative-config '{"method": "mtp", "num_speculative_tokens": 3}'
Every request must include "temperature": 0, "stop_token_ids": [248046], "ignore_eos": true and "chat_template_kwargs": {"enable_thinking": false}. Before you choose an editor plugin, confirm it lets you set those parameters. A plugin that cannot send them will not run Hence 1 as it was calibrated.
The other models here have their own prompt formats, and the editor setup for each one follows its model card. Keep one model per editor profile so that a prompt format from one does not leak into another.
Which one to pick
Pick Hence 1 if you need next-edit prediction and prose from one open model, you have an 80 GB GPU, and you want the strongest measured results on CUHK and Instinct. Pick Zeta 2.1 if your team is judged on Zed-style edits and fits a smaller GPU. Pick Sweep Next-Edit v2 or Continue Instinct if you need a 7B model for next-edit work and accept lower scores. Pick Qwen2.5-Coder-32B if your need is raw code completion with dedicated FIM tokens.
For the setup, see how to self-host Hence 1 with vLLM and open-source autocomplete for editors. The model is on Hugging Face, and the Hence 1 release post explains the release. Start from Hence 1.
Related: Hence 1 vs GitHub Copilot, Hence 1 vs Zeta 2.1, Hence 1 vs Qwen2.5-Coder-32B, Hence 1 benchmarks explained, local code completion hardware guide