# HeyGen Decision 1

HeyGen Decision 1 is HeyGen's decision model for classification, routing, and scoring. It evaluates text, structured JSON, up to four images, and one video against yes/no questions, custom choices, and ordered rubrics, returning typed answers with probabilities. It answers up to 400 questions over shared content per request with a 128K context window.

- **Model ID:** `heygen/heygen-decision-1`
- **Type:** evaluation
- **Providers:** heygen
- **Context window:** 131,072
- **Maximum output tokens:** 0
- **Pricing:** $0.14/1M input tokens
- **Canonical page:** https://vercel.com/ai-gateway/models/heygen-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: 'heygen/heygen-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/heygen-decision-1)
- [AI Gateway documentation](https://vercel.com/docs/ai-gateway)
- [Provider model documentation](https://developers.heygen.com/docs/models/heygen-decision)
- [Provider pricing](https://platform.heygen.com/pricing)


If you encounter incorrect information, can’t find what you need, need a capability Vercel doesn’t currently offer, or have any other feedback to report, please do it by following the instructions at https://vercel.com/feedback.md.
