Categories

AI

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.

A wall of colourful lava lamps in Cloudflare’s office lobby
Image credit: HaeB / Wikimedia Commons, CC BY-SA 4.0
The lava-lamp wall in Cloudflare’s San Francisco office.

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

  1. Cloudflare Blog – Introducing Clefblog.cloudflare.com

Share this story

All AI

Choose which cookies Clore may use. You can change this at any time from the footer.

Necessary

Remember your theme and cookie choices, and keep editors signed in. These cannot be switched off.

Always active

Analytics

Help us understand which stories are read so we can improve coverage.

Marketing

Allow advertising partners to show more relevant ads.