Skip to content
Dashboard

Microsoft Decision-1 now available on AI Gateway

Decision-1 from Microsoft is now available on AI Gateway. It answers typed questions about text with probabilities, choices, and scores. It can be used to classify support requests, select the next step in a workflow, or assess an AI response against a rubric.

The model can answer yes/no questions, choose among named categories, or score an input against an ordered set of criteria. Multiple questions can share the same input in one request. Choice and score answers include probabilities for each option, so your application can decide when to act or send an uncertain result for review.

Call Decision-1 through the AI SDK decision API, the OpenAI-compatible Decisions API, or the TypeSafe-compatible API. You only need an AI Gateway API key, with no separate Azure account or deployment.

To get started, use microsoft/microsoft-decision-1 as the model name in your requests:

import { experimental_decide as decide } from 'ai';
const result = await decide({
model: 'microsoft/microsoft-decision-1',
state: 'My invoice payment failed and I need help immediately.',
questions: {
team: {
type: 'choice',
instructions: 'Which team should handle the request?',
criteria: {
billing: 'Payment and invoice issues',
technical: 'Software and integration issues',
},
},
},
});
console.log(result.answers.team);

AI Gateway provides a unified way to access models and track usage and cost. Decision calls appear in logs and count toward budgets alongside other model requests.

See the decision documentation for Choice, Score, and Boolean questions, or browse all decision models on AI Gateway.