Tasks and inputs
Clef is listed for Image-text-to-text, Text classification, Structured Decisions. It accepts text, image and produces text. Use the publisher’s input format and preprocessing for your chosen deployment.
Cloudflare Clef is a 27B open-weight multimodal decision model on Workers AI that returns option probabilities, at $0.24 per 1M input tokens.
The specification score summarizes recorded features and limits. It is not a benchmark result.
Pricing conditions: Workers AI: $0.24 per 1M input tokens, output not charged; images billed as 32x32-pixel blocks +3 tokens, max 1,024 tokens per image. Indicative; confirm on your Cloudflare account.
Recorded modality support shows what this model can accept and produce. An undocumented modality is shown as unknown rather than assumed to be unsupported.
Accepts
Produces
Cloudflare Clef is an open-weight decision model that speaks another vendor's API. Its request format is compatible with TypeSafe's Jev and System One schema, posted to /v1/systemone, so code written for Jev can point at Clef with little more than a URL change. Cloudflare released it on 1 October 2026 under Apache-2.0, and it runs on Workers AI.
The model has 27B parameters and is built on Qwen3.8-27B with its vision encoder. On top sits a small joint schema head that scores all options of all questions together. You send a state and a schema of typed questions; you get one probability per allowed option, from a single forward pass. There is no free-text output.
| Item | Detail |
|---|---|
| Workers AI ID | @cf/cloudflare/clef |
| Hugging Face | Cloudflare/clef |
| Questions per request | 1 to 64 |
| Question types | noul (yes/no), choice, score |
| Images | Up to 4, PNG, JPEG or WebP |
| Context | 65,536 tokens, shared with media tokens |
| Input price | $0.24 per 1M tokens |
| Output | Not charged |
Images are billed as tokens: each 32x32-pixel block counts as one, plus three marker tokens, capped at 1,024 tokens per image. A large screenshot therefore costs at most about a thousand tokens, a useful ceiling when you are budgeting vision checks.
Cloudflare reports a median of 209 ms against 524 ms for Jev. That is Cloudflare's own measurement. Fast, for 27B. Still, 209 ms is too slow to sit in front of every request, and that gap is exactly why Cloudflare also built a much smaller sibling.
Three discrepancies are worth knowing. Some catalogues give Clef a text output modality, but it actually returns probabilities over options. Cloudflare's blog says base models were frozen and low-rank adapters trained on top, while the model card describes a post-train plus the joint head. And both the card and Workers AI descriptions mention video, while the hosted API parameters document images only. If you need video, self-host and test it.
The weights are open, though Cloudflare says the training datasets are not public. Running it locally needs roughly 85 GB of GPU memory at a 64K context, and it can be served with SGLang.
Clef is the accurate one; Clef-Flash is about five times faster at the median and costs a sixth as much. The way to choose is empirical. Run your labelled set through both, compute accuracy per question type, and use Clef only for the question types where Flash falls short. Many teams will end up sending both models traffic. Other decision models are compared under structured decision models.
Compare the model on the work you need to complete.
Clef is listed for Image-text-to-text, Text classification, Structured Decisions. It accepts text, image and produces text. Use the publisher’s input format and preprocessing for your chosen deployment.
Documented limits: 65.54K context. The listed route has starting rates of $0.24 input per million tokens. Measure a completed task using the prompts, documents and tools your application will use. Include reasoning and retries in the result.
The weights are downloadable under Apache-2.0. Check runtime support and size the complete model and working context for your expected concurrency.
These records share a directory category. Check the source card, output type and deployment requirements before treating a model as a replacement.
Microsoft
Microsoft-Decision-1.1 is a decision model for routing, triage and classification, returning calibrated probabilities. GA in Foundry from November 2026.
Liquid AI
Liquid AI d1.2 is a hosted omnimodal decision model for text, image and audio questions with calibrated answers, at $0.02 per million input tokens.
Liquid AI
Liquid AI d1.2-ultra is the top hosted decision model in Liquid's line, scoring 75 on the AA Decision Index, with audio support at $0.042 per 1M input.
Gemini Decision 1 powers Google's Decisions API, returning calibrated yes/no, choice and rubric answers instead of text, at $0.10 per 1M input tokens.
subquadratic
SubQ Snap 1.2 is Subquadratic's long-context decision model on linear sparse attention, tested to 256K tokens, priced at $0.04 per 1M input tokens.
Perplexity
pplx-decider-flash-v1.3 is Perplexity's small, half-price decision model, distilled from the 27B decider, for high-volume classification and span extraction.