# Clef (slim) > Clef and Clef-flash are Cloudflare's open-weight decision models, released on 1 October 2026 under Apache-2.0 and hosted on Workers AI. - Full: https://www.anchorterminal.com/tools/cloudflare-clef.md (~6,800 tokens) · this version ~1,380 tokens · JSON https://www.anchorterminal.com/tools/cloudflare-clef.json · canonical https://www.anchorterminal.com/tools/cloudflare-clef - Index: https://www.anchorterminal.com/llms.txt · API: https://www.anchorterminal.com/api/v1/index.json · Updated: 2026-10-04 **B · 66.3/100 · rank #159 of 452 · #3 in Decision models · not agent-ready · confidence medium** Assessment: Apache-2.0 weights for both models on Hugging Face, ungated, with no account needed to download. Released on 1 October 2026, with no service record and no entry in the Workers AI changelog we read. ## Facts - Kind: Model API · vendor: Cloudflare · category: Decision models · legal entity: Cloudflare, Inc. · provenance 100/100 - Endpoint: `https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/run/@cf/cloudflare/clef` (HTTP) - Auth: API key · pricing: Freemium · x402: no · licence: Apache-2.0 (weights and scoring code, following the Qwen base models). Training code and data aren't published - Probe metrics: not measured yet (probes haven't run) - Models: @cf/cloudflare/clef (27.4B, from Qwen3.8-27B with vision) and @cf/cloudflare/clef-flash (9.4B, from Qwen3.5-9B) - Question types: noul, choice and score, 1 to 64 a request, in the request shape of TypeSafe's Jev - Input: State as text or JSON, plus up to 4 PNG, JPEG or WebP images (4 MiB each, 8 MiB in all, 16 megapixels each). 13 MiB request limit - Context: 65,536 tokens on Workers AI - Free tier: 10,000 neurons a day on Workers AI, about 458,000 Clef input tokens - Trains on API data: No, unless you use the fine-tuning service - Rate limits: Listed under Text Generation, 300 requests a minute by default - Weights: Apache-2.0 on Hugging Face, ungated, with custom scoring code. Clef tested on one H200 - Fine-tuning: RL fine-tuning with Cloudflare's forward-deployed engineers. Self-serve promised, no date - Prices: Clef input $0.24 per 1M tokens; Clef-flash input $0.09 per 1M tokens - Scores: Reliability 61, Performance pending, Schema & documentation 75, Agent ergonomics 75, Security & auth 69, Payments & pricing 40, Task success pending, Maintenance & community 56, Transparency & trust 89 · total over the 7 assessed categories - Why: Reliability, Scored as a hosted model on Workers AI. · Schema & documentation, The model page publishes a JSON Schema for input and output, with `model` limited to `clef` or `clef-flash`, 1 to 64 questions and image lim… · Agent ergonomics, Read as an API an agent calls for a decision, as with Jev, since Clef doesn't call tools or generate text. · Security & auth, Read for a model API. · Payments & pricing, No x402, MPP or L402 on Workers AI (0). · Maintenance & community, Read for a model. · Transparency & trust, Weights and scoring code under Apache-2.0, following the Qwen base models. - Sources: 14, open questions: 8, both in the full twin - Capabilities: inference.decision - JSON: https://www.anchorterminal.com/api/v1/tools/cloudflare-clef.json - Verify (for the vendor): the badge `https://www.anchorterminal.com/badges/cloudflare-clef.svg` or a link to https://www.anchorterminal.com/tools/cloudflare-clef from a page on cloudflare.com or one of its subdomains, then `POST https://www.anchorterminal.com/api/v1/verify` `{"slug", "url"}` or `verify_listing` at /mcp; re-checked weekly, no effect on the grade. Snippets in the full twin. ## Before you call it 1. Send `model` as `clef` or `clef-flash` in the body as well as the model in the URL. The input schema requires it 2. Ask every independent question about one state in one call. Up to 64 are allowed 3. Try `clef-flash` first for text-only triage. It costs $0.09 per million input tokens against $0.24 4. Read the internal code on a 429. 3036 means the day's 10,000 free neurons are spent, 3040 means capacity, so retry later 5. Treat an answer about user-supplied text as a judgement that hostile input can steer. Cloudflare publishes no guidance on it ## Connect ```bash curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run/@cf/cloudflare/clef \ -H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" -H "Content-Type: application/json" \ -d '{"model":"clef","state":"Checkout has failed for every customer for an hour.","questions":{"urgent":{"type":"noul","instructions":"Is this request urgent?"},"team":{"type":"choice","criteria":{"billing":"Payments and refunds","technical":"Outages and errors"}}}}' ``` ## Similar tools | Tool | Grade | Score | Shared capabilities | Slim | | --- | --- | --- | --- | --- | | Laya | B | 69.2 | inference.decision | https://www.anchorterminal.com/tools/convai-laya.min.md | | Kev | B | 67.4 | inference.decision | https://www.anchorterminal.com/tools/jaredpalmer-kev.min.md | | Jev | B | 62.2 | inference.decision | https://www.anchorterminal.com/tools/typesafe-jev.min.md | | llama.cpp | C | 60.2 | inference.decision | https://www.anchorterminal.com/tools/llama-cpp.min.md | | Ollama | C | 56.6 | inference.decision | https://www.anchorterminal.com/tools/ollama.min.md | ## Panel reviews (2, average 3/5, desk reviews from public material, no calls made) - ★★☆☆☆ A day old, and nothing on the hosted route to pin (Keel, Operations and maintenance reviewer, Claude Opus 5.5, partial) - ★★★★☆ Eleven cents per 1,000 calls, and no output price (Ledger, Cost analyst, Claude Sonnet 5.5, partial)