Typesafe's Jev API gains an open-weight rival in Cloudflare's Clef decision models
Cloudflare released two Jev-API-compatible decision models, Clef and Clef-flash, on Workers AI and as Apache 2.0 weights on Hugging Face. Typed classification steps in agent code can now move between providers or onto owned hardware, as long as they stay inside the text-only, 32k-context features Jev supports.
The Engineer · Build desk

What happened
- In a Cloudflare domain-classification test, Clef took 2.2 seconds to fetch, render and classify a site, while gpt-oss-120b took 4.7 seconds and returned two labels.
- On Typesafe's own eval suite, run by Cloudflare, Clef beat Jev in three of four areas, according to Cloudflare.
- Cloudflare also launched a reinforcement-learning product that lets customers fine-tune Clef for their own use cases.
Why it matters
- What's now possible capability Decision steps coded to Jev's API can switch between Typesafe and Workers AI without changes to the code that consumes the typed answers.
- What it limits constraint Any step that sends images or more than 32k of context can fall back only to Clef, hosted or self-run, and has no fallback at Typesafe.
- What it costs cost Running the Apache 2.0 weights locally puts the serving layer, including matching Jev's request and response shapes, on the team that runs them.
- Who has to decide decision Teams already on Jev have to time Clef against Jev on their own inputs before switching, because the published timing compares Clef with a general LLM.
Next story · Build · Oct 9
Cloudflare's Clef-omni scores audio and video against a decision schema in one callConfirmed2 publishers
A decision call takes an input and a question, for example whether a support message is urgent and which team should handle it [12]. It returns typed answers with probabilities, and the calling code uses them to route the ticket, escalate it, or defer to a human [12]. Cloudflare says the model handles new categories without retraining [5]. Its case for the category is consistency. It describes LLMs as largely non-deterministic [15] and decision models as producing bounded structured outputs cheaply, quickly and consistently [4].
The probabilities are per label. In the Threat Intelligence team's domain test, Clef scored one site at 95% fashion, 85% ecommerce and under 1% phishing [13]. The first two sum to 180%, so the labels are scored independently [19]. Routing code that keeps only the top score would drop the ecommerce label. It needs a threshold for each label.
Cloudflare built Clef and Clef-flash to the interface of a rival's product, Typesafe AI's Jev [1][7]. In my view this is the most useful engineering choice in the release, because the typed answer is what downstream code depends on. Cloudflare states the Jev compatibility for its hosted models on Workers AI [7]. The same weights are on Hugging Face under Apache 2.0 [2].
Compatibility stops at Jev's feature set. Jev classifies text only, within a 32k window [6][8]. Clef's image input and 64k window have no Jev equivalent. I'd write decision steps against the subset both models share and mark image and long-context calls as Clef-only in the code.
Cloudflare says Clef currently leads the Jev Decision Index [3]. The evaluations in that table are ones Cloudflare shortlisted as important for decision-making, and Cloudflare scored the competing models itself [9]. The more useful result is on Typesafe's own eval suite: Cloudflare ran it and says Clef beat Jev in three of four areas [10]. A rival's test suite leaves less room to pick favourable ground. Both sets of scores come from Cloudflare's runs [9][10].
The 2.2-second timing covers a whole workflow. It includes fetching and rendering the page through Browser Run as well as classifying it [13][14]. gpt-oss-120b, Cloudflare's fastest general LLM, took 4.7 seconds in the same workflow and returned only two classifications [14]. The LLM took about 2.1 times as long, a gap of 2.5 seconds [17][18]. Cloudflare wrote that this is "a 2x savings in latency and results" [16], counting the extra labels as a second kind of saving. If fetch and render took the same time in both runs, the whole 2.5 seconds is model time, and the model-only ratio is larger than 2.1x [20]. For the figure to transfer, a team's inputs would need to be rendered web pages and its current baseline would need to be a general LLM.
What to watch
- Whether Clef models tuned with Cloudflare's new RL product can be exported as weights or stay on Workers AI.
- Whether Typesafe adds image input or a context window beyond 32k to Jev, widening the subset a fallback can cover.
- Independent runs of the Jev Decision Index or Typesafe's suite that reproduce or contradict Cloudflare's scores.
Clarity's read
What the record supports and how the coverage leans. The claims behind it follow.
Reality
- Evidence55
- Adoption18
- Hype gap+30
- Incentives75
- Confidence60
Perspective Coverage
4 publishers- Builder
- Builder 53%
- Operator
- Operator 30%
- Investor
- Investor 17%
Claim ledger
Ranked by verification strength, evidence, and original report placement.
- [1]
Cloudflare released two Cloudflare-trained decision models, Clef and Clef-flash, hosted on Workers AI.
- [2]
Cloudflare is fully open-sourcing the Clef models on Hugging Face under an Apache 2.0 license for users to run locally.
- [3]
Cloudflare says Clef is currently the leader when evaluated against the Jev Decision Index.
- [4]
Cloudflare describes decision models such as Typesafe AI's Jev System One as producing bounded structured outputs cheaply, quickly and consistently, for use in a workflow when a decision is required.
- [5]
Cloudflare says decision models can work over any set of inputs without constantly retraining the model to incorporate new classification categories.
- [6]
Clef has a vision encoder and can classify images; Jev only does text classification today.
- [7]
Cloudflare says the Clef models are fully Jev-API compatible, so users can experiment with the hosted models easily.
- [8]
Clef has a 64k context window, compared with Jev's 32k.
- [9]
Cloudflare shortlisted evaluations it considers important for decision-making as defined by the Jev Decision Index and scored popular models on the market against them.
- [10]
Cloudflare ran benchmarks across Typesafe's own eval suite and says its Clef models beat Jev in 3 out of 4 areas.
- [11]
Cloudflare debuted a reinforcement learning (RL) product that allows customers to fine-tune Clef to suit their use cases.
- [12]
A decision model takes inputs such as a customer support message and a question such as whether it is urgent and which team should handle it, and returns typed answers with probabilities that code can use to route the ticket, trigger an escalation, or defer to a human.
- [13]
Cloudflare's Threat Intelligence team tested Clef with Browser Run to classify website domains; for example it might classify a domain with a 95% chance it is a fashion website, 85% ecommerce, and under 1% phishing.
- [14]
Clef took 2.2s to fetch, render and classify the website; gpt-oss-120b, Cloudflare's fastest general LLM, took 4.7s in the same workflow and returned only two classifications.
- [15]
Cloudflare describes LLMs as largely non-deterministic but open-ended enough to reason and generate text and tool calls for agentic workloads.
- [16]
a 2x savings in latency and results
- [17]
gpt-oss-120b took about 2.1 times as long as Clef in Cloudflare's domain-classification workflow.
- [18]
The latency gap between gpt-oss-120b and Clef in that workflow was 2.5 seconds.
- [19]
The fashion and ecommerce probabilities sum to 180%, more than 100%, so the labels are scored independently and are not mutually exclusive shares.
- [20]
If fetch and render took the same time f in both runs, the model-only latency ratio is larger than the 2.14x workflow ratio.
Sources
4 independent publishers whose own reporting we read for this story.
- blog.cloudflare.comIntroducing Clef: our open-source decision models, and new RL fine-tuning platform
2 articles · October 1, 2026
- dev.toDecision Models Belong on the Agent Hot Path: What Cloudflare Clef Changes
3 articles · October 2, 2026
- Introducing Clef: Cloudflare's first open-source decision models, now on Workers AI · Changelog
developers.cloudflare.com
1 article · September 30, 2026
- the-decoder.comCloudflare says its new Clef model means humans no longer need to be in the loop for AI agents
2 articles · October 2, 2026