Cloudflare released Clef and Clef-flash, two open-source decision models that classify text and images and return answers with probabilities. Cloudflare says both run on its Workers AI platform and are also available on Hugging Face under an Apache 2.0 license, so people can run them locally.
A decision model sorts an input into set categories so software can act on the result. Cloudflare gives the example of a support message: the model returns typed answers on urgency and the right team, with probabilities. Code can then route the ticket, escalate it, or hand it to a human.
Cloudflare says Clef has a vision encoder for classifying images, while Jev, the Typesafe AI decision model it compares against, handles only text. Clef has a 64k context window, double Jev's 32k. Cloudflare says Clef leads the Jev Decision Index and is compatible with the Jev API.
Cloudflare's Threat Intelligence team tested Clef on classifying website domains. Using Browser Run, Clef fetched, rendered and classified a site in 2.2 seconds. Cloudflare says its fastest general language model, gpt-oss-120b, took 4.7 seconds and returned only two classifications. Cloudflare also introduced a reinforcement learning product that lets customers fine-tune Clef for their own use cases.
Source: Introducing Clef: our open-source decision models, and new RL fine-tuning platform | Cloudflare Blog.