Overview / Description
Clef is an AI developer tool from Cloudflare — a 27B multimodal decision model, available on Workers AI, that turns a state and a schema of typed questions into decisions rather than free-form text. You give it inputs as text, JSON, images, or video, and it returns a probability distribution across every allowed option, which makes outputs easy to act on programmatically. The schema supports three question types: binary, multiple-choice, and scaled scoring, so one call can answer a yes/no, pick from a list, and rate on a scale. It is vision-capable, accepting up to 4 images per request, and has a 65,536-token context window, enough to pass substantial state in one shot. Typical uses are support-ticket routing, content moderation, and situation scoring at scale, where you want a reliable, interpretable choice instead of generated prose. Because it runs on Cloudflare Workers AI, you call it as a hosted endpoint rather than managing GPUs yourself. For BestAIFor readers building classification and routing pipelines, Clef is a purpose-built alternative to prompting a chat model for every decision. Pricing on Workers AI is $0.24 per million input tokens.
Used For
Routing support tickets, moderating content, and scoring records by returning structured probabilities over a defined schema.
Pricing
Pros & Cons
Pros
- Returns probabilities across every allowed option instead of free-form text
- Three question types in one schema: binary, multiple-choice, and scaled scoring
- Vision-capable — accepts up to 4 images per request
- 65,536-token context window for passing substantial state
- Hosted on Cloudflare Workers AI, so no GPU management
Cons
- A decision/classification model, not a general-purpose chatbot or content generator
- Running on Workers AI ties you to Cloudflare's platform and token-based billing
- Designing the typed-question schema takes upfront work versus a quick prompt
Questions & Answers
Alternatives
Open-source Clef weights on Hugging Face, Qwen classification models, OpenAI function/structured-output calls
Reviews & Ratings
0 reviews
Sign in to rate and review Clef.
Sign in to reviewNo reviews yet. Be the first to review Clef!