Models Model details

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.

Input
$0.042

/ 1M tokens · Token reference

Output
$0

/ 1M tokens · Token reference

Context window
65.54K

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

Publication status

Hugging Face: verifiedLicense: publishedParameter count: published

Modalities

Input · TextInput · ImageOutput · Decisions