Clef
Cloudflare's open decision models: typed choices, scores and yes/no answers with probabilities, hosted or self-run.
Clef is a family of open-weight decision models from Cloudflare. Given a state (text, JSON, images or video) and typed questions, they return a probability for every allowed option instead of generated text. Clef is 27B and Clef-flash 9B, both Qwen fine-tunes; Clef-Omni is a 30B mixture-of-experts model (3B active) that also reads audio. All accept TypeSafe Jev's request format.
Weights are on Hugging Face under Apache-2.0. On Workers AI, input costs $0.24 per 1M tokens for Clef, $0.15 for Clef-Omni and $0.038 for Clef-flash, with output free (October 2026).
Pricing: Free (open weights); usage-based on Workers AI
Choosing a decision model right now?
One click, anonymous. Helps us know our visitors.
Thanks, that helps.
Choosing a decision model right now?
One click, anonymous. Helps us know our visitors.
Thanks, that helps.
Clef Alternatives
Explore 150 products in the Inference APIs category. View all Clef alternatives.
Kev
Open decision models from 0.8B to 27B, built on Qwen and compatible with TypeSafe's Jev API.
Laya
Open-source multilingual decision model: typed choices, scores and yes/no answers in one forward pass.
Decision Models
Hosted open decision models behind a Jev-compatible API, with an EU-only tier and a lower-cost Peer-to-Peer tier
Work on Clef? Feature it at the top of Inference APIs.
Is your product missing?