Technology Trends

Cloudflare Clef Explained: Open-Weights "Decision Models" That Pick Instead of Write

Cloudflare's Clef does not write text. You give it a situation and a list of options, and it returns how likely each one is. Here is why that is useful for routing, triage and approvals in AI workflows.

6 min read
October 6, 2026
Watercolor illustration of a crossroads signpost with arrows pointing to different department doors

Published October 6, 2026. Sources: Cloudflare, Developers Digest.

What is Cloudflare Clef?

Clef is an open-weights "decision model" from Cloudflare, released October 1, 2026. Instead of generating text token by token, it takes a situation and a list of multiple-choice options and returns a probability for each. That makes it fast and predictable for the small decisions inside AI workflows: where to route a request, whether to continue, whether a human should check.

  • Two sizes: Clef (27B, post-trained from Qwen3.8-27B, multimodal) and Clef-flash (9B, from Qwen3.5-9B).
  • License: Apache 2.0, weights on Hugging Face.
  • Hosted: on Cloudflare Workers AI.
  • Speed: Clef-flash median response of about 39 ms, per reports.

The Reddit thread: r/LocalLLaMA: “Clef — Open-weights decision model by Cloudflare” (about 300 upvotes and 80 comments).

Clef at a glance

ClefClef-flash
Size27B parameters9B parameters
Base modelQwen3.8-27BQwen3.5-9B
InputText and imagesText
Workers AI input price$0.24 per million tokens$0.09 per million tokens
LicenseApache 2.0

Prices as reported at launch; check Cloudflare for current rates.

Decision model vs a normal LLM

Chat LLMDecision model
OutputFree textA probability for each option you list
ParsingYou must parse the answer, which can go wrongAlways one of your options
ConfidenceHard to readBuilt in: 0.92 vs 0.51 tells you when to ask a person
Speed and costSlower, pays for output tokensFast, almost no output
Good forWriting, reasoning, draftingRouting, classification, yes/no gates

The Reddit discussion welcomed it because so much of agent building is the boring glue: is this an invoice or a complaint? Is the draft safe to send? A model that answers only those questions, with a confidence score, removes a lot of fragile prompt parsing.

Where decision models fit in a workflow

  • Routing: which team, queue or agent should take this?
  • Triage: urgent, normal or spam?
  • Gates: is this draft ready to send, or does a person review it?
  • Tool choice: which tool should an agent call next?

Example: customer support triage

  1. A customer email arrives.
  2. The decision model picks a category: order status, return, billing, complaint, other.
  3. If confidence is high and the category is low-risk, a drafting model writes a reply from your policies.
  4. If confidence is low, or the category is a complaint or refund, the message goes to a person.

The confidence score is the useful part: it gives you a dial for how much you let AI handle alone.

Where Dooza fits

Dooza AI customer support works this way: AI classifies and drafts, low-confidence and sensitive messages go to a person, and refunds and complaints come to you for one-tap approval.

Dooza is an AI-native company that builds AI products and services for small businesses, from the Dooza Workforce app to the Dooza Agents platform. A Dooza engineer scopes your pilot on a free 30-minute call, and every product starts with a refundable pilot: 100% refund within 14 days. Book a free pilot call or see pricing.

Frequently Asked Questions

What is Cloudflare Clef?

An open-weights decision model released by Cloudflare on October 1, 2026. It returns probabilities for a predefined list of options instead of generating text. It comes in a 27B version and a 9B Clef-flash version.

What is a decision model in AI?

A model that, given a situation and a list of options, scores how likely each option is correct. It is used for routing, classification and yes/no checks in AI workflows.

Is Clef open source?

The weights are released under the Apache 2.0 license on Hugging Face, and both models are also hosted on Cloudflare Workers AI.

When should I use a decision model instead of an LLM?

When the answer must be one of a fixed set of choices and you want speed, low cost and a confidence score, for example routing tickets or deciding if a human should review.

Ready to Start Your Pilot?

Automate your business with AI employees that work 24/7. Start with a refundable pilot: 100% refund within 14 days.

Related Articles

Is Your AI Chat Private? What the Claude Diary Arrest Means for You and Your Business
Technology Trends

Is Your AI Chat Private? What the Claude Diary Arrest Means for You and Your Business

A Florida woman treated Claude like a private diary. A threat she wrote was flagged, reviewed by people at Anthropic and sent to police. Here is what AI chats are and are not, and the policy every business using AI should write this week.

7 min read
Read
PewDiePie, Ajax and the OpenAI Bans: What AI Distillation Is and Why It Gets You Banned
Technology Trends

PewDiePie, Ajax and the OpenAI Bans: What AI Distillation Is and Why It Gets You Banned

PewDiePie says OpenAI banned him twice while he trained Ajax, a 9B local model, on outputs from OpenAI models. Here is what distillation means, why AI labs ban it, and the platform risk lesson for businesses.

7 min read
Read

Ready to scale your business?

Start with a refundable pilot — 100% refund within 14 days. A Dooza engineer scopes it with you on a free 30-minute call. Pricing depends on the product; see pricing.

Refundable pilot · 100% refund within 14 days · No contracts