Cloudflare · Model guide
Clef Flash
The smaller, faster variant of Cloudflare's Clef decision model. Same typed questions and probabilities, called through /v1/systemone or /v1/decisions. Accepts text and images. Keep inputs under about 24K tokens: in our tests anything beyond that was cut from the end without an error, so evidence placed there was not read.
Returns probabilities, not text. Call it through /v1/decisions or /v1/systemone.
What this model is good at
What the vendor positions it for, and which of our models to reach for instead.
Short and mid-length decisions at volume · A small model for inputs that fit in about 24K tokens.
- cloudflare/cleflonger context —Use Clef when the input may exceed about 24K tokens.
Pricing and billing
Billed on input tokens only. There is no output or cache price.
| Input size | Input / 1M tokens |
|---|---|
| Any size | $ 0.038 |
The whole input counts, including question text and option descriptions. Output tokens, where the upstream reports them, are not charged.
What it answers
A decision model takes one shared input and a set of typed questions, and returns a probability for each.
- Context window
- 24.6K tokens
- Max output
- —
- Input / output modalities
- Text + Image → Decision
- Question types
- Yes / no · Single choice · Graded score
- Output
- Probabilities per question — no generated text
- Streaming
- Not applicable — one response per call
- Image input
- Supported
- Endpoints
- /v1/decisions · /v1/systemone
Frequently asked questions
What is Clef Flash?
How much does Clef Flash cost?
What kinds of questions can Clef Flash answer?
Which endpoint do I call?
Can I try it without writing code?
Try it on your own input
Fill in an input and a few questions in the Playground and see the probabilities, then wire it in.