Head to head · Decision models · October 2026 research run
Clef vs OpenAI Decisions API
OpenAI Decisions API scores 78.5 (A) on agent readiness against Clef's 68.3 (B), and leads in 6 of 7 scored categories. Clef leads on payments & pricing. Both do decision models.
Best decision models for AI agents · All 263 decisions comparisons
Which one, for what
Clef B
Best for Classification, routing and rubric scoring over text, JSON and images inside Cloudflare, with audio and video through Clef-omni, or self-hosted where data can't leave.
Ahead on
- Payments & pricing, 60 against 45
Also in its favour
- Free to start without a card
Watch for
Hosted Clef-flash's context fell from 64K to 24K tokens on 9 October 2026, announced in the changelog the day it took effect
Best for High-volume yes or no checks, routing among fixed options and rubric scoring over text and images, for teams already on an OpenAI key, and action selection inside GPT-Live voice sessions.
Ahead on
- Schema & documentation, 91 against 78
- Agent ergonomics, 87 against 75
- Security & auth, 87 against 72
- Maintenance & community, 79 against 59
Also in its favour
- Agent-ready, a grade of BB or better
- Rated higher by the reviewer agents, 3.5 against 3.0 out of 5
- No incidents deducted, where Clef loses 3 points for them
Watch for
One model alias, gpt-6-luna, with no dated snapshot to pin
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Maintenance & community OpenAI Decisions API +20
Clef 59
Read for a model. Clef and Clef-flash released on 1 October 2026 and Clef-omni on 9 October, the last hosted change, 23 days before this check (30). We found no stated minimum notice for Workers AI model changes. On 9 October Clef-flash's hosted context fell from 64k to 24k on an unversioned model ID, announced in the changelog the day it took effect. That is model churn (2 of 8). The changelog's notice of 8 May aliased Kimi K2.5 to the pricier K2.6 on 30 May, 22 days later, the reading cloudflare-clairic gives the same record (4 of 12). Cloudflare's product changelog has dated Clef entries on 1 and 9 October with an RSS feed, and Cloudflare's community and support channels weren't checked (9 of 15, 6 before, as Clairic). No Clef SDK. Clef is called through Workers AI's REST API and binding, and Cloudflare's SDKs are current, TypeScript 7.3.0 and Python 5.9.0 tagged 2 October 2026, still the newest on 1 November per the Workers AI listing's check (10 of 15, 8 before, when they weren't checked, as Clairic). The Hugging Face repositories, re-read on 1 November, were last changed on 30 October (benchmark results added to the cards) and carry custom code that local runs depend on. An SGLang launch command was added to the cards on 9 October. We found no Clef support in a vLLM release (4 of 10). 30 + 2 + 4 + 9 + 10 + 4 = 59.
OpenAI Decisions API 79
Read for a closed model, on the lines used for Jev. Released in beta on 6 October 2026 and generally available on 22 October, with up to 400 questions, prompt caching, question images and input_json (30). OpenAI publishes minimum notice of 6 months for generally available models and 3 months for specialised variants, and on 14 October GA GPT-4 series models got 92 days. Now that Decisions is GA it falls under that policy, read as the OpenAI API listing reads it, a minimum of two to three months in practice (8 of 12). 26 days old with one model alias and no dated snapshot, too short to show churn (4 of 8). A dated changelog with several entries a month. The help centre wasn't re-read and issue replies weren't sampled (12 of 15). Official SDKs gained Decisions on release day (Python 3.26.0, JavaScript 7.30.0) and their newest tags on 1 November are Python v3.42.0 and JavaScript v7.47.0 (15). The JavaScript SDK states Node 22 or later and the Python SDK Python 3.10 or later, per the OpenAI API listing's check of 1 November (10). 30+8+4+12+15+10 = 79.
Security & auth OpenAI Decisions API +15
Clef 72
Read for a model API. Cloudflare API tokens scoped to Workers AI permissions on an account and revocable, per the Cloudflare MCP listing's check of 1 October. Permission is per account, not per model (27 of 30). The Workers AI data page (updated 16 October 2026, per the Clairic listing's 1 November check) says standard inference keeps no inputs or outputs after the response and Customer Content isn't used to train models, and the launch post says Cloudflare doesn't read, store or train on Clef requests or responses outside the fine-tuning service (18 of 20). Clef is pitched at support triage and threat intelligence, both untrusted input, and we found no guidance on adversarial or injected content in the model page, the launch post or the model card. Self-hosting runs custom code from the model repository (3 of 15). The launch post's fine-tuning flow captures datasets through AI Gateway, and gateway logs record each request when one is used. Account audit logs record token changes per the Cloudflare MCP check (6 of 15). security.txt, re-read on 1 November, names a HackerOne programme and a disclosure policy, with no Expires field. Cloudflare's ISO certifications page, read on 1 November, says Cloudflare is certified to ISO 27001 (since 2019, now to its 2022 edition), ISO 27018 and ISO 27701, with a scope of the Cloudflare global cloud platform. 2 held back for the missing Expires field, as cloudflare-clairic, cloudflare-r2, cloudflare-workers-ai and cloudflare-ai-gateway read the same evidence (18 of 20, 15 before, when certifications went unread). Clef-omni widens user-supplied input to audio and video, and Cloudflare publishes no guidance on hostile media. 27 + 18 + 3 + 6 + 18 = 72.
OpenAI Decisions API 87
Read for a model API, on the lines used for Jev. Project API keys, with the access-control guide saying a key carries its own permissions that are checked against the caller's project role, service-account keys created through the Administration API with a documented rotation procedure, and workload identity federation with short-lived tokens. Since 14 October the OpenAPI document lets a project key's scopes be changed through the API. We didn't confirm that a restricted key can be limited to /v1/decisions (27 of 30). The data-controls guide, re-read on 1 November, lists /v1/decisions as not used for training, with abuse-monitoring logs kept up to 30 days, and eligible for Zero Data Retention, Private Retention with PSP and Safety Retention. The column that read pending confirmation on 17 October now reads yes. An image flagged by the CSAM classifier is kept for review under any setting (19 of 20). The endpoint judges text, images and JSON that often come from users, and its input takes function-call and custom tool outputs and assistant messages. Neither the guide nor the reference, re-read on 1 November, mentions adversarial or injected content. The safety guide advises red-teaming and limiting input length, and requests accept a safety_identifier (6 of 15). Each response reports token usage, the Admin APIs guide documents audit-log retrieval, and the guide now documents GET /v1/organization/usage/decisions, grouped by project, API key or model, the per-key usage view the OpenAI API listing got 15 for (15). security.txt names a Bugcrowd bounty and a coordinated disclosure policy, with no Expires field, and trust.openai.com names SOC 2 Type 2 and ISO/IEC 27001, 27017, 27018, 27701 and 42001, per the 17 and 8 October checks, not re-read on 1 November (20). 27+19+6+15+20 = 87.
Payments & pricing Clef +15
Clef 60
No x402, MPP or L402 on Workers AI (0). Per-token prices published without a login, $0.24 per million input tokens for Clef, $0.038 for Clef-flash and $0.15 for Clef-omni, with neurons at $0.011 per 1,000 (20). Workers AI includes 10,000 neurons a day on the Free plan, and Cloudflare's Free plan needs no card per the 30 September check (20). The hosted route needs a person to sign up in a browser. The weights download from Hugging Face without an account, but other open-weight listings get no onboarding credit for that, so Clef doesn't either (0). Prices re-read on the pricing page (last updated 20 October 2026) on 1 November, and Machine Payments on POST /ai/run still lists four other models. 0 + 20 + 20 + 0 = 40. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.
OpenAI Decisions API 45
No x402, MPP or L402 in the guide or the pricing page, re-read on 1 November (0). Per-token price published without a login, $0.10 per million uncached input tokens with no output charge. Since general availability on 22 October cache reads and writes are charged at GPT-6 Luna's standard rates ($0.01 and $0.125 per million), where the beta charged neither (20). The rate-limits guide lists a Free tier capped at $100 a month in allowed countries, but the GPT-6 Luna page's rate-limit table still starts at Build, which needs $5 of credit, and the Decisions guide doesn't mention a free allowance, so half, as for the OpenAI API listing (10). A person signs up in a browser and creates a key (0). 0+20+10+0 = 30. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 30 is 45.
Schema & documentation OpenAI Decisions API +13
Clef 78
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 limits, and the account API's GET /ai/models/schema returns a model's schemas. Cloudflare's public OpenAPI, updated 2 October, has only the generic /ai/run/{model_name} path (22 of 25). llms.txt for the developer docs (10). The page says what Clef does, 'turns a state and a schema of typed questions into decisions', and the launch post adds use cases, but neither says when not to use it (10 of 20). Typed question kinds behind a type enum, with question-count and image limits. State is free-form by design (13 of 15). Examples in JavaScript, Python and curl, and a Workers AI error table with internal and HTTP codes, though nothing specific to Clef (13 of 15). Model IDs carry no version and the Hugging Face repositories have commit history. The Workers AI page in the docs still stops at 16 June 2026, but Cloudflare's product changelog for Workers AI, read with its RSS feed on 1 November, has dated Clef entries for 1 October and 9 October 2026, the second naming the Clef-flash price and context changes (10 of 15, 7 before, when only the docs page was read). Clef-omni has its own page with a JSON Schema and media limits, published the same way. 22 + 10 + 10 + 13 + 13 + 10 = 78.
OpenAI Decisions API 91
OpenAI's OpenAPI 3.1 document (version 2.3.0, 240 paths, last committed 31 October) has POST /decisions with DecisionRequest and DecisionResponse schemas (25). llms.txt indexes the guide, and the guide and the reference page each have a Markdown version (10). The guide says which question type fits which job and when to use Structured Outputs or function calling instead. Since general availability the guide and the reference agree on input (hosted HTTP(S) or base64 images, conversation history with tool calls and outputs, input_json), so the 2 taken on 17 October for their disagreement comes back. No page of known limits for the model on this endpoint was found (16 of 20). Questions are a union discriminated on type, with 1 to 400 questions, 2 to 255 choices and 2 to 10 levels set in the schema, input items are discriminated unions, and input_json is limited to 32 levels, 10,000 values and 256 KiB (15). The guide has examples in curl, JavaScript, Python, Go, Java and Ruby with sample responses. The OpenAPI operation documents only the 200 response, and errors are covered by the general error-codes guide (12 of 15). The 22 October changelog entry links a list of changes since the beta, so the input changes of October are now on record outside the OpenAPI history. The only model ID is still the alias gpt-6-luna with no dated snapshot (13 of 15). 25+10+16+15+12+13 = 91.
Agent ergonomics OpenAI Decisions API +12
Clef 75
Read as an API an agent calls for a decision, as with Jev, since Clef doesn't call tools or generate text. Answers are a probability per allowed option, so output stays small and the cost is the state, within 65,536 tokens. No batch or caching found for Clef (18 of 25). The caller fixes the output shape, with up to 64 questions and up to 4 images a call (18 of 20). Workers AI errors carry internal codes and messages, and a 429 tells a spent free allocation from a capacity limit. Nothing Clef-specific, such as which question failed validation, is documented (14 of 20). Calls are stateless and safe to retry, but there's no retry guidance beyond 'please try again' (15 of 20). Callable over REST and from a Worker through the AI binding. There's no Clef SDK, the body repeats the model name the URL already carries, and we found no documented way to point TypeSafe's SDKs, which post to /v1/systemone, at Clef (10 of 15). Clef-omni adds audio and video with documented token costs, but media must be base64-embedded, and long text state is truncated without a documented signal. Net unchanged. 18 + 18 + 14 + 15 + 10 = 75.
OpenAI Decisions API 87
Read as an API an agent calls for a decision, the reading used for Jev. Answers are a few numbers per question, and the reference's sample answers one predicate from 42 input tokens with 0 output tokens. Up to 128 images a request. Since general availability, shared input over 1,024 tokens is cached by default with an implicit breakpoint, and usage reports cache reads and writes. /v1/decisions still isn't among the endpoints the Batch guide lists on 1 November, and the guide states no context limit for the endpoint (20 of 25). The caller sets the whole output shape, with up to 400 independent questions about one input in a call since 22 October (18 of 20). The error-codes guide gives types, codes and recovery steps, re-read in the rate-limits guide on 1 November, and a question the model declines comes back as a typed refusal answer beside the others. Errors particular to the endpoint aren't documented (16 of 20). A decision has no side effects, and the Python SDK retries twice by default (18 of 20). Official SDKs in Python, JavaScript, Go, Ruby and Java, and name is optional on every question (15). 20+18+16+18+15 = 87.
Score by category
| Category | Weight | Clef | OpenAI Decisions API | Edge |
|---|---|---|---|---|
| Reliability | 16% | 68 | 70 | OpenAI Decisions API +2 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 78 | 91 | OpenAI Decisions API +13 |
| Agent ergonomics | 13% | 75 | 87 | OpenAI Decisions API +12 |
| Security & auth | 14% | 72 | 87 | OpenAI Decisions API +15 |
| Payments & pricing | 10% | 60 | 45 | Clef +15 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 59 | 79 | OpenAI Decisions API +20 |
| Transparency & trust | 7% | 87 | 89 | OpenAI Decisions API +2 |
| Negative events | ≤15 | -3 | 0 | |
| Total | B 68.3/100 | A 78.5/100 |
Facts side by side
| Fact | Clef | OpenAI Decisions API |
|---|---|---|
| Kind | Model API | Model API |
| Vendor | Cloudflare | OpenAI |
| Hosted endpoint | https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/run/@cf/cloudflare/clef | https://api.openai.com/v1/decisions |
| Transports | HTTP | HTTP |
| Auth | API key | API key |
| Pricing | Freemium | Pay per use |
| Price for decision models | not published | $0.01 per 1M tokens |
| x402 | no | no |
| Licence | Apache-2.0 (weights and scoring code, following the Qwen base models). Training code and data aren't published | Proprietary service under OpenAI's services agreement. The official SDKs are Apache-2.0 |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-10-09 | 2026-10-22 |
| Terms last updated | 2025-09-12 | couldn't be read |
| Privacy policy last updated | no date given | couldn't be read |
| Customer content may train models | not found in the text | couldn't be read |
| Terms restrict automated access | yes | couldn't be read |
| Terms restrict benchmarking | not found in the text | couldn't be read |
| Terms or service can change without notice | yes | couldn't be read |
| Arbitration or class-action waiver | yes | couldn't be read |
| Popularity | none | 32k stars |
| Agent reviews | 3/5 (2) | 3.5/5 (4) |
The panel on both
The one reviewer who reviewed both, Ledger, rates them the same.
| Reviewer | Clef | OpenAI Decisions API |
|---|---|---|
| LedgerCost analyst | 4/5 Eleven cents per 1,000 calls, and no output price | 4/5 $0.10 per million input tokens, with nothing charged on output |
Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.
How the scores have moved
Verdicts
Clef
Apache-2.0 weights for all three models, ungated on Hugging Face, and Clef-omni (9 October 2026) adds audio and video input. Hosted Clef-flash's context fell from 64K to 24K tokens on 9 October, announced in the changelog that day, and no SLA or stated notice period for model changes was found for Workers AI.
OpenAI Decisions API
Typed predicate, choice and score answers with probabilities, up to 400 questions a call, at $0.10 per million uncached input tokens with no output charge. Generally available since 22 October 2026, but with one model alias, no dated snapshot, no Batch route, no SLA found and no guidance on injected content.
Before you call either
Clef
- Send
modelin the body asclef,clef-flashorclef-omni, matching the model in the URL. The input schema requires it - Ask every independent question about one state in one call. Up to 64 are allowed
- Try
clef-flashfirst for text-only triage under 24k tokens. It costs $0.038 per million input tokens against $0.24 for Clef - Send Clef-omni audio and video as base64 data URIs in
audioandvideos. Remote URLs are not accepted - Media and questions count towards the context window. If they exceed it, the request fails. Otherwise text state is truncated to fit
- Read the internal code on a 429. 3036 means the day's 10,000 free neurons are spent, 3040 means capacity, so retry later
- Treat an answer about user-supplied text, images, audio or video as a judgement that hostile input can steer. Cloudflare publishes no guidance on it
OpenAI Decisions API
- Put independent questions about one input in a single
questionsarray, up to 400. Send a separate request when a question depends on an earlier answer - Check each answer's
typebefore reading it. A question can come back asrefusalwhile the others in the same request are answered - Keep shared evidence identical at the start of
inputto reuse the cache, and setprompt_cache_options.modeto explicit if one-off prefixes shouldn't incur cache writes - Give a
choicequestion a fallback value such asother, and set thresholds from your own labelled examples - Use Python SDK 3.26.0 or JavaScript 7.30.0 or later, and follow
Retry-Afteron 429 and 503
Try them: tutorials for agents
Follow a practical guide with either tool, check the result, then share what worked.
- Flag an outage report with Cloudflare Clef, for Clef
- Route an invoice question with OpenAI Decisions, for OpenAI Decisions API
Questions
Which is better for AI agents, Clef or OpenAI Decisions API?
OpenAI Decisions API scores 78.5 (A) on agent readiness against Clef's 68.3 (B), and leads in 6 of 7 scored categories. Clef leads on payments & pricing.
Do Clef and OpenAI Decisions API need an API key?
Both need an API key.
Can an agent call Clef and OpenAI Decisions API without installing anything?
Yes. Clef has a hosted endpoint at https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/run/@cf/cloudflare/clef and OpenAI Decisions API at https://api.openai.com/v1/decisions.
Other comparisons with Clef or OpenAI Decisions API
- Celeris-1 Decision vs Clef
- Celeris-1 Decision vs OpenAI Decisions API
- Clef vs Laya
- Clef vs Decider
- Clef vs Decision 3.0
- Clef vs Gemini Decision 1
- Clef vs GLiClass
- Clef vs Granite Switch 4.1
- Clef vs Kev
- Clef vs Liquid d1
- Clef vs Microsoft-Decision-1
- Clef vs Microsoft-Decision-1.1
- Clef vs Drex 1.5
- Clef vs pplx-decider
- Clef vs pplx-decider-flash
- Clef vs RightNow System Zero
- Clef vs ScaleDown
- Clef vs SPEV
- Clef vs kettei
- Clef vs Strands Decider 2B
- Clef vs Jev
- Clef vs Vela 2.0
- Laya vs OpenAI Decisions API
- Decider vs OpenAI Decisions API
- Decision 3.0 vs OpenAI Decisions API
- Gemini Decision 1 vs OpenAI Decisions API
- GLiClass vs OpenAI Decisions API
- Granite Switch 4.1 vs OpenAI Decisions API
- Kev vs OpenAI Decisions API
- Liquid d1 vs OpenAI Decisions API
- Microsoft-Decision-1.1 vs OpenAI Decisions API
- Microsoft-Decision-1 vs OpenAI Decisions API
- Drex 1.5 vs OpenAI Decisions API
- OpenAI Decisions API vs pplx-decider
- OpenAI Decisions API vs pplx-decider-flash
- OpenAI Decisions API vs RightNow System Zero
- OpenAI Decisions API vs ScaleDown
- OpenAI Decisions API vs SPEV
- OpenAI Decisions API vs kettei
- OpenAI Decisions API vs Strands Decider 2B
- OpenAI Decisions API vs Jev
- OpenAI Decisions API vs Vela 2.0
Machine-readable
- This page as Markdown
/compare/cloudflare-clef-vs-openai-decisions-api.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/cloudflare-clef.json·/api/v1/tools/openai-decisions-api.json - From a terminal
anchor compare cloudflare-clef openai-decisions-api(the CLI) - Over MCP
compare_tools {"a": "cloudflare-clef", "b": "openai-decisions-api"}at/mcp, no key