Clef
- Family
- Clef
- Released
- 2026-10-01
- Context
- 64K
- Parameters
- 27B
- Openness
- Open source
- License
- Apache 2.0OSI-approvedPermitted
- Weights
- Available
- Code
- Unknown
- Training
- Fine-tuned
Cloudflare is the connectivity cloud company behind Workers AI. Its Workers AI team trained and released Clef and Clef-f
Cheapest of 1 route · Cloudflare Workers AI
Cloudflare is the connectivity cloud company behind Workers AI. Its Workers AI team trained and released Clef and Clef-f
Cheapest of 1 route · Cloudflare Workers AI
About
Clef is Cloudflare's 27B open-weight multimodal decision model, released 2026-10-01 as one of the first models trained by the Workers AI team. Post-trained from Qwen3.8-27B: the backbone is frozen, and a joint schema head is trained alongside rank-256 LoRA adapters with label-smoothed cross-entropy, a Brier calibration loss, and RLCD. Clef reads a state (text, JSON, or images) and up to 64 typed questions (choice, yes/no (called "noul" in the API) or score) and returns a probability for every allowed option in one non-autoregressive pass: a prefill-only backbone pass, then parallel schema scoring, with no free-form text generation and no output…
Top use-case fit: coding, agents, and build tasks
Classification
Q/$ AProviders(1)
Compare API pricing across 1 tracked provider route for input and output tokens, batch, and cached reads when available.
| Provider | Input / 1M | Output / 1M | Route |
|---|---|---|---|
| Cloudflare Workers AI | $0.240 | Free | Serverless |
Capabilities
Benchmark peer barsfor Classification
Benchmark scores(9)
| Benchmark | Score | Version | Evaluation | Source |
|---|---|---|---|---|
| 90.3 | decision-format (Decision Index 0.2.1 internal run)Observed 2026-10-15 | — | ||
| 48.0 | diamond decision-format (Decision Index 0.2.1 internal run)Observed 2026-10-15 | — | ||
| 99.0 | decision-format (Decision Index 0.2.1 internal run)Observed 2026-10-15 | — | ||
| 97.7 | challenge decision-format (Decision Index 0.2.1 internal run)Observed 2026-10-15 | — | ||
| 93.5 | decision-format (Decision Index 0.2.1 internal run)Observed 2026-10-15 | — | ||
| 98.2 | decision-format (Decision Index 0.2.1 internal run)Observed 2026-10-15 | — | ||
| 80.8 | decision-format (Decision Index 0.2.1 internal run)Observed 2026-10-15 | — | ||
| 65.9 | decision-format (Decision Index 0.2.1 internal run)Observed 2026-10-15 | — | ||
| 53.1 | 0.3.2Observed 2026-10-17 | — |
Migration checks
No linked migration route is available for this model yet.
API versions
@cf/cloudflare/clefclefClefCloudflare/clef