19 November 2026 · 10 MIN READ

Decision APIs From Microsoft and Google: What They Are, Why They Exist, and How to Use Them With UNS and MES

Google launched the Gemini Decisions API and Microsoft made Decision-1.1 generally available. What decision models are, why the whole industry is suddenly building them, how the two compare, and where they fit in UNS and MES systems: downtime coding, alarm reviews, quality reviews and more.

Decision ModelsMicrosoftGoogle GeminiUnified NamespaceMES
Industrial tablet showing digital solutions on a smart factory shop floor
Digital tools on the manufacturing floor. Photo: EngelGMA / Wikimedia Commons (CC BY-SA 4.0).

In one week, the two biggest enterprise AI vendors shipped the same new kind of product:

  • Google launched the Gemini Decisions API, powered by a new model called Gemini Decision 1 (Google blog, November 11).
  • Microsoft made Microsoft-Decision-1.1 generally available in Microsoft Foundry (Microsoft Foundry blog). It also added Decision actions to Azure Logic Apps in public preview (Azure Integration Services blog) at Ignite this week.

They follow OpenAI's Decisions API, launched in October, and Jev from the startup TypeSafe, launched in September. This article explains what these models are, why they suddenly exist, how Microsoft's and Google's versions compare, and where they fit in a plant's Unified Namespace (UNS) and MES.

What a decision model is

A large language model writes an answer. A decision model chooses one.

You give it three things:

  • Context: text, JSON, images and, for Google, also audio, video and PDFs.
  • A question: for example, "Which downtime reason best explains this stop?"
  • The allowed answers: a list of options, a yes/no, or an ordered scale.

It returns a typed answer with a probability, in one of three question types that both vendors offer:

  • Yes/No: the probability that a statement is true.
  • Choice: one option from your list, with a probability for every option.
  • Score: a position on an ordered scale, such as low, medium, high or critical.

The answer is always one of the options you supplied. There's no free text to parse and no invented category, and every answer comes with a confidence your software can act on.

Why they exist

Decision models exist because of how AI is actually used in production. Most AI calls inside real software aren't essays or chat replies. They're small, repeated judgment calls:

  • Route this request
  • Is this complete?
  • Which category is this?
  • Which tool should the agent use next?
  • Does this need a human?

Teams have been sending those calls to full LLMs, which causes four problems:

  1. Cost and speed. An LLM "thinks" and generates text even when the answer is one word. Google says Gemini Decision 1 is nearly 5x cheaper than Gemini 3.5 Flash-Lite across its benchmark suite. Both vendors charge only for input tokens, and output is free.
  2. Parsing pain. Free-text answers have to be parsed, validated and repaired before code can use them. A decision model returns the option itself.
  3. No trustworthy confidence. An LLM sounds equally sure whether it's right or wrong. Decision models are trained to return calibrated probabilities, so you can say "act automatically above 0.9, ask a person below it."
  4. Agents multiply the problem. One AI agent task can involve dozens of small routing and checking decisions. Making each one fast and cheap is what keeps agents usable.

The idea maps onto Daniel Kahneman's "System 1" thinking: fast and intuitive, as opposed to slow and deliberate. Microsoft's API endpoint is even named systemone. LLMs remain the slow, deliberate part, and decision models handle the fast reflexes.

Microsoft vs. Google at a glance

Microsoft-Decision-1.1

  • Model: built on Google's open Gemma 4 26B A4 base, with decision-specific training and a custom inference engine (SiliconANGLE).
  • Inputs: text, JSON and images (280–1,568 px).
  • Speed: Microsoft says it's more than twice as fast as Decision-1. An independent test of Decision-1 measured about 200 ms per call from a nearby Azure region.
  • Price: $0.042 per million input tokens on Global Standard deployments, $0.046 in the US Data Zone and $0.050 in the EU and APAC Data Zones. Output is free.
  • Where: GA in Microsoft Foundry, plus OpenRouter and Vercel. Logic Apps Decision actions (Yes/No, Choice, Score) are in preview for low-code workflows.
  • Accuracy: Microsoft reports a 78.8% average across 102 benchmarks.

Gemini Decision 1

  • Inputs: text, images, audio, video and PDFs, up to 256K tokens of shared context.
  • Scale per call: up to 1,000 independent questions in one request. The shared context is billed once per request, however many questions you ask.
  • Options: 2 to 255 options per Choice question.
  • Speed: 150–250 ms end-to-end, with latency nearly flat from 1 to 100 questions per request for contexts up to 16K tokens.
  • Price: $0.10 per million input tokens, with output free, and a free tier in Google AI Studio for prototyping.
  • Where: the Gemini API and Google AI Studio. Google says support for Gemini in Google Cloud is coming soon.
  • Accuracy: Google says it beat Jev and OpenAI's Decisions API on seven of nine benchmarks, with the lowest calibration error (SiliconANGLE).

What the differences mean for plants

  • Azure-centric companies get Microsoft's model in Foundry with US, EU and APAC data zones. Logic Apps lets them use it without writing code.
  • Google's model has the richer inputs. Audio, video and PDFs open use cases like operator voice notes, short clips of a problem and scanned documents. Asking many questions about one context in a single call also suits rich industrial events.
  • Pricing differs, but stays tiny either way. At the volumes a plant generates, both cost very little. More on that below.

Why this matters for MES and UNS

Manufacturing information systems are full of exactly these small judgment calls. Today they're handled in one of three ways:

  • Hard-coded rules in MES configuration or SQL, which break whenever the product mix changes.
  • People typing codes, which mostly doesn't happen.
  • Nothing. Look at how many downtime events are coded "Other."

A decision model is flexible like an LLM, because it understands messy context, and structured like a rule, because the answer is always one of your codes. That's a natural fit for MES records, and the UNS already carries the context these models need.

Information layer only

These models belong in the information and business layer: MES records, quality and maintenance workflows, reporting and analytics. They don't write to PLCs, change setpoints or control equipment. None of the use cases in this article involve control. They classify, route, summarize and suggest, and the plant's control system keeps running exactly as it does today.

The pattern: UNS event in, decision record out

Architecture diagram: UNS events and context flow into a decision service that calls a Microsoft or Google decision model; confident answers are published back to the UNS and stored by the MES as records, uncertain ones are shown to a person to confirm
Decision models sit in the information layer, between the UNS and the MES. Illustration: IIoTjob (original artwork)
  1. An event appears in the UNS: a stop event, an alarm record, an inspection result or a maintenance request.
  2. A decision service picks it up. It can be a Logic Apps workflow or a small Python worker. It adds context from the namespace: current order, product, shift, recent alarms and the asset hierarchy.
  3. It asks typed questions using your existing codes: reason trees, quality categories, priority scales.
  4. It applies a confidence threshold: - Confident answers are published as a decision record that the MES stores. - Uncertain answers are shown to a person as a suggestion to confirm or correct.
  5. It logs everything. Answers, probabilities and human corrections go back to the UNS and historian for audit and for tuning thresholds.

The decision becomes just another record in the namespace:

acme/plant-1/packaging/line-3/filler/events/stop
acme/plant-1/packaging/line-3/filler/decisions/downtime-reason
acme/plant-1/packaging/line-3/filler/decisions/pending-review
{
  "event_id": "stop-2026-11-18-142233",
  "question": "downtime_reason",
  "answer": "MAT-02 Bottle supply starved",
  "probability": 0.94,
  "alternatives": { "MECH-07 Capper jam": 0.04, "QA-01 Quality hold": 0.02 },
  "model": "Microsoft-Decision-1.1",
  "decided_by": "auto",
  "ts": "2026-11-18T14:22:41Z"
}

Practical use cases

1. Downtime reason coding

This is the most valuable one. Operators rarely enter downtime reasons, so most MES reason data is either missing or "Other," and OEE analysis is only as good as its reason codes (see our OEE guide).

  • Context: the stop event, recent alarms, machine state history, upstream and downstream states, and the current SKU.
  • Question: a Choice over your MES reason tree.
  • Result: most stops are coded automatically after the fact, and people only confirm the uncertain ones.

2. Alarm reviews and notification routing

Alarm management reviews take hours of manual sorting. A decision model can tag alarm history for the review team:

  • Choice: likely category, such as process, equipment, instrument or nuisance.
  • Yes/No: "Is this a repeat of an already-active alarm?", for bad-actor reports.
  • Choice: which team should get the notification email or ticket.

The alarm system itself stays untouched. This only improves reporting and who gets informed.

3. Quality review recommendations

  • Context: inspection results, SPC trends, the batch record and an inspection image. Both models accept images, and Gemini also reads PDFs.
  • Choice: a suggested category for the QA reviewer, such as cosmetic, dimensional, contamination or labeling.
  • Yes/No: "Is the batch record complete?", which flags missing entries for review.

In regulated industries, the model only prepares the review. A qualified person makes and signs the decision.

4. Maintenance request triage

Free-text requests from the floor ("pump 4 sounds weird again") become structured work orders in the CMMS:

  • Choice: craft (mechanical, electrical, instrumentation)
  • Score: priority
  • Yes/No: "Does this mention a safety concern?", which flags the request for immediate human attention

5. Shift logs and operator notes

Shift handover notes are unstructured. With Gemini's audio input, even voice notes count. A decision model can tag each note with asset, topic and urgency, so the next shift and the daily meeting see the important items first.

6. Routing questions for industrial AI assistants

An assistant answering "Why is Line 3 behind plan?" needs to know where to look: the current state in the UNS, historian trends, MES orders or maintenance logs. A decision model acting as the router in front of a slower LLM is the pattern both vendors promote. Google says Gemini Notebook uses it this way, with up to 40% lower latency for everyday queries.

What it costs

Take downtime coding on a mid-size site (our estimate):

  • Prompt size: about 1,500 input tokens per decision, covering the event, alarms, context and reason tree.
  • Volume: 10,000 decisions a day across all lines.
  • Usage: 15 million input tokens a day.
  • Microsoft: 15 × $0.042 is about $0.63 a day, or roughly $19 a month.
  • Google: 15 × $0.10 is about $1.50 a day, or roughly $45 a month. If you ask several questions about the same event, the shared context is billed only once.

Either way, the model costs very little. Integration, validation and change management are where the real effort goes.

A minimal Python sketch

This is a sketch, not production code. Both vendors document their own request and response formats, so adapt decide() to the one you use. Microsoft's samples post model, state and questions with Microsoft Entra ID authentication. Google offers Python, JavaScript and REST guides for the Gemini API.

import json
import paho.mqtt.client as mqtt

REASONS = ["MAT-02 Bottle supply starved", "MECH-07 Capper jam", "QA-01 Quality hold", "OPS-03 Changeover"]
THRESHOLD = 0.90

def decide(context: dict, question: str, options: list[str]) -> tuple[str, float]:
    """Call Microsoft-Decision-1.1 or Gemini Decision 1 and return (answer, probability).
    Implement with the vendor's documented API."""
    raise NotImplementedError

def on_stop(client, userdata, msg):
    event = json.loads(msg.payload)   # stop event already enriched with alarms, order and SKU
    try:
        answer, p = decide(event, "Which reason best explains this stop?", REASONS)
    except Exception:
        answer, p = "UNCODED", 0.0   # service unavailable: leave it for manual coding
    base = msg.topic.rsplit("/events/", 1)[0]
    target = "decisions/downtime-reason" if p >= THRESHOLD else "decisions/pending-review"
    client.publish(f"{base}/{target}",
                   json.dumps({"event": event.get("id"), "answer": answer, "probability": p}),
                   retain=True)

client = mqtt.Client()
client.on_message = on_stop
client.connect("uns-broker.local", 1883)
client.subscribe("acme/+/+/+/+/events/stop")
client.loop_forever()

The worker only reads events and publishes decision records. It never writes to devices.

Guardrails

  • Information layer only. Use decision models for MES records, reports, tickets and suggestions, never for anything that controls equipment.
  • Fail soft. If the cloud service is unavailable, the event stays uncoded for a person. Nothing on the shop floor depends on it.
  • Calibrate on your own data. Run in suggestion-only mode for a few weeks, compare with what people choose, then set a threshold for each decision type.
  • Version everything: question wording, option lists and model versions. Changing a reason tree changes the decisions.
  • Mind the data. Decide what plant context may leave the site. Microsoft offers US, EU and APAC data zones. Check Google's terms and its upcoming Google Cloud availability before sending production data.
  • Keep people accountable. In GxP and other regulated work, the model prepares and a person decides.

The bottom line

Decision models exist because most of the "AI" inside real software is small, repeated choices, and LLMs are an expensive, slow and untidy way to make them. Microsoft and Google now both offer fast, cheap and calibrated alternatives. For manufacturing, the sweet spot is the information layer: turning UNS events into clean MES records and routing work to the right people. Start with downtime coding in suggestion mode, and let the probabilities show you where to automate.

Building UNS, MES or industrial AI systems? Browse industrial data and AI roles and Industry 4.0 and MES roles on IIoTjob.

Sources: Google: Gemini Decisions API (November 11, 2026); SiliconANGLE on Gemini Decisions; Microsoft Foundry: Introducing Microsoft-Decision-1.1 (November 18, 2026); Microsoft Foundry: Introducing Microsoft-Decision-1; Azure Integration Services: Decision APIs in Logic Apps; SiliconANGLE on Microsoft's models; Microsoft Foundry: Hypercharging Work IQ with Decision APIs. Cost figures and the code sample are IIoTjob illustrations. IIoTjob is not affiliated with Microsoft or Google.