What is Clef? The Cloudflare Model that Competes with Jev
From the publisher’s feed, collected in the ZeroLabs newsroom.
Hi everyone. A support ticket arrives: “Checkout has been failing for every customer for the last hour.” Your system has to decide fast: is it urgent, is it billing or technical, who gets it.One way is to ask a chatbot for a reply and then parse the text it writes. The other is to ask a model that never writes a word and only returns numbers. Clef, which Cloudflare released on October 1, 2026, is the second kind.A note on how this article was made: I used Claude to help read the sources and draft the text. I checked the numbers against the sources linked at the end.Every number below comes from Cloudflare, the Hugging Face model card, TypeSafe or one independent test, and I say who measured what.What it isText out versus numbers out. Example values are from Classmethod’s test of Clef.A normal language model writes text one token at a time. A decision model does not write at all. You send it a state (a ticket, a web page, an agent log) and a set of typed questions, and it scores every allowed answer in a single pass.Think of a multiple-choice answer sheet with a confidence level printed next to every box.The docs define three question types:noul: yes or no, and you get the probability of yes (the odd spelling is the docs' own).choice: pick one option, and you get a probability for each option.score: ordered levels, from "no impact" to "critical", and you get a weighted score.Here is the request from Cloudflare’s docs for the ticket above (abridged):curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run/@cf/cloudflare/clef \ -H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \ -d '{"model": "clef", "state": "Checkout has been failing for every customer for the last hour.", "questions": {"urgent": {"type": "noul", "instructions": "Is this support request urgent?"}}}'Classmethod’s write-up shows this request returning 0.9917 for urgent, with 154 input tokens and 0 output tokens. There is nothing to parse, so your code can simply branch on the number.The familyThere are three models:Clef (27B, post-trained from Qwen3.8–27B) is the precise one. It costs $0.24 per million input tokens and reads text plus up to four images.Clef-flash (9B, from Qwen3.5–9B) is the fast one. It has cost $0.038 since October 9, down from $0.09.Clef-omni (a 30B mixture-of-experts with 3B active) was added the same day. It also takes audio and video and costs $0.15.The pricing page lists only an input price, because there is no output to bill. Clef’s weights are on Hugging Face under Apache 2.0.How it compares with JevThe biggest difference is the weights. Clef’s are public under Apache 2.0 and Jev’s are not. That makes Clef open weights, not open source, since the model card says nothing about the training data or the recipe.Clef also reads images, while Jev, according to Cloudflare, is text-only. The API is meant to be a drop-in: Cloudflare calls Clef fully compatible with Jev. Classmethod found one catch, though. Over REST, Clef wraps the answers in a result field, so code written for Jev needs a small change.Then there is price. Jev costs $0.042 per million input tokens with free output (TypeSafe’s own figure). Next to that, Clef is about 5.7 times more expensive and Clef-flash is a little cheaper.Price per million input tokens. Sources: Cloudflare Workers AI pricing (Oct 15, 2026) and TypeSafe (Jev).What the benchmarks sayCloudflare ran its benchmarks itself, on a set called the Jev Decision Index, and published the tables on the model card. It says Clef leads the index. A few of the rows, Clef against Jev:Clef is ahead on BANKING77 (banking intents), 94.2 vs 79.7, and on BFCL (function calling), 98.5 vs 95.8.Jev is ahead on GPQA Diamond, 78.3 vs 48.0, on MMLU-Pro, 82.7 vs 65.9, and on When2Call, 81.0 vs 72.4.On four workflow evals from the Typesafe Evals suite (the card does not say who ran them), Clef leads on invoice processing (64.7 vs 61.8) and security incidents (62.9 vs 61.7), is level on customer service (76.3 vs 76.0) and trails on agent-trace observability (68.5 vs 71.6).The card gives no confidence intervals, so I would not call a gap of one or two points a win.The big gaps on the knowledge tests, GPQA and MMLU-Pro, point the other way: a decision model is not a general reasoner. If your question needs hard reasoning, test before you switch.SpeedCloudflare’s own runs give a median latency of 209 ms for Clef, 39 ms for Clef-flash and 524 ms for Jev.The one independent test I found, by Classmethod, made five calls of one scenario with three questions and got the opposite order: Jev 0.238 s, Clef-flash 0.294 s, Clef 0.478 s. The author says the sample is too small to conclude anything, and it ran before Clef got faster on October 9.I would not trust either set on its own. One is Cloudflare’s run, the other is five calls from one person’s machine. Measure from your own region.What changed on October 9Some early coverage, including the Classmethod and DevelopersDigest pieces I read, quotes the old numbers. Here is what moved:Clef-flash went from $0.09 to $0.038 per million input tokens, which puts it under Jev’s $0.042.Its hosted context window shrank from 64K to 24K tokens. Cloudflare says only 0.24% of requests were longer, and the open weights still go up to 256K.Clef got up to 2x faster with the same weights. For inputs of about 800 tokens the median went from 262 ms to 152 ms, partly thanks to a move to SGLang.Clef-omni arrived, with audio and video input.A quick calculation with list prices (my arithmetic): one million decisions with a 2,000-token state cost $480 on Clef, $76 on Clef-flash and $84 on Jev. Before October 9, Clef-flash would have cost $180.Who it fitsA decision model works when the answer comes from a fixed list and you can check it afterwards. Typical jobs:Routing and triage of tickets, emails and alerts.Guards, the “smart if-statements” that decide whether a request is safe or needs a human.Classification at a volume where a full LLM would be slow and expensive.Anything with images (Clef) or audio and video (Clef-omni) in the loop.It is the wrong tool for chat, for writing text or code, and for open-ended reasoning. One more caution: the output is always a valid answer, but a valid answer can still be the wrong one.Final thoughtsBy list price and Cloudflare’s own numbers, Clef-flash is the easiest one to try first: it is now cheaper than Jev, and its median is 39 ms. How it holds up on real tickets is still an open question.What the sources support is narrower. Clef returns probabilities, not text, so it belongs in routing, triage and guards, not in chat. The benchmarks are Cloudflare’s own and the picture is mixed. Before you switch anything, check it on your own data.Have you tried a decision model in a real workflow yet?If you enjoyed this article, I’d be grateful for your supportI’m a Product Manager with an engineering background (ex SWE), focused on building, scaling and growing products. I’m especially interested in new technologies, particularly AI/ML, and how they can be applied in real workflows.Email: akzhankalimatov@gmail.com✅ Connect with me on LinkedIn, X (Twitter)✅ Press and hold the 👏 to give up to 50 claps for this articleSources:Cloudflare: Introducing ClefCloudflare changelog, 2026–10–01: Clef on Workers AICloudflare changelog, 2026–10–09: Clef-omni, cheaper Clef-flash, faster ClefWorkers AI pricingClef model card on Hugging FaceTypeSafe: Introducing System One models and JevClassmethod: What is Cloudflare’s Clef? A summary of the differences with JevDevelopersDigest: Cloudflare Clef decision models, benchmarked and pricedWhat is Clef? The Cloudflare Model that Competes with Jev was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.