Cloudflare Launches Clef, Open-Source AI Models That Make Decisions Instead of Writing Text
Clef and Clef-flash classify an input and return a structured answer. They run on Workers AI and are published on Hugging Face under the Apache 2.0 licence.

Cloudflare introduced Clef and Clef-flash on 1 October 2026, two open-source AI models built for a narrower job than chatbots: making decisions.
Answers, not essays
Instead of generating free text, a decision model reads an input and returns a structured answer, such as a category or a yes/no verdict. That is the kind of task companies run millions of times a day, for example sorting support requests or flagging content.
The two models
- Clef can also classify images and handles up to 64,000 tokens of context. In Cloudflare's own benchmark its median response time was about 209 milliseconds.
- Clef-flash is the lighter version, with a median of about 39 milliseconds.
Both are based on open Qwen models, run on Cloudflare's Workers AI platform and are published on Hugging Face under the Apache 2.0 licence, so anyone can download and use them.
Training on your own data
Cloudflare launched the models together with a new fine-tuning platform based on reinforcement learning, offered first with help from its engineering team. The company says it does not read, store or train on customers' requests unless they choose to fine-tune a model.
Sources and references
- Cloudflare Blog – Introducing Clefblog.cloudflare.com
Share this story