About this model
Clef is Cloudflare's open-weight "decision model": instead of generating prose, it takes a state plus a schema of typed questions and returns a probability for every allowed option of every question. Cloudflare frames this as infrastructure for agents — your code receives typed answers with probabilities and can route a ticket, escalate, or defer to a human without a text-parsing step in between. The model is a 27B multimodal system that accepts the state as text, JSON, images, or video.
The direct same-family predecessor is Jev, Cloudflare's earlier decision model. Cloudflare describes two concrete generational changes: Clef adds a vision encoder, so it can classify visual content, whereas Jev handles text classification only; and Clef's context window is 64k tokens versus Jev's 32k, letting callers pack more state into a single decision. Note that this catalog entry records a 32,768-token window, which may reflect a specific endpoint's limit rather than the model card figure.
Architecturally, Clef and the smaller Clef-flash derive schema choices directly from internal backbone representations rather than emitting intermediate text, using a two-stage attention routing process in which each valid choice extracts prompt-relevant context and fields cross-attend to one another and back to the payload before scoring. Cloudflare publishes internal results on its Decision Index suite and on Typesafe Evals business workflows alongside latency measurements on the model card. A wider-input sibling, Clef-omni, extends the same formulation to audio on a mixture-of-experts backbone.
This About section is AI-generated from public sources (Claude Opus 5), with no human editing. It may contain inaccuracies — verify critical details against the sources listed above.
Data sources: Venice API · HuggingFace · Wikipedia — enrichment updated 1h ago