Everything *[NYC] 2026: see what we announced. →
Skip to content

Extraction model definition

An extraction model is an AI model that reads an input and returns one typed value per field you ask for, rather than generated text or a choice from a list of options. You supply a state (text, JSON, and in some cases images) plus a map of named, typed fields, and the model answers every field in a single pass, returning a value of the declared type, or null when the input does not determine one, with a probability attached.


A diagram explaining Extraction model in terms of related concepts.

What is an extraction model in AI?

What kinds of values can an extraction model return?

How is an extraction model different from an LLM's structured output mode?

Where did extraction models come from?

What are extraction models used for?

Can an extraction model be wrong?

Explore Sanity Today

Understanding extraction model is just the beginning. Take the next step and discover how Sanity can enhance your content management and delivery.

Last updated: