- Input
- $0.24
- Output
- $0.00
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...
Read full description
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.
Model overview
Cloudflare: Clef is a decision model from cloudflare. Listed capabilities include image input and open weights. The listed context window is 65,537 tokens.
Provider options and prices
Current standard quotes use 1M tokens. 2 listed provider options. Provider details and conditions →
- DeepInfra ↗$0.24 input · $0.00 output / 1M tokens · USDCurrent standard quote
- OpenRouter ↗$0.192 input · $0.00 output / 1M tokens · USDCurrent standard quote
Benchmark coverage
No published model benchmark result is linked to this exact identity in the catalog.
Model brief
AI summary with sourcesChecked
Per its Hugging Face card, Clef is a 27B multimodal model that turns a state and typed questions into decisions. [1]
It returns a probability for each allowed option of every question in one forward pass, not generated text. [1]
Good uses
Documented caveats
- The release card reports testing with torch 2.11 and transformers 5.10.2 on a single H200 only; other setups are not documented here. [1]
- It returns no free-form text, so it cannot draft or summarize content; use it for decisions. [1]
- The license is Apache-2.0, following the base model Qwen/Qwen3.8-27B. [1]
How to try it
- The card loads the release locally with load_release_model after downloading the repo, using a CUDA device. [1]
- The card says Clef can be served with SGLang, with launch commands for H200, B200 and B300 in the SGLang cookbook. [1]
- Through OpenRouter, call the decisions endpoint with model cloudflare/clef and typed questions, then read the answers. [2]
We have not found enough specific first-hand reports for this model yet.
Sources and dates2
Benchmark results
No published results in this index yet
Scores appear here when an evaluation matches this exact model.
Prices across providers
Your token mix
USD · listed token rates- Input
- $0.192
- Output
- $0.00
Model specifications
- Developer
- cloudflare
- Modality
- Decision
- Context
- 65,537 tokens
- Maximum output
- 58,983 tokens
- Weights
- Open weights
- Provider listed
- Oct 1, 2026
- First discovered
- Oct 16, 2026
Exact identities
- deepinfra
Cloudflare/clef - openrouter
cloudflare/clef
Sources
Updated Dec 4, 2026
More from cloudflare
View all ↗Cloudflare: Clairic
Clairic is Cloudflare's System One-style extraction model served on Workers AI. Given a text state and optional images plus a schema of typed fields, it extracts, computes, estimates, and forecasts...
Cloudflare: Clef Omni
Scores typed questions over images, audio and video in one pass; can hear video soundtracks while inspecting sampled frames.
Cloudflare: Clef Flash
Small decision model for routing and scoring; the Workers AI route currently reads only roughly the first 2K text-state tokens.