# Decision-1

Microsoft Decision-1 is a text decision model from Microsoft AI for classification, routing, and evaluation. It answers yes/no questions, selects among predefined options, and scores inputs against custom criteria, returning calibrated probabilities and confidence values. With support for multiple questions per request and a 32,768-token context window, it helps developers triage support requests, guide automated workflows, and evaluate AI responses against a rubric.

- **Model ID:** `microsoft/microsoft-decision-1`
- **Type:** evaluation
- **Providers:** azure
- **Context window:** 32,768
- **Maximum output tokens:** 0
- **Pricing:** $0.042/1M input tokens
- **Canonical page:** https://vercel.com/ai-gateway/models/microsoft-decision-1

## Supported parameters

Detailed capability metadata has not been reported for this model.

## Example

```ts
import { experimental_decide as decide } from 'ai';

const result = await decide({
  model: 'microsoft/microsoft-decision-1',
  state: 'The support agent issued a full refund to the customer.',
  questions: {
    refunded: {
      type: 'boolean',
      instructions: 'Was a refund issued?',
    },
  },
})
```

## Links

- [Model page](https://vercel.com/ai-gateway/models/microsoft-decision-1)
- [AI Gateway documentation](https://vercel.com/docs/ai-gateway)
- [Provider model documentation](https://ai.azure.com/catalog/models/Microsoft-Decision-1)
- [Provider pricing](https://commandline.microsoft.com/microsoft-decision-1-model-foundry/)
