Last updated Nov 26, 2026

What Is an Extraction Model? Clairic Returns Typed Values, Not Prose

ModelBrief · Published 2026-11-18 · Fact-check 2026-11-23 · Reference: Cloudflare blog, Clairic / Clairic-flash model cards, Workers AI docs page

An extraction model is a category most readers meet for the first time, so the definition comes first: you give it a document (text, image or PDF) and a schema (which fields you want, and what type each field is), and it returns typed values — not a paragraph of prose, but a set of field values with confidence scores, character spans and null probabilities. Cloudflare calls this class of models "System One", and Clairic is its representative; Baseten's decision models (see our Bison-1 topic page) follow the same idea — no text, only structured results — except a decision model returns probabilities where an extraction model returns field values.

What one call looks like: state + schema → typed values

A call has three parts: the state is what is being processed (the text of a receipt, the image of an invoice, the PDF of a commercial lease); the schema is the list of fields you want (say, "merchant name: text", "total amount: number", "date: date", "tax included: boolean"); the return is a typed value per field, each carrying three things — a confidence score (how sure the model is about the value), character spans (where in the source text the value sits), and a null probability (the probability that the field does not exist in the document at all). The null probability is the easiest to overlook: it turns "missing field" itself into a measurable signal, instead of a parser error.

Contrast with the general-LLM approach: a general LLM generates a JSON blob, then a parser validates the format, fills defaults and fixes errors — a bad format needs a retry, a wrong number needs a second check. An extraction model folds those three steps into the model: the output is typed values by construction, with no parser safety net needed; special heads handle estimates, forecasts, durations, calculated dates and explicit arithmetic; parallel slot generation emits many fields at once. But there are no numbers for this comparison: Cloudflare has not benchmarked Clairic against any general LLM, and this page invents no "how much more accurate than a general LLM" claim.

Thirteen field types

Field typeWhat it is for
textFree text: merchant names, people, addresses
numberNumeric values: amounts, quantities
dateDates: invoice dates, due dates
timeTimes of day
datetimeDate + time
durationTime spans: lease terms, validity periods
booleanYes/no, e.g. whether tax is included
enumOne of a preset set of options, e.g. invoice type
objectNested structures, e.g. an address block
listMultiple values, e.g. line items
computeSpecial field: a value the model explicitly calculates
estimateSpecial field: a value the model estimates
forecastSpecial field: a value the model predicts

The field-type list comes from the Cloudflare blog and the model cards; the three special types, compute, estimate and forecast, are handled by special heads (see below).

What is architecturally different: parallel slot generation + special heads

After the preview, Clairic's architecture was redesigned in two places. First, ordinary text/number fields now use parallel slot autoregressive generation instead of a single forward pass — many fields generated in parallel rather than one after another; second, special heads were trained for estimates, forecasts, durations, calculated dates and explicit arithmetic, so that "computing" has dedicated model machinery instead of being guessed by general generation. The typed API returning confidence scores, character spans and probabilities is unchanged. In local inference, the typed output is enforced jointly by the clair_head.safetensors components and xgrammar schema constraints.

What it is for: six use cases

Use caseWhat is extractedWhy an extraction model fits
Receipt processingMerchant, amount, date, taxFixed fields, high volume, confidence scores route review
Invoice processingInvoice number, amount, due date, tax rateFairly fixed formats, null probabilities flag missing fields
Commercial leasesRent, term, deposit, renewal termsLong documents, many fields, one call returns them all
Loan pricingRate, term, principal, feesNumber-dense, needs explicit arithmetic and date math
Expense auditExpense items, amounts, dates, categoriesBatch processing, outliers screened by confidence
Traffic forecastingForecast values, time windowsThe forecast special field's use case

The use-case list comes from the Cloudflare blog's eval workloads (fresh text/image fields, commercial leases, loan pricing, expense audit, traffic forecasting) and the receipt demo; "fits" is this site's selection advice from the category definition, not Cloudflare's official recommendation list.

What it is not for: three boundaries

First, open-ended tasks don't fit: if you don't know which fields you want, an extraction model has nothing to work from — the schema comes from the caller, not invented by the model. Second, anything needing reasoning and writing doesn't fit: summaries, analysis and Q&A belong on a general LLM. Third, anything needing 100% accuracy needs a review step: confidence scores and null probabilities exist to route review, not to guarantee zero errors — low-confidence fields go to human review, which is the extraction-model workflow design, not a defect.

FAQ

How does an extraction model differ from a chat model?

A chat model generates prose; an extraction model returns typed values: you give it a schema, it returns a value per field (with confidence scores, character spans and null probabilities). An extraction model writes no answers and does no chat — trying it as a chat model returns field values, which is the category's definition, not a defect.

What is "System One"?

Cloudflare's name for this class of models: models that write no text and return only structured results. Clairic is an extraction model (returns field values), Baseten's Bison-1 is a decision model (returns probabilities); both follow the same idea. AIMultiple also runs a System One Index, which rates decision models — don't confuse the two "System One"s into one board.

What are confidence scores and null probabilities for?

A confidence score says how sure the model is about a value; a null probability says how likely it is that the field does not exist in the document. In a workflow they route review: high confidence goes straight into the database, low confidence or high null probability goes to human review — the core advantage of an extraction model over "general LLM generates JSON, then parse it".

Can Clairic read PDFs? How many pages per request?

Yes. Up to 4 images/PDF pages per request; embedded inputs max 4 MiB each / 8 MiB combined; remote media URLs are not accepted. PDF support is new in the Nov 18 GA release; the preview did not mention it.

ModelBrief's take: The extraction-model category is worth understanding before talking about Clairic's scores: its value is not "smarter than a chat model" but folding "parse, validate, fix" into the model, so batch document processing gets a measurable confidence and null-probability signal. Everything Clairic sells — typed values, special heads, parallel generation — rests on that definition; talking about 335/336 outside it is talking about the wrong thing.