Cloudflare Clef is a decision model offered by Cloudflare, a model that returns a probability for each of a predefined set of answers. Given an input, questions, and a list of allowed answers, it outputs only the probabilities for those answers rather than generating text. A lighter variant, Clef-flash, is also offered.
It is used where fast, low-cost judgments are needed, such as routing, classification, and guardrails for AI agents, while thresholds and branching logic are left to the calling application code. It belongs to the same category of products as TypeSafe AI's Jev and OpenAI's Decisions API.