# Extract-1

ScaleDown Extract-1 is a task-specific model for extracting structured data from unstructured text using a custom JSON schema. It identifies domain-specific entities with confidence scores, character offsets, and surrounding context, and supports nested objects and arrays for workflows such as invoice processing, contract analysis, and record parsing.

- **Model ID:** `scaledown/extract-1`
- **Type:** extraction
- **Providers:** scaledown
- **Context window:** 1,000,000
- **Maximum output tokens:** 0
- **Pricing:** $0.05/1M input tokens
- **Canonical page:** https://vercel.com/ai-gateway/models/scaledown/extract-1

## Supported parameters

Detailed capability metadata has not been reported for this model.

## Example

```ts
import { experimental_extract as extract } from 'ai';

const result = await extract({
  model: 'scaledown/extract-1',
  state: 'Invoice INV-2041, total due $1,250.00 by March 3.',
  fields: {
    invoiceNumber: {
      type: 'text',
      instructions: 'The invoice number',
    },
  },
})
```

## Links

- [Model page](https://vercel.com/ai-gateway/models/scaledown/extract-1)
- [AI Gateway documentation](https://vercel.com/docs/ai-gateway)
- [Provider model documentation](https://docs.scaledown.ai/api-reference/extract)
- [Provider pricing](https://scaledown.ai/)


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.
