---
title: "Hence 1 vs Qwen2.5-Coder-32B: FIM Benchmarks Compared | Coline"
description: "Hence 1 (27B) vs Qwen2.5-Coder-32B for autocomplete: Qwen2.5-Coder wins raw SAFIM, the two are level on trimmed SAFIM, and Hence 1 has lower real-edit perplexity."
url: https://coline.app/hence/hence-1-vs-qwen2-5-coder
---

[Sign in](https://coline.app/auth/signin)

[Sign up](https://coline.app/auth/signup)

[Sign in](https://coline.app/auth/signin)

[Sign up](https://coline.app/auth/signup)

[Hence 1](https://coline.app/hence)

Updated December 4, 2026

# Hence 1 vs Qwen2.5-Coder-32B for autocomplete

Hence 1 (27B) vs Qwen2.5-Coder-32B for autocomplete: Qwen2.5-Coder wins raw SAFIM, the two are level on trimmed SAFIM, and Hence 1 has lower real-edit perplexity.

Qwen2.5-Coder-32B is the stronger raw fill-in-the-middle model in our SAFIM run. Hence 1 is the better fit when the work also includes next-edit prediction and writing, and it leads on real developer edits. Hence 1 is built on Qwen3.8-27B, so this comparison sets a 27B model fine-tuned for autocomplete against a 32B code model with dedicated fill-in-the-middle tokens.

Coline builds Hence 1 and writes this page.

|  | Hence 1 | Qwen2.5-Coder-32B |
| --- | --- | --- |
| Base model and size | 27B, built on Qwen3.8-27B | 32B, dedicated FIM tokens |
| SAFIM, raw (17,720 cases) | 69.8% | 72.8% |
| SAFIM, trimmed to what an editor displays | 63.9% | 63.9% |
| Real-FIM-Eval perplexity, add (lower is better) | 1.211 | 1.296 |
| Real-FIM-Eval perplexity, edit (lower is better) | 1.182 | 1.231 |
| Surfaces in one model | Code, next-edit, docs, notes, messages, tasks, task properties, calendar | Code completion; not measured on prose |
| Quiet rate | 99.2% | Not measured |

## What the SAFIM numbers say

SAFIM is 17,720 cases run through an execution harness. The raw score favors Qwen2.5-Coder-32B by 3.0 points, 72.8% to 69.8%. The trimmed score cuts each completion to what an editor would display, and there both models score 63.9%, a 0.07-point gap that is statistically level. Trimming matters because the raw score counts parts of a completion that an editor never shows, so it overstates what a user sees for either model.

## What the real-edit numbers say

Real-FIM-Eval uses 3,000 real developer edits, scored by character-level perplexity, where lower is better. Hence 1 is lower on both adds and edits: 1.211 against 1.296, and 1.182 against 1.231. Perplexity measures how well a model predicts text that real developers wrote. It does not measure whether a user accepts a suggestion, so treat it as one signal among several.

## What Hence 1 adds beyond fill-in-the-middle

Hence 1 is a fine-tune for Coline's surfaces. It returns code completions, next-edit predictions as SEARCH and REPLACE blocks, and prose across docs, notes, messages, tasks, task properties and calendar. It was trained on 889,408 examples, including 68,761 next-edit examples and about 15% "say nothing" examples.

The confidence gate is what separates it from a plain FIM model. A logistic regression over six signals decides whether each suggestion appears. The thresholds are 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. Hence 1 stays quiet 99.2% of the time when nothing should be suggested. Its base, Qwen3.8-27B, stays quiet 38.8% of the time. The cost is that Hence 1 shows a suggestion on 74.5% of wanted cases, and it holds the whole suggestion until it finishes.

Speed on a new code prompt is a p50 of 0.73 s to first token and 1.11 s for the whole suggestion, on an A100 80 GB. We have not measured Qwen2.5-Coder-32B's speed in our setup, so this page does not compare latency.

## Where Qwen2.5-Coder-32B is better

- **Raw fill-in-the-middle.** It scores 72.8% against 69.8% on SAFIM. If your only job is code completion and you don't need a gate, it is ahead on raw completion.
- **Smaller sizes.** Qwen2.5-Coder comes in smaller variants, including 7B and 14B. Those are far easier to run on consumer hardware than Hence 1's 27B, which needs about 60 GB of VRAM at bf16.
- **Packaging.** Qwen2.5-Coder is widely packaged for local runtimes such as Ollama. Hence 1 has no GGUF build yet, and uncalibrated 4-bit or 8-bit quantization degrades output and breaks gate calibration.
- **General code work.** Qwen2.5-Coder is a general code model, so it can cover coding tasks beyond completion. We did not test those uses, so we make no claim about them.

## Trade-offs for Hence 1

Hence 1 is not the smallest option. Its weights are 55.6 GB across 18 files. It has no standalone public API at launch. It is live inside [Hence 1](https://coline.app/hence) for every Coline Tab workspace, and you can self-host the [weights on Hugging Face](https://huggingface.co/ColineApp/hence-1) with vLLM and the documented prompt formats. For how the release fits into Coline, see [the Hence 1 release post](https://coline.app/blog/introducing-hence-1).

## Serving footprint

The official serving command for Hence 1 is below. Hence 1 runs at bf16, so it needs the 55.6 GB of weights in GPU memory, which puts it on an 80 GB A100 or H100 but not on a 24 GB consumer card.

`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}' `

Requests to Hence 1 also need temperature 0, stop_token_ids set to 248046, ignore_eos set to true, and enable_thinking set to false in the chat template kwargs. Those settings belong to Hence 1's prompt format. Do not reuse them for Qwen2.5-Coder or any other model.

## Which to pick

Pick Qwen2.5-Coder-32B if raw fill-in-the-middle is the job, you can serve a 32B model, and you don't need writing or a confidence gate. Pick Hence 1 if you want one model for code completion, next-edit prediction and writing across Coline's surfaces, and you want the quieter gate. Judge both on the surfaces you actually use, and run them on your own code before you commit.

Related: [fill-in-the-middle models compared](https://coline.app/hence/fill-in-the-middle-models), [Hence 1 benchmarks explained](https://coline.app/hence/hence-1-benchmarks), [hardware and VRAM guide](https://coline.app/hence/local-code-completion-hardware-guide), [Hence 1 vs DeepSeek-Coder and DeepSeek-V4.1-Flash](https://coline.app/hence/hence-1-vs-deepseek-coder), [open-source autocomplete models](https://coline.app/hence/open-source-autocomplete-models), [how the confidence gate works](https://coline.app/hence/autocomplete-confidence-gate)

## Frequently asked questions

Is Hence 1 better than Qwen2.5-Coder-32B for autocomplete?

It depends on the metric. Qwen2.5-Coder-32B scores 72.8% on raw SAFIM against Hence 1's 69.8%, but on SAFIM trimmed to what an editor displays, both score 63.9%. Hence 1 also has lower perplexity on 3,000 real developer edits, 1.211 against 1.296 for adds.

Does Hence 1 replace a dedicated fill-in-the-middle model?

Only if you want the rest of what Hence 1 does. It covers code completion, next-edit prediction and writing across Coline surfaces in one model, with a confidence gate. If you only want raw fill-in-the-middle on a small GPU, a dedicated FIM model may fit better, and a smaller variant can run in less memory.

Can I run Qwen2.5-Coder locally, and Hence 1 too?

Qwen2.5-Coder comes in smaller sizes, including 7B and 14B, and is widely packaged for local runtimes such as Ollama. Hence 1 needs about 60 GB of VRAM at bf16 and has no GGUF build yet, so serve it on a server with vLLM and run a smaller Qwen2.5-Coder on your laptop if you need one.

[Explore Hence 1](https://coline.app/hence) [All Hence 1 guides](https://coline.app/hence/guides)
