A good autocomplete model is judged on three things a chat model is not built for: where the cursor is, how fast the first token arrives, and whether it should say anything at all. A chat LLM is tuned to answer a question well, which usually means writing something whether or not you wanted it. Hence 1 is a 27B model trained specifically to decide when to speak.
Coline builds Hence 1 and writes this page.
The difference in one table
| Property | Chat LLM | Autocomplete model | Hence 1, measured |
|---|---|---|---|
| What it sees | A request and the conversation | Text around the cursor, plus recent edits | Cursor-in-context prompt |
| Time to first token | Seconds are acceptable | Must feel instant while typing | Writing p50 0.11 s; code p50 0.73 s (new prompt) |
| Stays silent when it should | Not a core behavior | A core behavior | Quiet rate 99.2% |
| Typical size | Wide range | 7B to 8B for speed, 27B to 32B for quality | 27B |
| Training | Instructions and chat | Completions across the surfaces people type in | 889,408 examples, 8 surfaces |
Cursor-in-context prompting
Autocomplete needs the text on both sides of the insertion point. A chat model usually receives a question and a block of context, with the cursor position implied at best. Hence 1 is prompted with the cursor placed inside the text it completes. The exact marker and layout are in the prompt formats documented with the weights on Hugging Face.
Use the documented format. A prompt in a different layout is a different model input, and the numbers in this guide do not describe it.
Latency: first token and whole suggestion
Two numbers matter, and they answer different questions. First token tells you how soon the model starts. Whole suggestion tells you how soon a finished suggestion exists. Hence 1's gate holds the full suggestion until it completes, so the whole-suggestion number decides when a visible suggestion can appear.
These figures come from Coline's production endpoint: a single A100 80 GB, vLLM 0.34, bf16, prefix caching and MTP speculative decoding.
- Writing: first token 0.11 s at p50 and 0.17 s at p90; whole suggestion 0.26 s at p50 and 0.44 s at p90.
- Code, later keystrokes (cached): first token 0.36 s at p50; whole suggestion 0.73 s at p50 and 1.48 s at p90.
- Code, new prompt: first token 0.73 s at p50 and 1.35 s at p90; whole suggestion 1.11 s at p50 and 2.13 s at p90.
- Next-edit: first token 0.38 s at p50; whole suggestion 1.13 s at p50 and 1.69 s at p90.
Prose feels instant. Code and next-edit do not. A 7B or 8B model runs three to five times faster than Hence 1 on the same GPU, and for code that speed is a real advantage.
Knowing when to stay silent
This is the property that separates an autocomplete model from a chat model with a completion prompt. A model that stays quiet only when it is unsure will hide some good suggestions and show many bad ones. The question is how often it correctly shows nothing.
| Model | Quiet rate (nothing should be suggested) |
|---|---|
| Hence 1 | 99.2% |
| Qwen3.8-27B (base) | 38.8% |
| Previous Tab code model | 37.7% |
| DeepSeek-V4.1-Flash | 27.0% |
| Previous Tab prose model | 23.7% |
The trade is explicit. Hence 1 shows a suggestion on 74.5% of wanted cases. Other models show one on 95% to 99% of them. A model that shows nearly everything also shows nearly everything it should not, and the user learns to ignore the ghost text.
The decision is made by a confidence gate with thresholds set per surface: 0.25 for code and next-edit, 0.15 for docs, messages and tasks, and no gate for notes, calendar and task properties. The gate reaches an AUC of 0.91 against 0.63 for the raw end-of-turn probability. See the confidence gate guide.
Fill-in-the-middle or next-edit
A completion model fills the gap at the cursor. A next-edit model predicts a change somewhere else, based on what you just changed, and returns it as a search block and a replace block. These are different tasks with different training data and different benchmarks. Hence 1 handles both in one model, which is why it is measured on both. The comparisons are in fill-in-the-middle models compared and next-edit prediction models compared.
Choosing a size
The size question is speed against quality. A 7B or 8B model answers quickly and fits on a laptop, but it has less room to hold context across a file. A 27B or 32B model holds more and writes better edits, but it needs a server GPU. Hence 1 at 27B needs about 60 GB of VRAM at bf16. On the Zed eval, the 8B Zeta 2.1 passed 27 of 32 cases, while Hence 1 passed 20. Size is not a proxy for quality on every task.
How Hence 1 was trained
Hence 1 is Qwen3.8-27B with a rank-64 LoRA on all text-layer weight matrices. That is 435M trainable parameters, under 2% of the model, merged into bf16 weights.
The training set has 889,408 examples and 1.07 billion tokens, with 19.2 million answer tokens. It covers eight surfaces: code (336,987), docs (119,332), notes (106,134), messages (92,811), tasks (85,642), next-edit (68,761), task properties (45,259) and calendar (34,482). About 15% are negative examples where the right output is nothing. A 75-step corrective pass on next-edit data follows, then the gate is fitted. The model was never trained on any benchmark test split, on Coline customer data, or on Coline's own workspace. For the full description, see the Hence 1 release post.
Trade-offs and limitations
- Code speed. Smaller models are faster on code. Hence 1's code path is slower by design, because quality costs time.
- Notes. Hence 1 scores 34.4% kept on notes against DeepSeek-V4.1-Flash's 36.4%. This is its clearest loss on Coline's surfaces.
- Public issue labels. Hence 1 scores 1.9% on public issue triage labels against DeepSeek's 3.8%. On real Coline workspace tasks it scores 54.8%, so the weak number is about public labels.
- Hardware. Hence 1 needs about 60 GB of VRAM at bf16, and it has no GGUF build yet.
Related: AI autocomplete: how modern models work, what the confidence gate does, Hence 1 benchmarks explained, local autocomplete models, open-source autocomplete models, Hence 1 vs Zeta 2.1