Field Notes
A small, source-linked blog

2026-10-01 · AI-assisted

Cloudflare Releases Clef: Open-Source Decision Models and RL Platform

Cloudflare announced Clef and Clef-flash, open-source decision models hosted on Workers AI and Hugging Face designed for low-latency agent routing and classification workflows.

According to the Cloudflare Blog, Cloudflare released two open-source decision models: Clef and Clef-flash. Both models are hosted on Workers AI and available on Hugging Face under an Apache 2.0 license.

What Changed

Cloudflare introduced decision models that produce bounded, structured outputs rather than generating open-ended text. The source reports that Clef uses a frozen Qwen3.8-27B backbone, while Clef-flash uses a Qwen3.5-9B backbone. Both models incorporate a vision encoder for visual content classification and support a 64k context window.

How It Works

The models use a non-autoregressive decision step instead of generating tokens sequentially. According to the source, the architecture combines a frozen Qwen backbone with a jointly optimized routing head and rank-256 low-rank adapters.

The models accept structured state inputs and typed questions—such as choices, scores, or null types—to output probabilities for each category. Evaluated benchmarks in the source report median latencies of 209.3 ms for Clef and 38.8 ms for Clef-flash. Cloudflare also introduced a reinforcement learning (RL) and fine-tuning service utilizing Cloudflare AI Gateway, Workers AI, and Cloudflare Containers.

Why Developers Might Care

Limitations

Sources