Skip to content

How we check our drafts with AI decision models

Preetham ReddyUpdated 8 min readVoices

We were choosing a cheaper model for our blog's fact-check, so we planted 15 wrong figures in eight of our own published posts. Claude Haiku 4.5 caught only 5 of them. On 22 October we tried Microsoft-Decision-1 on the same posts. It caught 14 of the 15 at about 2% of what our large model cost for the same check, though it couldn't say what was wrong with any of them. It's one of a new kind of AI model, a decision model, that answers a fixed question with a probability instead of writing prose, and we picked it over Haiku.

Any business can make the same trade if it has a judgment call it makes thousands of times a day: whether a support ticket is urgent, whether an insurance claim needs a person, whether a loan file is complete. Handed to a chat model, each call is slow and costly, and it answers in prose somebody still has to parse. A decision model answers in well under a second, for a fraction of a cent, so a team can check every ticket or every document and decide for itself where a person steps in.

In our fact-check the two models now split the work. Decision-1 answers one yes or no question per claim. Only the claims it doubts go on to Sonnet 5.5, the large model, with the passages they came from, because Sonnet can say what is wrong with a figure and Decision-1 can't. The version we shipped on 22 October caught all 15 wrong figures and all 8 invented results, at less than half the cost per post of Sonnet alone. Four decision models, Decision-1, Jev, Clef and Kev, now accept almost the same request shape, so switching vendors means changing the endpoint. Choosing between them comes down to price, speed, where the model runs and what it can read.

The figure that nearly got through

One figure took a second try. A changed sentence said a service ran in "one of the 43 regions", where the post said 25, and no cited page states that count as a number, because the page lists the regions by name. Sonnet caught it reading the whole page. Reading only the passages beside the doubted claims, it missed it about half the time, because 15,000 characters of passages cut the list short. At 25,000 the list fits, and that's the budget we shipped. A count that a page implies by listing things is the first kind of figure we'd test any cheaper fact-check on.

The screen fails toward Sonnet, never toward a pass. If the OpenRouter key is missing, the model is unreachable or a claim comes back unanswered, every claim goes to Sonnet with every page whole, the way the fact-check ran before. That costs money on a bad day, and a screen that failed toward a pass would publish a wrong number instead.

How our panel reads a draft

Decision-1 was already on a panel of three decision models, with Cloudflare's Clef and TypeSafe AI's Jev, that has read every draft our content agent writes since 12 October. We haven't run Kev, the open-weight family, so the Kev numbers we quote are its project's own.

Clef answers on Cloudflare Workers AI, and Jev and Microsoft-Decision-1 answer through OpenRouter. All three get the same questions, worded the way Google words its guidance on helpful content. If they judge that a draft only summarises its sources, or Microsoft-Decision-1 judges it to be scaled content, we hold it back and never publish it.

We set the thresholds on 12 October against posts we'd already judged. The good set was 15 posts our engineers wrote or asked for themselves. The bad set was 22 retellings we'd told Google to drop. No single model separated them cleanly. On the question of whether a post only summarises its sources, at a threshold that passed every good post, Clef caught 77% of the retellings and Jev caught 91%. The three together caught all but one of the 22. The panel works the way we'd build any of the AI workflows we ship for clients, with a threshold on each call and a stop when one fails. It sits beside the originality floors and fact-check we built against Google's spam policies, and our MCP server runs the same three-model gate on our engineers' own drafts.

no

yes

Draft, with the same questions in Google's words

Clef on Workers AI

Jev through OpenRouter

Microsoft's model through OpenRouter

Any blocking question failed?

Draft goes on toward publishing

Draft held back, never published

Every draft goes to all three models with the same questions, and it goes on toward publishing only when no model fails a blocking question.

What a decision model returns

Every one of these models takes a state and a map of named questions. There are three question types, and you can mix them in one call. A noul question returns a calibrated 0 to 1 probability that a statement is true. choice picks one option from a labelled map, with a probability for every option, and score places the state on an ordered scale and returns a probability-weighted value. TypeSafe's docs call the three primitives, and we think that's right. Each question should be the kind of judgment a knowledgeable person makes in a couple of seconds. Anything broader gets broken into several questions and recombined in your own code.

Cloudflare's model page shows the shape with this Workers AI call for Clef:

curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run/@cf/cloudflare/clef \
  -X POST \
  -H "Authorization: Bearer $CLOUDFLARE_AUTH_TOKEN" \
  -d '{
    "model": "clef",
    "state": "Checkout has been failing for every customer for the last hour.",
    "questions": {
      "urgent": { "type": "noul", "instructions": "Is this support request urgent?" },
      "team": {
        "type": "choice",
        "instructions": "Which team should handle this request?",
        "criteria": {
          "billing": "Payments, invoices, and refunds",
          "technical": "Outages, errors, and configuration",
          "sales": "Plans and upgrades"
        }
      },
      "severity": {
        "type": "score",
        "instructions": "How severe is the customer impact?",
        "criteria": ["No impact", "Minor", "Major", "Critical"]
      }
    }
  }'

Swap the host and the auth header and the same body runs against Jev or against a local Kev server. Microsoft's docs describe the same pattern, a state and typed questions, for Microsoft-Decision-1. That portability is the most useful thing about the whole category, and it shapes how we build. Put the question definitions in one module and keep the transport behind an interface. Pin a model version too, or your thresholds will shift under you when an alias moves.

Price, context and where the weights live

Microsoft-Decision-1 became available in Microsoft Foundry and on OpenRouter on 9 October 2026, post-trained from Qwen3.5-9B. Cloudflare released Clef and Clef-flash on Workers AI, fully Jev-API compatible, with the weights open-sourced on Hugging Face under an Apache 2.0 licence. Jev, from TypeSafe AI, wrote the contract everyone else copied. Kev is a family of open-weight models, from 0.8B to 27B, that serves the same System One API from hardware you run yourself.

Microsoft-Decision-1 and Jev land on the same headline number. TypeSafe lists Jev 1.13 at $42 per billion input tokens, which is $0.042 per million, and output is free. The state plus all questions gets a 64k budget, and the state plus the single longest question gets 32k. The rate limits are 100K tokens per second and 80 requests per second, and the docs say they can change without notice. Microsoft matches the input price and the free output, and its context is 32,768 tokens.

Clef costs more and does more. Workers AI lists it at $0.24 per million input tokens with a 65,536 token window and vision input. One request can carry up to four embedded PNG, JPEG or WebP images and between 1 and 64 questions. Images are billed as tokens, one per 32 by 32 pixel block, capped at 1,024 tokens each. That's roughly six times Jev's text price, and for that you can send a scanned document or a rendered page with the same typed questions instead of running OCR first.

Kev is the option nobody with a compliance constraint should skip. It comes in four sizes under Apache 2.0 and runs on anything from a 4 GB GPU to an 80 GB one, with Apple Silicon support through MLX. The Kev project's own measurements on held-out datasets put Kev-27B at 52.3 on the community Decision Index against Jev's 54.0, and its accuracy on new sources at 0.851 against Jev's 0.857. The README says plainly that Jev's training data is unknown, so it isn't a controlled comparison. Still, you can fine-tune open weights on your own labelled history, and weights within a couple of points of the hosted leader are a real option for anyone who can't send the state outside their network.

Latency decides where the model sits

Cloudflare's published run puts Clef's median latency at 209.3 ms with a p95 of 238.6 ms, Clef-flash at 38.8 ms median and 122.4 ms p95, and Jev at 524.1 ms median and 536.0 ms p95. Microsoft says Microsoft-Decision-1 had the highest accuracy in its 36-benchmark comparison, which covered nearly 150,000 questions. It also says the model was the fastest it measured, 2.5 times quicker than H2O-Lightning-4B v1.1, the accuracy runner-up, and 35 times quicker than GPT-6 Sol. OpenRouter lists its median on Azure at 0.21 s.

Every one of those numbers comes from the vendor that wins it. Read them as a rough ordering of magnitude instead of a ranking. The small models take tens of milliseconds, the large ones hundreds, and an LLM doing the same job takes seconds. Cloudflare's domain classification example is the useful one, because it's end to end. Fetching, rendering and classifying a website took Clef 2.2 s against 4.7 s for gpt-oss-120b, and the LLM returned only two classifications.

A model in the tens of milliseconds can sit in the hot path of a request. A model at half a second cannot sit in a per-keystroke path, though it is fine per ticket, per document or per agent step. We decide which of those we're building before we compare accuracy tables.

Which one fits which job

Support and email triage. Route a ticket to a team, score its urgency, and gate escalation with a noul question, all in one round trip. Cloudflare reports Clef at 94.20 macro-F1 on BANKING77 against Jev's 79.74, and 97.43 on CLINC150+OOS against 89.27, which are the two benchmarks closest to intent classification on a fixed taxonomy. On TypeSafe's own customer service workflow eval Clef, Clef-flash and Jev are within a point of each other, at 76.3, 77.0 and 76.0. If you're already on Azure, Microsoft-Decision-1 is the path of least resistance. It has the lower price and Entra ID auth, and in selected regions a DataZoneStandard deployment keeps inference processing inside a data zone. Microsoft's how-to guide walks the ticket classifier end to end.

Agent guardrails. Gate a proposed tool call before it runs. A noul question on "does this touch production data" or "does this reply promise a refund" is cheap enough to run on every step, and the probability gives you a threshold instead of a coin flip. Clef-flash earns its place here. At a 38.8 ms median you can put a check in front of each action without anyone noticing. Jev leads Clef on When2Call accuracy, 80.97 against 72.37, so test the specific judgment you are gating on instead of assuming the general ranking holds. We'd put a check like this in front of every write-back an AI agent makes.

Documents and invoices. Clef and Clef-flash are the only models here that read images natively, up to four per request on either (Clef-flash); Jev, Kev and Microsoft-Decision-1 take text. On TypeSafe's invoice processing workflow Cloudflare reports Clef at 64.7 exact actions against Jev's 61.8 and Clef-flash's 57.1. That workflow scores structured invoice fields, though, so it says nothing about reading a scan, and the choice between Clef and Clef-flash for images is one to test on your own documents. For an accounts payable flow where the input is a scan, paying $0.24 per million tokens to skip a separate extraction step is usually the cheaper architecture overall.

Model routing. Use a small decision model to decide whether a prompt needs a frontier model at all, then send the simple ones to a cheap tier. The decision costs a fraction of a cent and the saving is the difference between model tiers. We wrote about the same arithmetic from the other direction in GPT-6: choosing Astra, Sol or Luna.

Underwriting and scored queues. Score questions are built for ordered judgments, and Microsoft's docs are honest about their limits. Treat a score as relative ordering for ranking and thresholds, and validate it on your own labelled examples before you trust it as an absolute rating. We'd hold a score to the same rule in any lending workflow we build.

Fifty labelled examples before choosing a model

Take fifty examples you already have labels for, write the questions as atomically as you can, and run the same payload against two of these models before you commit to either. The API compatibility makes that a morning's work, and it will tell you more than any vendor's benchmark table. Then pick on the constraint that won't move. Azure governance and price point to Microsoft-Decision-1, images point to Clef or Clef-flash, edge latency to Clef-flash, and weights that cannot leave your network point to Kev.

For the same questions placed in a lending workflow, decision models in auto refinance walks through where each one sits in an underwriting flow, and how we split Clef, Clef-flash and Clef-omni shows a cheap model screening in front of a stronger one on our own pipeline.

Frequently asked questions

What is an AI decision model?

An AI decision model takes a state and a set of typed questions and returns a calibrated probability for each allowed answer, without generating text. Jev, Clef, Kev and Microsoft-Decision-1 all expose yes/no, multiple choice and ordered score questions through one endpoint, so application code branches on a number instead of parsing prose.

How did we set the panel's thresholds without failing good posts?

We put each threshold just past the weakest score in the known-good set, so every post a person had approved still passes. A question only blocks a draft where that threshold also catches at least 30% of the known-bad set; elsewhere the model's answer goes into the review email as information. Measured on 12 October, the good and bad sets overlapped on every question for every model, so a threshold halfway between them would have failed posts we wanted.

Can decision models read images?

Clef and Clef-flash read images natively, up to four embedded PNG, JPEG or WebP images per request, billed as input tokens. Neither takes video. Audio and video go to Clef-omni, the only one of Cloudflare's three whose API has audio and videos fields. Jev is text only and its docs say to pre-process images, audio and video into text or structured fields before sending them as state, and Microsoft-Decision-1 accepts text or JSON.

Do I have to rewrite my code to switch decision models?

No, because Clef and Kev both implement TypeSafe's System One request and response shape, so the same state and questions payload moves between them with a change of endpoint and key. Pin a specific model version in production, since an alias such as jev-latest moves when a new release ships and your confidence thresholds were tuned against the old weights.

Where we do this work