Model comparison
Clef vs Clef-flash
Provider-published facts for Clef and Clef-flash, side by side: price, limits, inputs, access and data policy. No mystery scores and no invented benchmark rankings.
Model comparison
Provider-published facts for Clef and Clef-flash, side by side: price, limits, inputs, access and data policy. No mystery scores and no invented benchmark rankings.
Quick take
Cloudflare's larger decision model for classifying information and choosing an action without generating a chat response.
This is not a chatbot and does not explain its decisions in prose. Test probability thresholds on your own examples. Hosted requests can truncate long state, and self-hosted limits depend on configuration.
A smaller Cloudflare decision model for frequent routing and classification tasks, with a lower input-token price than Clef.
This is not a chatbot and does not explain its decisions in prose. Test probability thresholds on your own examples. Hosted requests can truncate long state, and self-hosted limits depend on configuration.
Compare the published facts
Values use each provider's own published units and limits. A blank means the provider did not publish a directly comparable value in the sources reviewed.
| AI decision models | Clef | Clef-flash |
|---|---|---|
| Input priceCurrent provider price for the text or structured state submitted to the model, including whether decision outputs are billed. | $0.24 / 1M input tokens | $0.038 / 1M input tokens |
| Input capacityMaximum documented state and question capacity for one request. | 65,536 tokens; up to 64 questions per request | 24,576 tokens on Workers AI; up to 64 questions per request |
| Decision typesThe bounded question forms the model can answer, such as choices, scores, or probabilities. | Choice, Score, and Noul probability questions | Choice, Score, and Noul probability questions |
| Output contractHow the response is constrained for direct use by application code. | Typed JSON decisions defined before inference | Typed JSON decisions defined before inference |
| UncertaintyWhether the endpoint exposes probabilities, confidence, or another calibrated signal. | Probability distributions; Choice and Score also include confidence | Probability distributions; Choice and Score also include confidence |
| Where to use itCurrent API, SDK, playground, and access-stage information. | Workers AI API and self-hosted weights | Workers AI API and self-hosted weights |
How to choose
Start with the job you need to complete, then validate cost, access, and policy details on your exact provider route.
Cloudflare says Workers AI customer content is not used for training or service improvement without explicit consent. Connected storage services can retain content. Self-hosted deployments follow your own storage and access controls.
Provider and API links
Cloudflare says Workers AI customer content is not used for training or service improvement without explicit consent. Connected storage services can retain content. Self-hosted deployments follow your own storage and access controls.
Provider and API links
Frequently asked questions
Clef: Cloudflare's larger decision model for classifying information and choosing an action without generating a chat response. Clef-flash: A smaller Cloudflare decision model for frequent routing and classification tasks, with a lower input-token price than Clef.
Best fit for Clef: Image-assisted document checks. Best fit for Clef-flash: High-volume structured decisions. Test both with your own data and provider route before committing.
From each provider's own documentation, pricing and policy pages for the AI decision models category. Cody does not add its own benchmark scores or name a universal winner.