# Drex 2.0

Drex 2.0 is Nace AI's text evaluation model for boolean, choice, and score questions over shared text or JSON state. It returns calibrated probabilities for routing, classification, and scoring, with a 131,072-token state limit and a 262,144-token limit for the state plus the longest question.

- **Model ID:** `nace-ai/drex-v2.0`
- **Type:** evaluation
- **Providers:** nace-ai
- **Context window:** 262,144
- **Maximum output tokens:** 0
- **Pricing:** $0.03/1M input tokens
- **Canonical page:** https://vercel.com/ai-gateway/models/drex-v2.0

## 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: 'nace-ai/drex-v2.0',
  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/drex-v2.0)
- [AI Gateway documentation](https://vercel.com/docs/ai-gateway)
- [Provider model documentation](https://console.nace.ai/docs/drex)
- [Provider pricing](https://console.nace.ai/docs/drex/reference/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.
