Loading the catalogue…
Loading the catalogue…
Cloudflare's open-weight edge decision model: schema-bound, calibrated probabilities over text and image input, built for fast classification rather than chat.
Overview. Clef-flash is an open-weight decision model from Cloudflare, post-trained from a Qwen3.5 9B backbone. Rather than generating free-form text, it returns calibrated probabilities over a fixed set of allowed options for a given schema, making it a purpose-built classifier rather than a general chat model. Developers who need a fast, schema-bound decision step — not a conversational response — are the intended audience.
Key strengths. The model pairs its backbone with a joint schema transformer head that constrains every answer to the options defined by the caller's schema, giving it reliable structured output and JSON-mode behavior by design. It accepts text, JSON, images and video frames as input, so it can make decisions that depend on visual context as well as text. Cloudflare describes training it with label-smoothed cross-entropy, Brier loss and reinforcement learning aimed at calibration, which points to probability outputs that are tuned to reflect real confidence rather than raw logits.
When to use it. Reach for Clef-flash when you need a simple, well-scoped decision — classification, routing, moderation-style option selection — made quickly at the edge, especially when the input includes an image alongside text or structured data. It is a good fit for simple, bounded-complexity workloads where a known set of outcomes is defined in advance. It is not the right choice for open-ended generation, multi-step reasoning, or conversational use cases, since it does not produce free-form text or visible reasoning traces.
Limitations. Clef-flash does not support tool calling, streaming, or extended thinking, and it has no published maximum for output tokens because it does not generate text token-by-token. Context window figures vary by source: Cloudflare's launch material advertises 64K tokens, but the current Workers AI endpoint documentation caps it at 24,576 tokens, so treat the smaller figure as the practical limit when deploying there. No training-data cutoff date has been published.
| Inference Provider | Sovereignty | Runs in | Price | Status | Pin |
|---|---|---|---|---|---|
| L3 | €0.15 per 1M input tokensFree per 1M output tokens | Online | |||
| L1 | €0.04 per 1M input tokensFree per 1M output tokens | Online | |||
| L1 | €0.04 per 1M input tokensFree per 1M output tokens | Online | |||
| L0 | €0.04 per 1M input tokensFree per 1M output tokens | Online |
6 use cases classified by the curator. The note says why.
Built as a schema-bound decision model with calibrated probabilities over text and image input, which suits sorting items into a fixed set of classes. The short description says it is designed for fast classification rather than chat.
Calibrated probability output is the core design, so it fits putting a probability on fraud, churn or default risk. No published benchmark validates calibration accuracy yet, so this rests on architecture rather than measured results.
Schema-bound classification with calibrated class probabilities maps directly onto routing each request to one of a fixed set of teams. Vision input adds coverage for image-attached requests.
Calibrated text classification can flag policy-breaking content, and the image input extends coverage to visual material. No moderation benchmark is published, so precision and recall against a given policy need local validation.
A yes/no output with a probability fits eligibility answers that carry a confidence. Rule-following accuracy against stated criteria is unbenchmarked, so the fit depends on pilot testing.
Schema-bound output can emit labels from a defined taxonomy, and the 24,576-token usable context covers typical item sizes. There is no published multi-label benchmark, so fit is inferred from the design.
Sourced numbers, not our own evaluations. Percentiles are against the decision models on Stav.
No benchmark source yet
curl https://api.stav.ai/v1/decisions \
-H "Authorization: Bearer $STAV_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "cloudflare/clef-flash",
"state": {"tool": "delete_file", "path": "/etc/passwd"},
"questions": {"safe": {"type": "noul", "instructions": "Is this tool call safe to run?"}}}'→ X-Stav-Request-Id · X-Stav-Model · X-Stav-Provider → X-Stav-Sovereignty-Level — the rung the request was served at