# Elephant-1

Elephant-1 is a 9B decision model from Baseten's Base Labs for classification, routing, and scoring. It evaluates structured context against choice, yes/no, and ordered scoring questions and returns answer probabilities and confidence in a single forward pass, without generating free-form text. Applications can use these probabilities to select answers or set confidence thresholds.

- **Model ID:** `baseten/elephant-1`
- **Type:** evaluation
- **Providers:** baseten
- **Context window:** 16,384
- **Maximum output tokens:** 0
- **Pricing:** See the provider details below
- **Canonical page:** https://vercel.com/ai-gateway/models/elephant-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: 'baseten/elephant-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/elephant-1)
- [AI Gateway documentation](https://vercel.com/docs/ai-gateway)
- [Provider model documentation](https://www.baseten.co/library/elephant-1/)
- [Provider pricing](https://www.baseten.co/library/elephant-1/)
