StarCoder2 is the better choice if you need a small code completion model that runs on a laptop today, and its OpenRAIL-M use restrictions work for you. Hence 1 is the better choice if you want one model for code completion, next edits and writing behind a confidence gate, and you have a GPU with about 60 GB of VRAM. We did not run StarCoder2 in our benchmark harness, so this page makes no accuracy claim about it.
Coline builds Hence 1 and writes this page.
| Hence 1 | StarCoder2 | |
|---|---|---|
| Sizes | 27B, built on Qwen3.8-27B | 3B, 7B and 15B |
| License | Apache 2.0 | BigCode OpenRAIL-M |
| Main job | Fill-in-the-middle, next-edit, prose writing, confidence gate | Code completion with fill-in-the-middle |
| Hardware | About 60 GB VRAM at bf16 | 3B and 7B are small enough for laptops and small GPUs; 15B needs more memory |
| Quiet rate | 99.2% | Not measured |
| Benchmarks in this comparison | Measured | Not measured |
Two different kinds of model
StarCoder2 is a code completion model, trained to fill the middle of code. Hence 1 is a fine-tune of Qwen3.8-27B on 889,408 examples across eight surfaces: code, docs, notes, messages, tasks, next-edit, task properties and calendar. It runs with a chat template and a stop token, 248046, and its documented prompt formats differ from raw FIM. The practical difference is that Hence 1 needs more setup and does more.
License
Apache 2.0 places no use restrictions beyond its license conditions, such as notice requirements. BigCode OpenRAIL-M is a responsible-use license that lists restricted uses, and those restrictions apply to how you use the model. Read the license text for the uses you plan before you ship. If your legal team needs a permissive license with no use-based clauses, Hence 1's Apache 2.0 is the simpler answer.
Capability
StarCoder2 gives you raw completion. Hence 1 adds next-edit predictions, prose writing and a confidence gate. The gate is the main trade-off. It holds the full suggestion until it completes and then decides whether to show it. Hence 1 shows a suggestion on 74.5% of cases where one is wanted, which is the cost of its 99.2% quiet rate.
Speed is also a real difference. Hence 1 takes a p50 of 1.11 s for the whole suggestion on a new code prompt, and 0.73 s for later cached keystrokes, on an A100 80 GB. We have not measured StarCoder2's latency here. Models of 7 to 8 billion parameters run 3 to 5 times faster on code on the same GPU, so a small StarCoder2 model will feel quicker.
Where StarCoder2 is better
- Footprint. The 3B and 7B sizes fit on laptops and small GPUs. Hence 1 needs about 60 GB of VRAM at bf16, and its 55.6 GB of weights put it out of reach for most laptops today.
- Speed. Smaller models run 3 to 5 times faster on code on the same GPU.
- Predictable output. A plain completion model with no gate shows every completion it makes. That is simpler to reason about, and it is the right choice if you would rather see everything than see less.
Trade-offs for Hence 1
Hence 1 needs a large GPU, has no GGUF build yet, and has no standalone public API at launch. Uncalibrated 4-bit or 8-bit weights degrade output and break the gate. Self-hosters should add a small server-side guard that suppresses near-repeats of the text before the cursor, which catches 0.28% of suggestions.
Hardware in practice
Weight memory at bf16 is two bytes per parameter, which gives a rough floor before cache and runtime overhead. By that arithmetic, a 3B model needs about 6 GB, a 7B model about 14 GB, a 15B model about 30 GB, and a 27B model about 54 GB. Hence 1's published weights are 55.6 GB, and its stated need of about 60 GB of VRAM includes headroom for runtime memory. The StarCoder2 figures are arithmetic estimates, not measurements from our runs.
Living with the gate
In daily use, the gate changes what you notice. A plain completion model shows something most of the time, so you learn to accept or ignore it. Hence 1 shows less often, so an absent suggestion is normal, not a fault. The cost is latency: the whole suggestion has to finish before the gate decides, and the p50 for a new code prompt is 1.11 s on an A100 80 GB. Tell your team up front that silence is by design, or the quiet behavior will look like a bug.
What the gate checks
The gate is a small logistic regression over six signals the model already computes, and it reaches an AUC of 0.91 for ranking kept suggestions above dismissed ones. Raw end-of-turn probability alone reaches 0.63, so the combined signals do most of the work. Thresholds differ by surface: 0.25 for code and next-edit, 0.15 for docs, messages and tasks, and the gate is off for notes, calendar and task properties. A plain StarCoder2 completion has no equivalent check, which is the difference you feel most in daily use.
Which to pick
Pick StarCoder2 if you need a small model on a laptop or a small GPU, and its OpenRAIL-M terms work for your use. Pick Hence 1 if you have a GPU with about 60 GB of VRAM, want code and writing behind a confidence gate, and prefer Apache 2.0. The Hence 1 release post explains the training, and the model weights are on Hugging Face.
Related: local AI autocomplete models, hardware and VRAM guide, open-source autocomplete models, Hence 1 vs Codestral, Apache 2.0 autocomplete models, fill-in-the-middle models compared