Hence 1

Apache 2.0 autocomplete models: what legal teams need to check

Compare Apache 2.0 autocomplete models with OpenRAIL, non-production and closed licenses, list what ships in the Hence 1 repo, and check commercial integration.

For a commercial code product, the license comes before the benchmark. Apache 2.0 lets you use, modify, redistribute and self-host autocomplete weights without use-case restrictions, and it is the license behind Hence 1 and Qwen2.5-Coder-32B. Many code models ship under OpenRAIL, non-production or source-available terms, or stay closed, which can rule them out before you compare a single score.

Coline builds Hence 1 and writes this page.

The Hence 1 release post covers the model, and the Hugging Face repo holds the files you would review.

ModelWeightsLicenseOur raw SAFIMCommercial use
Hence 1Open, on Hugging FaceApache 2.069.8%Yes, under Apache 2.0
Qwen2.5-Coder-32BOpenApache 2.072.8%Yes, under Apache 2.0. Check the card for the exact checkpoint
StarCoder2OpenBigCode OpenRAIL-MNot measuredAllowed, with use restrictions written into the license
CodestralOpen weightsMistral Non-Production LicenseNot measuredCommercial use needs a separate agreement with the vendor
Cursor Tab, Supermaven, Windsurf Tab, TabnineClosedVendor termsNot measuredSet by each vendor's terms

The SAFIM column comes from Coline's execution harness, which reads 2 to 3 points above public leaderboards for every model. Compare inside this table only.

What ships in ColineApp/hence-1

  • Merged bf16 weights: 55.6 GB across 18 weight files. A rank-64 LoRA trained 435M parameters, under 2% of the model, and was merged into the base.
  • Tokenizer and chat template.
  • gate.json: a few hundred bytes of logistic regression weights for the confidence gate.
  • reference.py: the exact vLLM 0.34 production config.
  • NOTICE: the attribution file that Apache 2.0 requires you to keep when you redistribute.
  • Documented prompt formats for code, writing and next-edit.

The lineage matters for review. Hence 1 is a LoRA merge onto Qwen/Qwen3.8-27B, which is also Apache 2.0. Confirm the base model's license on its own repo as well as this one.

What Apache 2.0 requires you to do

This is a summary, not legal advice.

  • Notices: include the license text and the NOTICE file in every redistribution.
  • Changes: if you modify the files, mark the changes you made.
  • Patents: contributors grant an express patent license for their contributions. Counsel should check how that fits your review.
  • Names: the license grants no trademark rights. Using Hence or Coline in your product name needs its own permission.
  • Warranty: none. The license disclaims warranties and liability.

Commercial integration considerations

  • There is no API to buy. Hence 1 has no standalone public API at launch. It runs inside Coline Tab for all workspaces, and you can self-host it from Hugging Face with vLLM. If you sell autocomplete, you operate the model yourself.
  • Pin the revision. The weights and gate.json were fit together. Pin the Hugging Face commit and store both in your own registry.
  • Fine-tuning and quantization are allowed, but they have a cost. gate.json was fit to the released bf16 weights. Change the weights and the gate needs a refit on your own validation set. An uncalibrated 8-bit or 4-bit copy breaks gate calibration.
  • Training data provenance. Document the 2,913 Instinct rows and the zero overlap with the Instinct test split when you review the model. Instinct's own training used that public split too, so the advantage is partial and similar in kind.
  • Output ownership and liability. The license covers the weights. It does not decide who owns suggested code or who is liable for it. Have counsel set that position, and keep a human review step in your product.
  • Hardware is part of the license decision. Running the model needs about 60 GB of VRAM. Budget for it with the license review.

What each team checks

Legal owns the license chain, the notice obligations, the trademark and warranty terms, and the training data disclosure. Give them the NOTICE file, the Qwen3.8-27B base license, and the Instinct overlap note, so they review the same text you ship.

Security owns where the weights are stored and what the serving host can reach. The self-hosted path keeps code on your network at inference, but the serving host still needs review: pinned weights, HF_HUB_OFFLINE=1 after the download, and vLLM's usage reporting turned off.

Platform owns the GPU budget, the pinned revision and the gate file. Plan for one 80 GB GPU, or for two 48 GB cards in a layout you have tested. Keep gate.json and reference.py versioned with the weights, since a change to either one alone can alter behavior.

Trade-offs and limitations

Apache 2.0 says nothing about quality. On raw SAFIM, Qwen2.5-Coder-32B led, 72.8% to 69.8%. When both are trimmed to what an editor displays, they tie at 63.9%, a 0.07 point gap, so the raw lead is mostly about tokens the editor never shows.

Hence 1 is the stronger choice on writing surfaces and quiet behavior. It is the weaker choice if your only criterion is raw fill-in-the-middle accuracy on code.

License terms can differ between sizes of the same model family, and between versions. Read the card for the exact checkpoint you pull, not the family name.

Related: Open-source autocomplete models, Open-source GitHub Copilot alternatives, Self-hosted AI autocomplete, Run Hence 1 with vLLM, Hence 1 vs Qwen2.5-Coder, Hence 1 vs StarCoder2

Frequently asked questions

Is Hence 1 licensed for commercial use?

Yes. Hence 1 is released under Apache 2.0, which allows commercial use, modification, redistribution and self-hosting. Keep the license and the NOTICE file with any copy you redistribute, and mark the files you change.

Does Apache 2.0 settle the training data question?

No license text settles every training data question. Coline states that Hence 1 was never trained on Coline customer data, Coline's own workspace or any benchmark test split. Its training includes 2,913 human-written rows from Continue's Instinct public training split, so have counsel review that disclosure before you ship.

Which permissive autocomplete model should I pick?

Pick by the test that matches your product. Qwen2.5-Coder-32B led our raw SAFIM run, 72.8% to Hence 1's 69.8%. Hence 1 leads on writing surfaces and on quiet behavior, with a 99.2% quiet rate and a published production config. Both are Apache 2.0.