Cloudflare launches two open AI models built to make fast decisions
Cloudflare has released Clef and Clef-flash, two open models that give short, structured answers with probabilities instead of free-form text. According to Cloudflare, they are faster than rival Jev, but the figures are the company's own.

Cloudflare has released two new AI models, Clef and Clef-flash. They are what the company calls decision models, and they can be run on Cloudflare's Workers AI platform. The models are open source under the Apache 2.0 license and can be downloaded from Hugging Face and run locally.
Answers with probabilities
A decision model does not produce a long text, but a bounded, structured answer with probabilities. One example from Cloudflare is a support request: The model can assess whether it is urgent and which team should handle it. The program's code can then forward the case, escalate it or hand it over to a human.
Cloudflare contrasts this with large language models, which are largely non-deterministic, meaning they can give different answers each time. On the other hand, they are open-ended enough to reason and to write text and tool calls.
Size and features
Clef has 27 billion parameters, while Clef-flash has 9 billion. Parameters are the adjustable numbers that make up a model's knowledge. According to Cloudflare's blog, Clef-flash is built on Qwen3.5-9B, and both are trained with low-rank adapters of rank 256. For Clef, the blog mentions the designation Qwen 3.8-27B, but the exact base model is unclear.
Both models have a context window of 64,000 tokens, compared with 32,000 for rival Jev from Typesafe AI. Clef can also classify images, up to four alongside the input, while Jev only classifies text, according to Cloudflare. Clef is fully compatible with Jev's API, so it is easy to try out the hosted models.
Cloudflare's own figures
According to Cloudflare, the median time across 43 benchmarks is 209.3 milliseconds for Clef, 38.8 for Clef-flash and 524.1 for Jev. Cloudflare calls Clef-flash 13 times faster than Jev. The company also says Clef leads on the Jev Decision Index and on 7 of 10 decision benchmarks.
On the BFCL test, Clef scores 98.47, Clef-flash 98.76 and Jev 95.75. On API-Bank, the figures are 91.93, 93.11 and 88.19. All figures are Cloudflare's own and have not been independently verified.
In the company's threat intelligence team, Clef classified a website in 2.2 seconds, including retrieval and rendering. The result was several categories with probabilities, for example 95 percent fashion and under 1 percent phishing. The gpt-oss-120b model took 4.7 seconds and gave only two classifications.
Fine-tuning on the way
Cloudflare is also launching a reinforcement learning product so customers can fine-tune Clef for their own purposes. It starts with hands-on help from Cloudflare's forward-deployed engineers. Later, the plan is to build a self-serve platform. According to Cloudflare, decision models mean a human does not necessarily need to be in the loop when AI agents make choices. Pricing is not given in the sources.
Updated 14 October 2026: The article has been rewritten from additional sources.
Read also


