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.
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.
| Field type | What it is for |
|---|---|
| text | Free text: merchant names, people, addresses |
| number | Numeric values: amounts, quantities |
| date | Dates: invoice dates, due dates |
| time | Times of day |
| datetime | Date + time |
| duration | Time spans: lease terms, validity periods |
| boolean | Yes/no, e.g. whether tax is included |
| enum | One of a preset set of options, e.g. invoice type |
| object | Nested structures, e.g. an address block |
| list | Multiple values, e.g. line items |
| compute | Special field: a value the model explicitly calculates |
| estimate | Special field: a value the model estimates |
| forecast | Special 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).
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.
| Use case | What is extracted | Why an extraction model fits |
|---|---|---|
| Receipt processing | Merchant, amount, date, tax | Fixed fields, high volume, confidence scores route review |
| Invoice processing | Invoice number, amount, due date, tax rate | Fairly fixed formats, null probabilities flag missing fields |
| Commercial leases | Rent, term, deposit, renewal terms | Long documents, many fields, one call returns them all |
| Loan pricing | Rate, term, principal, fees | Number-dense, needs explicit arithmetic and date math |
| Expense audit | Expense items, amounts, dates, categories | Batch processing, outliers screened by confidence |
| Traffic forecasting | Forecast values, time windows | The 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.
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.
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.
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.
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".
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.
Reference: Cloudflare blog — An updated Clairic and Clairic-flash are now open-weight · Hugging Face — Cloudflare/clairic model card · Hugging Face — Cloudflare/clairic-flash model card · Cloudflare Clairic topic page (rewritten and organized by ModelBrief; facts per the Cloudflare blog and the model cards)