# Schematron V2 Small

Schematron V2 Small is a specialized model from Inference.net for extracting structured data from HTML. It uses a supplied JSON Schema to produce conforming JSON and is designed for complex schemas and long pages.

- **Model ID:** `inference-net/schematron-v2-small`
- **Type:** chat
- **Providers:** inference-net
- **Context window:** 128,000
- **Maximum output tokens:** 4,096
- **Pricing:** $0.05/1M input tokens, $0.23/1M output tokens
- **Canonical page:** https://vercel.com/ai-gateway/models/schematron-v2-small

## Supported parameters

Detailed capability metadata has not been reported for this model.

## Example

```ts
import { streamText } from 'ai'

const result = streamText({
  model: 'inference-net/schematron-v2-small',
  prompt: 'Why is the sky blue?'
})
```

## Links

- [Model page](https://vercel.com/ai-gateway/models/schematron-v2-small)
- [AI Gateway documentation](https://vercel.com/docs/ai-gateway)
- [Provider model documentation](https://inference.net/models/schematron-v2-small/)
- [Provider pricing](https://inference.net/models/schematron-v2-small/)
