Cloudflare
Cloudflare: Clef
cloudflare/clef
Clef is Cloudflare's open-source 27B multimodal decision model, a fine-tune of Qwen3.8-27B served on Workers AI. It turns a state (text or structured JSON) plus a schema of typed questions into decisions, returning a calibrated probability for every allowed option of every question in a single forward pass instead of generating tokens. Use it for classification, routing, scoring, guardrails, and agentic control flow through the Decisions API. Note: Workers AI currently truncates long text state to roughly the first 2K tokens, so content beyond that is not read; images are counted separately.
/ 1M tokens · Token reference
/ 1M tokens · Token reference
tokens
Decisions output · Token reference fields do not establish an output-unit price.
Limits
Context
65,536
tokens
Max output
14,745
22% of the context window
Parameters
27,356,728,560
Model facts
Author
Cloudflare
Tokenizer
Qwen
Modality
Text + Image -> Decisions
License
Apache-2.0
Created
Oct 1, 2026
Hugging Face
Cloudflare/clef