4Geeks chosen to deliver AI education in the Bahamas alongside Harvard, Oxford, and Columbia.See more
19 min read

AI Decision Model: What It Is and When Agents Should Use One

An AI decision model returns typed probabilities, not text. Compare OpenAI, Microsoft, Cloudflare Clef, Liquid d1.2 and Strands, and when to use each.

An AI decision model is a model that answers a fixed set of typed questions with probabilities your code can act on. Unlike an LLM asked to "act as a classifier," it doesn't write free text you then parse. You now have five families to compare: Cloudflare's Clef models (Clef, Clef-flash and Clef-omni, hosted on Workers AI), Strands Decider 2B (small, open source, runs locally), OpenAI's Decisions API (hosted, closed, now generally available), Microsoft-Decision-1 (hosted on Microsoft Foundry and OpenRouter) and Liquid AI's d1.2 and d1.2-ultra (hosted on the Liquid API, released November 16, 2026). This page explains when an agent should use one, and which one fits your situation.

Last verified: November 20, 2026 for the Cloudflare models and prices, the OpenAI Decisions API, Microsoft-Decision-1's price and context, Liquid d1.2 and the Artificial Analysis scores. The Strands details come from its October 1, 2026 announcement, which I re-read on November 20 with no changes. Microsoft's benchmark claims come from its launch post of October 9, which I did not re-read in this update. Clef specs come from Cloudflare's launch blog, its October 9 changelog and the Clef, Clef-flash and Clef-omni model pages. OpenAI details and pricing come from the Decisions API guide. Microsoft's price and context come from the OpenRouter model page. Liquid details come from its d1.2 announcement, the d1.2 docs and its pricing page. Independent scores come from the Artificial Analysis Decision Index. Every latency, speed and accuracy figure labeled as a vendor's is vendor published, and we didn't rerun anyone's benchmarks. If a comparison is more than about 90 days old, distrust the vendor tables.


What kinds of models sit in an agent loop?

CategoryWhat it returnsBest for
Chat or reasoning LLMFree text, plans, tool call proseOpen ended work: write, explain, invent steps
Classic classifierLabels you trained forStable taxonomies you retrain when labels change
AI decision modelTyped answers with probabilities over options you defineHot path choices: route, escalate, pick a tool, score severity

Most agent demos put an LLM in every slot. That works for demos. It gets expensive and flaky when the job is "is this urgent, and which team owns it?" on every ticket.


Decision model vs LLM as classifier

An AI decision model takes a state (text, JSON, sometimes images) plus a schema of questions. Each question is typed. The vendors use slightly different names, but the shape is the same: a yes or no question (Cloudflare and Strands call it noul, OpenAI calls it predicate), a pick one question (choice), and an ordered score (score). The model returns a probability for every allowed answer. Your code branches on those numbers. There's no prose to scrape and no reasoning tokens to wait on for the decision itself.

An LLM forced to act as a classifier is different. You prompt it to output JSON labels. You still get free generation underneath. Formats drift. Confidence is mostly theater unless you calibrate it yourself. Latency and cost scale with how much text it writes before the label.

Decision rules:

Pick thisWhen
Decision modelThe answers are a closed set you already know; you need probabilities for thresholds; the call sits on the hot path (routing, urgency, tool choice, guardrails)
LLMThe next step needs new text, multistep reasoning, or a tool plan you can't schema in advance
Neither aloneYou need both: decide with a decision model, then hand off to an LLM to write the reply or call tools

That split is the whole point of this page. The products below are worked examples of it.


How a decision model runs one unit of work

Walk one support message through the loop Cloudflare documents:

  1. State in. "Checkout has been failing for every customer for the last hour."
  2. Questions in. Is it urgent? (noul) Which team? (choice: billing, technical, or sales) How severe? (score over an ordered rubric)
  3. Answers out. Probabilities per option, keyed by the same question names. Your agent reads urgent, team, and severity as structured fields.
  4. Act or escalate. Route the ticket, block a request, call a tool, or defer to a human when confidence is low.

You should now see why this isn't "chat with a system prompt." The contract is state plus schema in, typed probabilities out.

For the wider agent stack around that decide step (tools and memory), see what an MCP server is and how AI agent memory works. More tool explainers sit in the AI tools hub.


Cloudflare Clef as a concrete example

On October 1, 2026 Cloudflare released Clef and Clef-flash, the first models trained by the Workers AI team and hosted on Workers AI as @cf/cloudflare/clef and @cf/cloudflare/clef-flash. Weights for those two are open under Apache 2.0 on Hugging Face. Cloudflare describes them as Jev API compatible (System One API): you can point an existing Jev shaped integration at Clef by changing the endpoint and model. On October 9, Cloudflare added Clef-omni, cut the price of Clef-flash and made Clef faster (changelog).

ModelSizeCloudflare says it's best forContext windowPrice per 1M input tokens
Clef27BHighest precision decisions65,536 tokens$0.24
Clef-flash9BLatency critical, hot path decisions24,576 tokens$0.038
Clef-omni30B mixture of experts, 3B activeDecisions over audio and video as well as text and images64,000 tokens$0.15

Prices and context windows come from Cloudflare's model pages, checked November 20, 2026. Output tokens aren't charged, and images, audio and video are billed as input tokens. Cloudflare says the Clef-flash weights on Hugging Face support up to a 256K context window if you self host.

Verified extras from Cloudflare primary sources only:

  • Vision: optional images (up to four) alongside the state on Clef and Clef-flash. Clef-omni also takes up to four audio clips (300 seconds each) and up to two videos (60 seconds each).
  • Batching: up to 64 questions per request.
  • RL fine tuning: as of its October 1 launch, Cloudflare described a reinforcement learning fine tuning path that starts with its forward deployed engineering team and design partners, with a self serve platform described as coming later.
  • Latency (Cloudflare's numbers): in its October 9 changelog, Cloudflare reports a median of 152 ms for Clef on inputs of about 800 tokens (it was 262 ms before an optimization) and about 20 ms for text requests on Clef-omni. At launch it reported medians of 209.3 ms for Clef and 38.8 ms for Clef-flash across 43 benchmark runs. These are vendor published, not independently rechecked here.

What doesn't get said. Clef isn't a general chat model. It won't write your customer email. It won't invent a new workflow. If your schema is wrong, the probabilities are still "correct" against a bad question. RL fine tuning at launch is a design partner motion, so don't plan your roadmap as if self serve custom Clef weights ship tomorrow. And Cloudflare's "highest precision" label is relative to its own family: see the independent scores below before you assume it leads the field.

Verdict: use Clef, Clef-flash or Clef-omni when you already know the decision options and need typed probabilities on Workers AI, or on local Apache 2.0 weights for Clef and Clef-flash. Choose Clef-omni when the input is audio or video. Skip the family when the agent still needs to generate the plan, not just pick among plans.


Which decision model API?

Clef isn't the only option anymore. Here's how the five compare on the things that decide a build:

OpenAI Decisions APICloudflare Clef familyStrands Decider 2BMicrosoft-Decision-1Liquid AI d1.2 and d1.2-ultra
How you run itHosted only, closed modelHosted on Workers AI, or local with open weights (Clef and Clef-flash)Local on your own CPU or GPUHosted on Microsoft Foundry or through OpenRouterHosted on the Liquid API
LicenseProprietaryApache 2.0 weights for Clef and Clef-flashOpen source; weights, training data, and scripts publishedHosted service; Microsoft doesn't list downloadable weightsHosted service; Liquid's open weight d1 models are older and smaller
Modelsgpt-6-luna onlyClef (27B), Clef-flash (9B), Clef-omni (30B mixture of experts, 3B active)One 2B modelOne model, post trained from Qwen3.5-9Bd1.2 and d1.2-ultra
InputsText, images (inline or hosted URL), or bothText and up to four images; Clef-omni adds audio and videoTextText (about 33K token context on OpenRouter)Text, images and audio per Liquid; Artificial Analysis lists text and image
StatusGenerally available (was in public beta from October 6, 2026)Clef and Clef-flash October 1, 2026; Clef-omni October 9, 2026Released October 1, 2026Released October 9, 2026Released November 16, 2026
Price per 1M input tokens$0.10; no output charge; cache reads and writes follow standard gpt-6-luna caching rates$0.24 (Clef), $0.038 (Clef-flash), $0.15 (Clef-omni); no output chargeFree to run on your own hardware$0.042; output is free$0.02 (d1.2), $0.042 (d1.2-ultra); output is free
Vendor's speed claim"About 10x faster than the Responses API" (OpenAI)Median 152 ms (Clef, about 800 tokens), about 20 ms for Clef-omni text requests (Cloudflare)About 115 ms median on an RTX 3090, about 153 ms on an M3 MacBook for small tasks (Strands)2.5x faster than the runner up and about 35x faster than GPT-6 Sol at P50 (Microsoft)Not stated in the sources I read

Prices were checked on November 20, 2026 on each vendor's own pages, except Microsoft's, which comes from OpenRouter.

OpenAI Decisions API

OpenAI's version lives at its own endpoint, POST /v1/decisions. You send gpt-6-luna some input (a string, or messages with text and images) and a list of questions. Each question is a predicate (the probability a condition is true), a choice from values you supply, or a score against ordered levels. Choice and score answers come back with per option probabilities and a separate confidence field. OpenAI's own guidance is to set thresholds from labeled examples in your app. OpenAI's guide now describes the API as generally available (the guide doesn't give a GA date) and allows up to 400 questions per request.

Pricing, per the guide on November 20, 2026: input costs $0.10 per 1M tokens, and you pay only for input. There's no output charge. Cache reads and writes follow the standard gpt-6-luna prompt caching rates. Regional processing premiums and long context multipliers apply on top. The guide also lists Zero Data Retention and HIPAA support for eligible customers, regional processing in the US and Europe.

What doesn't get said. You get one closed model and no weights, so you can't run it locally or fine tune it. Images can now be hosted URLs as well as inline, but you still can't bring your own model. "10x faster" is measured against OpenAI's own Responses API, not against other decision models. And OpenAI can change prices and limits after GA, so check the guide before you budget.

Verdict: pick the OpenAI Decisions API if you're already on OpenAI's platform, want a hosted endpoint with image input and no infrastructure, and are fine with a single closed model. Skip it if you need open weights, local inference, or a price that won't move.

Strands Decider 2B

Strands Decider 2B comes from the Strands Agents team and was announced on October 1, 2026. It takes a pretrained Qwen3.5-2B torso, removes the text generation head, and replaces it with a small pointer head (just over a million parameters) that scores each option. The torso is fine tuned with a rank 16 LoRA adapter. The code is on GitHub and the weights, training data, and scripts are on Hugging Face.

On Strands' own measurements, it makes local decisions in a median of about 115 ms on an Nvidia RTX 3090 and about 153 ms on an M3 MacBook for small tasks, with latency growing roughly in line with task size. Strands also reports it placing 3rd of 33 models in its size class for accuracy and calibration on JevBench's public set. Both are vendor published.

What doesn't get said. Strands says it plainly: the model is significantly worse than reasoning models at complex problems, and it can't generate text, so it's no use for coding, chat, or summaries. It's a 2B model built for experimentation, which means you run, host, and scale it yourself. And "fast" here is local hardware latency; it isn't a hosted service with an SLA.

Verdict: pick Strands Decider 2B if you want to experiment on hardware you already own, need decisions to stay on device, or want to study and retrain a decision model end to end. Skip it for hard judgment calls, or if you want someone else to run the infrastructure.

Microsoft-Decision-1

Microsoft launched Microsoft-Decision-1 on October 9, 2026, in Microsoft Foundry and through OpenRouter. Microsoft built it by post training Qwen3.5-9B for single pass decision scoring, and says it will later rebase it on other models, including Microsoft AI (MAI) and OpenAI models. It supports yes or no, multiple choice, and rating questions, plus rubric based grading of AI responses and agent actions, and returns a calibrated probability for each option. On OpenRouter it runs on the Decisions API rather than the chat endpoint, using the same noul, choice, and score question types Cloudflare and Strands use.

Pricing, per OpenRouter's model page on November 20, 2026: input costs $0.042 per 1M tokens and output is free. Cloudflare's Clef-flash ($0.038) and Liquid's d1.2 ($0.02) now list lower input prices.

Microsoft's benchmark claims, all vendor published: the highest accuracy in its own 36 benchmark comparison (nearly 150,000 questions kept blind from training), the fastest model it measured at 2.5x quicker than the runner up, H2O-Lightning-4B v1.1, and P50 latency about 35x faster than GPT-6 Sol. It also reports that the model changes its decision on 1.3% of perturbed requests on average. Microsoft's comparison included Strands Decider 2B and OpenAI's GPT-6 Luna Decisions, but not Cloudflare Clef or Liquid's d1.2. Artificial Analysis also lists a Microsoft-Decision-1.1 model that I couldn't confirm from a Microsoft source, so check Microsoft's own pages for the latest version before you commit.

What doesn't get said. It's text only, so it can't take the images that OpenAI's and Cloudflare's options accept. Microsoft doesn't list downloadable weights, so you can't run it on your own hardware. OpenRouter notes the weights are updated continually while the API shape stays the same, which means the model behind your thresholds can shift without a version bump. In Foundry, the model you send is your deployment name, not the model name.

Verdict: pick Microsoft-Decision-1 if you're on Azure or OpenRouter and your inputs are text. Skip it if you need image input, local inference, the lowest price per call, or a model that stays fixed until you choose to upgrade.

Liquid AI d1.2 and d1.2-ultra

Liquid AI released d1.2 and d1.2-ultra on November 16, 2026, as new versions of its hosted decision models. Liquid says both take text, images and audio. It also says they add five question types beyond the yes or no, pick one and score questions the other options use: pull a value out of the input (text, number or date, or "not found"), mark every span of a kind, locate things in an image, estimate a number with a range, and pick every option that applies.

Pricing, per Liquid's pricing page on November 20, 2026: d1.2 costs $0.02 per 1M input tokens and d1.2-ultra costs $0.042, with output free. The limits in Liquid's docs are 65,536 input tokens per question and 128 questions per request. Audio is billed at 10 tokens per second, with up to eight clips and 300 seconds per request. Liquid says OpenRouter and Vercel support for d1.2 is "coming soon," so today you call the Liquid API directly.

Liquid's accuracy claims are its own. Its announcement says d1.2-ultra ranks first among decision models on Artificial Analysis's Decision Index v2.1, and it reports that d1.2 and d1.2-ultra answer 95% to 97% of audio questions correctly on its tests (ESC-50 and FLEURS). When I checked Artificial Analysis's own pages on November 20, d1.2-ultra was second of 26 with a score of 75, behind Bison 31B from Base Labs at 76, and d1.2 was tenth with 69. Those same pages list both models as text and image input only, while Liquid's docs say audio too, so treat audio as something to test yourself.

What doesn't get said. d1.2 is a hosted service. Liquid lists these two models on its API only, and its open weight d1 models are older and smaller (I didn't read their license terms). "Ranks first" described the index when Liquid published; it doesn't match Artificial Analysis today. And one vendor's audio numbers, on its own test sets, aren't a guarantee for your recordings.

Verdict: pick d1.2 or d1.2-ultra if you want the lowest hosted input price here, need question types beyond yes, no and pick one (extraction, spans, estimates, image locating), or want to test audio input. Skip them if you need local weights, an OpenRouter or Vercel route today, or a vendor with a longer production track record.

What an independent index shows

Vendor tables are vendor tables. Artificial Analysis runs its own Decision Index, which scores decisions on accuracy and calibration across several public and in house tasks. These are the numbers its pages showed on November 20, 2026, rounded as Artificial Analysis shows them. The index covers 26 models. I looked at the pages for the models in this table and didn't open the others.

ModelRankDecision IndexTime per taskCost per 1M tasksInput price per 1M tokens
Bison 31B (Base Labs, not covered above)176154 ms$345$0.10
Liquid d1.2-ultra275218 ms$133$0.042
Liquid d1.21069150 ms$63$0.02
Microsoft-Decision-11862274 ms$143$0.042
Cloudflare Clef2360354 ms$863$0.24

Read this carefully. It says nothing about Clef-flash or Clef-omni, Strands Decider 2B or the OpenAI Decisions API, because I didn't open their pages. It measures one set of tasks, and Artificial Analysis's own text calls Clef "among the lowest scoring" and "notably slow" on it, which is a different picture from Cloudflare's own benchmark table, where a Clef model scores highest on 7 of the 10 decision benchmarks Cloudflare ran. Both can be true: different tasks, different weighting, different serving setups. The practical lesson is to test two or three models on your own labeled examples before you commit.


When to put a decision model in the hot path

SituationUse a decision model?Why
Ticket routing and urgencyYesClosed teams and urgency flags; thresholds beat prompt theater
Tool or skill choice before an LLM actsYesA guardrail check that vendors say runs in tens to hundreds of milliseconds
Trust and safety score against your rubricYesOrdered score questions map cleanly
Drafting the reply or writing codeNoThat's LLM work after the decide step
Brand new taxonomy you can't list yetNot yetSchema the options first, or stay with an LLM until the set stabilizes
Complex judgment that needs reasoningNo, or a larger modelStrands itself says small decision models fall well behind reasoning models here
One off research questionNoOpen ended; decision models waste the constraint

Cloudflare's own internal example is threat intel style domain classification with Browser Run: it reports Clef fetching, rendering, and classifying a domain in 2.2 seconds in that workflow versus 4.7 seconds for its general LLM gpt-oss-120b in the same setup. That's a Cloudflare anecdote from the launch blog, not a universal speed law.


Which one should I pick?

Your situationPickWhy
You need structured route, escalate, or score answers on every requestA decision modelTyped probabilities; no parse step
You're on OpenAI already and want a hosted endpoint with imagesOpenAI Decisions APIOne API call, generally available, input only pricing, no infrastructure
You want hosted speed but also open weightsClef-flash (9B)Cloudflare positions it for hot path latency; Apache 2.0 weights; $0.038 per 1M input tokens
You need max precision in the Clef familyClef (27B)Cloudflare positions it for highest precision decisions; check the independent scores before you assume it leads
You need decisions over audio or videoClef-omni, or Liquid d1.2 for audioClef-omni takes audio and video in one request per Cloudflare; Liquid says d1.2 takes audio, though Artificial Analysis lists text and image only
You want extraction, spans or estimates, not only pick one answersLiquid d1.2 or d1.2-ultraLiquid lists five extra question types
You want the lowest hosted input priceLiquid d1.2$0.02 per 1M input tokens, the lowest listed here, but a new service, so test it
You want to experiment locally or keep decisions on deviceStrands Decider 2BRuns on your own CPU or GPU; fully open training recipe
You're on Azure or OpenRouter and your inputs are textMicrosoft-Decision-1$0.042 per 1M input tokens, free output, one model
You need open ended reasoning or generated textLLMDecision models don't write
You need both decide and actDecision model, then LLMDecide on the hot path; generate after
You're still learning agent architectureLearn the decide and act split firstTools and memory matter as much as the model brand

If you're comparing learning paths for shipping agents (not picking a vendor), an advisor can help you see which program fits: AI Engineering is for career changers and semi technical pros who want to build production agents, not only prompt chatbots.

Building agents, or only prompting chatbots?

Tell us where you are today and an advisor will help you see which program fits: AI Engineering for shipping agents, RAG, and production AI apps.

Frequently Asked Questions