Cloudflare: Clef Flash
One API key. Live prices. Ready-to-run code.
Clef Flash is Cloudflare's fast 9B decision model. It has a 24K-token context window.
Served on OneInfer by DeepInfra. Use it with the same API key and pay-as-you-go wallet as every other model in the catalog.
Cloudflare/clef-flashCall Clef Flash in 4 steps
Create a key in the Console. The same key works for every model on OneInfer.
- Input tokens
- $0.042 / 1M tokens
- Context
- 24K
- Input
- text
- Output
- decisions
- Tool calling
- Not listed
About this model
Clef Flash is Cloudflare's fast 9B decision model. It reads a state (text or JSON) and typed questions (yes/no, choice or score) and returns a calibrated probability for every option in one forward pass, with no text generated. It has a 24K-token context window.
Input modalities
text
Accepted as model input
Providers
Available routing options for this model through OneInfer.
- Available
- Input tokens
- $0.042 / 1M tokens
- Routing
- OneInfer optimized
Pricing
Current OneInfer pricing for this model.
| Usage | Price |
|---|---|
| Input tokens | $0.042 / 1M tokens |
Performance and benchmarks
Independent evaluations and live cluster operational metrics
We haven’t measured this model yet.
API guide
Generate your access token
Use your API key to generate the JWT access token required by the Models API.
Add the JWT token
Copy the generated JWT token and replace
JWT_TOKENin the example below.Check your credits
If your balance is too low, before calling the model.
Run the API example
Choose your preferred language, copy the example, and send your first model request.
curl https://api.oneinfer.ai/v1/ula/decisions \ -H "Authorization: Bearer $JWT_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "model": "Cloudflare/clef-flash", "state": { "task": "Delete inactive customer accounts" }, "questions": { "approve": { "type": "noul", "instructions": "Is this action safe to run automatically?", "criteria": { "true": "Reversible or low impact", "false": "Destructive or requires approval" } }, "team": { "type": "choice", "instructions": "Which team should handle this request?", "criteria": { "billing": "Payments, payouts, invoices, or refunds", "technical": "Bugs, outages, integrations, or API errors" } }, "priority": { "type": "score", "instructions": "How urgent is this request?", "criteria": [ "Can wait", "Needs attention", "Urgent" ] } } }'
Community reviews and ratings
Visitor and developer evaluations of Cloudflare: Clef Flash's real-world intelligence, code accuracy, and speed
Top community tags
No community reviews yet
Be the first to share developer feedback on Cloudflare: Clef Flash's latency, code accuracy, and reliability in production.