Customer support
Put tickets in the right hands.
Choose a queue, assess impact, and flag tickets for review.
“I was charged twice this month.”
Try this exampleIndependent tools & guides
Route support requests, prioritize work, and choose the next step with Cloudflare’s open-source decision models.
Customer support
Illustrative example · No live API call
You ask. Clef classifies.
Your app’s next step
Route to technical support for urgent review.Connect your help desk to put this decision into action.
01 / THE MENTAL MODEL
Some moments need a decision.
Not another paragraph.
Give Clef the context, define the questions, and get answers your application can act on. The shape of the decision is yours to set.
Your text or image context
The decisions you define
Structured, typed answers
ChoiceSelect from named options.
ScoreEvaluate against ordered levels.
NoulReturn a yes/no probability.
02 / FROM EXAMPLE TO APPLICATION
Use the support example above as your first API request. Adjust the input and questions in the playground when you’re ready.
Start with the API guidecurl "https://api.cloudflare.com/client/v4/accounts/${CLOUDFLARE_ACCOUNT_ID}/ai/run/@cf/cloudflare/clef-flash" \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
-H 'Content-Type: application/json' \
--data-binary '{"model":"clef-flash","state":"Our team cannot sign in after the latest update. All twelve users are blocked.","questions":{"queue":{"type":"choice","instructions":"Which support queue should handle this ticket?","criteria":{"technical":"Login, errors, or service failures","billing":"Invoices, payments, or subscription charges","general":"Other questions"}},"impact":{"type":"score","instructions":"Rate the reported business impact.","criteria":["Minor inconvenience","One person blocked","Team or critical work blocked"]},"review":{"type":"noul","instructions":"Does this ticket require a human support agent?","criteria":{"true":"Blocked work or unclear issue needs a person","false":"A routine answer is sufficient"}}}}'03 / KNOW YOUR OPTIONS
| Model | Context window | Input / 1M tokens | Official source |
|---|---|---|---|
| Clef FlashPLAYGROUND DEFAULT | 24,576 | $0.038 | Cloudflare ↗ |
| Clef | 65,536 | $0.24 | Cloudflare ↗ |
| Clef Omni | 64,000 | $0.15 | Cloudflare ↗ |
Verified 2026-10-12. Hosted model pricing; excludes website infrastructure.
No independent benchmark results published yet.
04 / START WITH A REAL QUESTION
A few ways to connect a model’s answer
to your application’s next action.
Customer support
Choose a queue, assess impact, and flag tickets for review.
“I was charged twice this month.”
Try this exampleAgent workflows
Choose from the tools and actions your application allows.
“Find the order before issuing a refund.”
Try this exampleContent review
Apply explicit example rules, with room for human judgment.
“Does this post need a human review?”
Try this exampleImage decisions
Explore structured questions about an image and its description.
“Is the product clear and fully in frame?”
Try this exampleClef is a family of decision models available through Cloudflare Workers AI. You provide context and typed questions, and receive structured answers that your application can use.
The workflow here focuses on decisions: yes/no probabilities, choices, and scores. You define the possible answers instead of asking for an open-ended conversation.
Send a state and typed questions to the model through Cloudflare Workers AI from your server. Our API guide walks through credentials, request structure, and reading the response.
Image workflows pair an image with text and structured questions. Try the image checklist in the playground; this site accepts one JPEG, PNG, or WebP up to 1 MiB and 4 megapixels.
Compare the documented interfaces, access options, and suitability for your own task. We do not publish invented benchmarks or claim an independent performance winner.
No. Clef Model Kit is an independent project, not affiliated with or endorsed by Cloudflare or TypeSafe AI. Official documentation is linked alongside model information.
Help us improve the toolkit
Allow Google Analytics to measure visits and tool use? Your playground content is excluded. Privacy details