Clef
An open-source decision model and reinforcement learning fine-tuning platform focused on the engineering implementation of decision optimization using a state–action–reward framework. It provides developers with customizable RL fine-tuning capabilities applicable to agents, automated workflows, recommendation systems, and scheduling scenarios.
Core Facts
Decision models with a single forward pass and a constrained output space are well-suited to the low-latency requirements of edge computing, making them appropriate for high-throughput, low-latency scenarios such as network request processing and security policy determination.
Cloudflare launched two open-weight decision models, Clef and Clef-flash, in October 2026.
Timeline (last 90 days)
The researchers also used Cloudflare's Clef, Microsoft-Decision-1 and OpenAI's GPT-6 Luna Decisions as auxiliary checks.
Cloudflare open-sourced Clef on Hugging Face, built on Alibaba's Qwen LLM.
According to Artificial Analysis's decision model index, Gemini Decision 1 performs roughly on par with Jeff and better than GPT-6 Luna Decision and Cloudflare's Clef series.
When packing multiple questions, the causal mask needs to be modified: each question can see the full context, but the questions must be isolated from one another; if question two can see the content of question one, the order of asking affects the answers and reproducibility is broken. The author points out that Cloudflare's Clef does not do this isolation, which in his view would cause output drift after reordering.
Cloudflare's Clef uses a pooled span covering the full option plus a linear head, avoiding the duplicate-first-token problem at the root.
Cloudflare launched two open-weight decision models, Clef and Clef-flash, in October 2026.
On the 112 short cases, hosted Jev and PPLX each scored 112, NeoHorse and Clef each scored 104, Flash and Omni each scored 102, Jeff 2B scored 94, Jeff 0.8B scored 77, Laya Typed scored 52, Laya scored 46, and Laya Multilingual scored 25.
Input prices for hosted decision models range from Perplexity's $0.02 per million tokens to Cloudflare Clef's $0.24, a twelvefold gap.
Cloudflare Clef, Strands Decider 2B and pplx-decider were released on the same day, October 1.
The Cloudflare Clef series is entirely open-weight: Clef is based on Qwen3.8-27B, Clef-flash is based on Qwen3.5-9B, and Clef-omni is a 30B mixture-of-experts model (with 3B active parameters).
40 more timeline events
All Facts (20)
Decision models with a single forward pass and a constrained output space are well-suited to the low-latency requirements of edge computing, making them appropriate for high-throughput, low-latency scenarios such as network request processing and security policy determination.
65%VerifiedCloudflare launched two open-weight decision models, Clef and Clef-flash, in October 2026.
65%UnverifiedOllama v0.35.1 supports Cloudflare's open-source decision models Clef and Clef Flash, invoked via the /v1/systemone interface.
70%UnverifiedClef's goal is to make structured decisions rather than generate text.
70%UnverifiedClef-flash has a median decision latency of only 38.8 milliseconds.
60%UnverifiedThe correct AI decision chain should be: risk determines requirements, requirements determine architecture—not build the system first and then supplement with governance.
60%UnverifiedWhen packing multiple questions, the causal mask needs to be modified: each question can see the full context, but the questions must be isolated from one another; if question two can see the content of question one, the order of asking affects the answers and reproducibility is broken. The author points out that Cloudflare's Clef does not do this isolation, which in his view would cause output drift after reordering.
50%UnverifiedCloudflare's Clef uses a pooled span covering the full option plus a linear head, avoiding the duplicate-first-token problem at the root.
50%UnverifiedThe Cloudflare Clef series is entirely open-weight: Clef is based on Qwen3.8-27B, Clef-flash is based on Qwen3.5-9B, and Clef-omni is a 30B mixture-of-experts model (with 3B active parameters).
50%UnverifiedClef collects the behavioral trajectories of Agents at runtime and, through repeatable before-and-after comparisons, makes behavioral drift a visible difference.
50%UnverifiedClef can be integrated alongside the existing Cloudflare Workers runtime without building a separate observability stack.
50%UnverifiedThe Clef API is compatible with Jev, and switching requires only changing the model ID.
50%UnverifiedOn the RAGTruth benchmark, Clef scores 79.4 for detecting RAG output hallucinations, while clef-omni drops to 42.0; therefore clef-omni should not be used as a cheap RAG hallucination checker, and ordinary Clef should be used instead.
50%UnverifiedIn workflow evaluations, clef-omni is lower than Clef on every row: invoice processing exact actions 60.2 versus 64.7, customer service 71.6 versus 76.3; it also trails Jev (61.8 and 76.0).
50%UnverifiedThe Clef series of decision models supports visual input and can process image data, whereas GPT's corresponding solutions do not always offer this.
50%UnverifiedBoth the Clef model and the Laya model with a Qwen3.5 backbone can be exported to GGUF format and served via llama.cpp, including multimodal decision models capable of understanding images.
50%UnverifiedClef is an open-weight model that can be called via Cloudflare Workers AI or run locally with Ollama.
50%UnverifiedIn a test on Federal Reserve interest rate questions with market prices hidden, the three models displayed distinct styles: Decisions was the most decisive and willing to contradict the market, Jev was extremely cautious and almost never wavered, and Clef reacted most dramatically and was even misled by SEO spam pages.
50%UnverifiedThis version supports exporting Clef models based on the Qwen3.5 backbone, as well as Laya models, to GGUF format.
50%UnverifiedClef has a built-in visual encoder, supports a 64K context window, and offers twice the context of comparable models.
50%