# Cloudflare's Clef decision models beat Jev on accuracy and latency, now open source

Original title: Clef: our open-source decision models

> Hacker News story 49923692 · language: en · submitted 2026-10-01
> Web version: https://zeli.app/story/49923692
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 618 · by [jasondavies](<https://news.ycombinator.com/user?id=jasondavies>) · 💬 215
[original](<https://blog.cloudflare.com/clef-decision-models/>) · [HN discussion](<https://news.ycombinator.com/item?id=49923692>)

## Summary

Cloudflare released Clef and Clef-flash, two decision models that produce typed probabilistic outputs for agentic workflows. Clef leads the Jev Decision Index and is 2x faster than gpt-oss-120b in a threat intelligence test. The models are open-sourced under Apache 2.0 on Hugging Face and hosted on Workers AI. Cloudflare also launched an RL fine-tuning service to adapt Clef to specific use cases.

## Key quote

> In music theory, a clef is a symbol placed at the beginning of a musical staff that assigns specific pitch names to the lines and spaces. A decision model is analogous to a music clef because it helps define the domain of the context and the subsequent notes (actions) that follow it.

## HN discussion (215 comments)

### [manlymuppet](<https://news.ycombinator.com/item?id=49924445>)

> Am I hearing this right, that they made a decision model based on Typesafe's new paradigm, and actually made a model better than Jev based on Typesafe's own ranking?
>
> And it's only been a few weeks.

### [vulture916](<https://news.ycombinator.com/item?id=49926385>)

> Jev = $0.042/m input, output free
>
> Clef = $0.24/m input, no output price listed
>
> At 300 tokens per call, you'd get:
>
> One million decisions on Jev cost about $12.60.
>
> One million decisions on Clef cost about $72.
>
> Would probably make sense to self-host Clef, if you have the capability/resources. If not...

### [buildbuildbuild](<https://news.ycombinator.com/item?id=49924502>)

> Open weights, not open source.
>
> The weights have permissive licensing, but the data and training pipeline are not published to reproduce them from their proprietary Qwen starting points. Weights are not "source."

### [ssiddharth](<https://news.ycombinator.com/item?id=49924252>)

> Pricing is $0.24/million input tokens which is ~6x compared to Jev. Clef-flash is at $0.09 which is way more competitive.

### [meander_water](<https://news.ycombinator.com/item?id=49927461>)

> \> This contrasts with the world of Large Language Models (LLMs), which are largely non-deterministic, but are open-ended enough to reason...
>
> This seems misleading. Decision models do not produce deterministic output. Repeated calls can product different decisions just like an LLM with structured outputs.

### [bityard](<https://news.ycombinator.com/item?id=49924307>)

> Clef is based on Qwen3.8-27B and Clef-flash is based on Qwen3.8-9B (edit: actually Qwen3.5-9B). So, similar in spirit to Kev by my understanding, but based on a newer model.

### [mrkn1](<https://news.ycombinator.com/item?id=49925183>)

> For smaller scale decision model that runs on CPU, check https://news.ycombinator.com/item?id=49923223

### [amluto](<https://news.ycombinator.com/item?id=49925842>)

> I’ll go out on a limb and suggest that I don’t think a Jev-like model is particularly useful unless you can fine tune it.  The Jev API has zero ability to pass in a prior [0], and, if you can neither pass in a prior nor fine tune for your system, you will get an output that may be almost meaningless.
>
> I’d love to see someone build a model of this sort that can actually accept priors and do something intelligent with them.
>
> [0] You can feed Jev a prior as text. I’ve tried it.  It works poorly.

---

## Cite

- Page: https://zeli.app/story/49923692
- Date: 2026-10-01
- Source: blog.cloudflare.com (https://blog.cloudflare.com/clef-decision-models/)
- Hacker News: https://news.ycombinator.com/item?id=49923692

## Other languages

- zh: https://zeli.app/zh/story/49923692 · markdown: https://zeli.app/zh/story/49923692.md
- ja: https://zeli.app/ja/story/49923692 · markdown: https://zeli.app/ja/story/49923692.md
- ko: https://zeli.app/ko/story/49923692 · markdown: https://zeli.app/ko/story/49923692.md
- de: https://zeli.app/de/story/49923692 · markdown: https://zeli.app/de/story/49923692.md
- es: https://zeli.app/es/story/49923692 · markdown: https://zeli.app/es/story/49923692.md
- ru: https://zeli.app/ru/story/49923692 · markdown: https://zeli.app/ru/story/49923692.md
