# Liquid d1.2

Liquid d1.2 is a decision model for classification, routing, and scoring across text and images. It answers typed yes/no, multiple-choice, and scale questions about shared state in a single forward pass and returns structured answers with calibrated probabilities, without generating output tokens.

- **Model ID:** `liquid/d1.2`
- **Type:** evaluation
- **Providers:** liquid
- **Context window:** 65,536
- **Maximum output tokens:** 0
- **Pricing:** $0.02/1M input tokens
- **Canonical page:** https://vercel.com/ai-gateway/models/d1.2

## 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: 'liquid/d1.2',
  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/d1.2)
- [AI Gateway documentation](https://vercel.com/docs/ai-gateway)
- [Provider model documentation](https://www.liquid.ai/blog/d1-2)
- [Provider pricing](https://www.liquid.ai/blog/d1-2)


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.
