{
  "version": "2",
  "id": "https://freelancenews.online/news/cloudflare-adds-clairic-to-workers-ai-an-extraction-model-that-22f80138",
  "title": "Cloudflare adds Clairic to Workers AI, an extraction model that returns typed values instead of generated text",
  "summary": "The preview model takes a state plus a schema of typed fields and decodes one value per field, with p_null and confidence scores attached; Cloudflare says arithmetic and forecasting are limited and that every answer is well formed but not necessarily correct.",
  "body": "Cloudflare has added a new model to Workers AI: Clairic, published under the identifier @cf/cloudflare/clairic and described in the company's changelog as the first \"extraction model\" on the platform. The entry is dated 2026-10-19. Clairic is available as a preview, and Cloudflare states that it intends to release the model with open weights soon, though no date is given.\n\nChoosing versus extracting is the distinction Cloudflare draws. The changelog explains that decision models such as Clef pick among options defined up front. Structured-output tasks whose answers cannot be listed in advance are what Clairic targets — the source names a delivery date, an invoice total, the cost of a repair, or the number of days a shipment is late. In those cases the caller supplies a state plus a schema of typed fields, and one typed value per field is returned by the model.\n\nMechanically, Clairic does not generate tokens. According to the changelog, it reads the input in a single pass and decodes each answer under the rules of its declared type, so each result is either a valid value of that type or null when the input does not determine it. Cloudflare categorises the returned values three ways: read from the input, computed from it, or predicted beyond it.\n\nHow many fields a caller defines has no upper limit. The changelog states that any fields which cannot be placed alongside the input in a single pass get divided among parallel passes, so a single context window does not cap field count the way one might expect. Up to four images may also be supplied in addition to the state.\n\nEach scalar answer arrives with two accompanying numbers: a confidence score, and p_null — the likelihood that the value is not determined by the input. For estimates and forecasts, a median plus an 80% interval running from p10 to p90 are also returned, and setting options.include_quantiles brings back all 99 percentiles. Cloudflare describes these as the foundation for choosing what to automate and what to send to human review.\n\nThe changelog's own example is an invoice: a state string describing invoice INV-2291 from Northwind Supply, issued 2026-09-02 on net 30 terms, with four pallets at $250.00 each and $80.00 shipping, plus two contact names. The schema asks for the invoice number and issue date as text and date, a due date with the instruction \"Issue date plus the net payment days,\" a two-decimal USD total including shipping, and a list of contacts. The documented response returns \"INV-2291\" for the invoice number, with its span in the state, and the amount due for the total, alongside p_null and confidence.\n\nWhere the preview checkpoint falls short is stated explicitly by Cloudflare, and those caveats matter more than the demo. Totals, differences, conversions and date arithmetic — one- and two-step calculations — are described as reliable, but aggregations across many table rows and long chains of dependent steps are not yet. Extracting the inputs with Clairic and doing the math in code is the recommended workaround.\n\nEstimates are subject to bounds in a similar way. Clairic estimates best, per the changelog, when the input carries evidence like comparables, history or descriptive text; absent such evidence, the interval comes out wide. Forecasting is described as basic: next-step forecasts follow recent patterns, yet forecasts several steps out flatten toward the average, and the model does not anticipate events the series does not show, holidays among them. Cloudflare states plainly that it does not replace a time-series model trained on your own data.\n\nCorrectness and calibration get separate treatment. Intervals are trained to be calibrated and are described as being so on most held-out sets, yet on unfamiliar data they can run narrow. As for confidence, the changelog warns that every answer is well formed, not necessarily correct — a sentence that should shape how anyone wires the model into an automated pipeline.\n\nDates carry their own rule. Dates without a year are resolved from context, so a field that depends on the current date requires either a reference_date parameter or a line such as \"Today: 2026-10-19\" added to the state. That is a small implementation detail with outsized consequences for anything computing deadlines or lateness.\n\nPricing is stated per input token only: $0.10 per million input tokens, with no output token charge because the model generates none. Access is through the Workers AI binding via env.AI.run() or the REST API at /ai/run, and Cloudflare says AI Gateway can be used with these endpoints.\n\nFor developers building document and data pipelines, the practical shape of the offer is a schema-first extraction step that returns machine-checkable types rather than free text to be parsed. The p_null and confidence fields, plus quantile output for numeric estimates, give a pipeline somewhere to branch: auto-accept high-confidence values, queue the rest. That is editorial interpretation of the documented fields, not a claim Cloudflare makes about accuracy in production.\n\nThe tradeoff is that the reliability envelope is narrow and stated. Multi-step arithmetic and row-level aggregation should stay in code, per the source, and forecasting should not displace a purpose-trained series model. Anyone treating Clairic as a general reasoning endpoint would be working against the documented limits.\n\nWhat remains unknown is substantial. The open-weights release is announced as an intention with no date. The changelog calls the current endpoint an early checkpoint and says Cloudflare expects it to improve, without committing to a schedule or to which weaknesses will close first. No independent evaluation of the model's accuracy is provided in the source, and the calibration claim is Cloudflare's own description of held-out performance.\n\nThe sensible reading for a working developer is to treat Clairic as a preview extraction primitive with unusually candid documentation. Its value depends on whether the fields you need are read or computed in one or two steps from text you already have, and whether your pipeline can act on p_null and confidence rather than assuming every returned value is right.",
  "category": "dev",
  "language": "en",
  "datePublished": "2026-10-19T17:17:28.103Z",
  "dateModified": "2026-10-19T17:17:28.103Z",
  "eventDate": "2026-10-19",
  "sourcePublicationDate": "2026-10-19T00:00:00.000Z",
  "source": {
    "name": "developers.cloudflare.com",
    "url": "https://developers.cloudflare.com/changelog/post/2026-10-19-clairic-workers-ai/",
    "kind": "official-publisher"
  },
  "practicalImpact": "For developers building document or data pipelines, Clairic offers a schema-first extraction step whose outputs are typed and carry p_null, confidence and, for numeric estimates, quantile intervals — giving a pipeline explicit signals for auto-accepting values versus sending them to review. Cloudflare's own guidance is to keep multi-step arithmetic and row aggregation in code and to extract inputs with the model instead.",
  "limitations": "The model is an early preview checkpoint with no stated improvement schedule. The open-weights release is described only as an intention, with no date. No independent accuracy evaluation is supplied; calibration and reliability statements are Cloudflare's own. The changelog does not specify context limits, latency, or regional availability, and the documented example is a single invoice rather than a benchmark.",
  "keyPoints": [
    "Clairic (@cf/cloudflare/clairic) is available on Workers AI as a preview and returns one typed value per schema field, or null when the input does not determine it.",
    "It generates no tokens; Cloudflare prices it at $0.10 per million input tokens with no output charge, accessible via env.AI.run() or the /ai/run REST endpoint.",
    "Every scalar answer includes p_null and a confidence score, and estimates add a median plus an 80% interval, with all 99 percentiles available via options.include_quantiles.",
    "Cloudflare states long chains of dependent steps and aggregation across many table rows are not yet reliable, and that forecasting is basic and no substitute for a time-series model trained on your data.",
    "The changelog warns that every answer is well formed but not necessarily correct, and that intervals can run narrow on unfamiliar data."
  ],
  "review": {
    "status": "source-reviewed",
    "checkedAt": "2026-10-19T17:17:28.103Z",
    "method": "Automated comparison against retrieved source text; not independent fact-checking.",
    "correctionNote": null
  },
  "sources": [
    {
      "id": 1,
      "url": "https://developers.cloudflare.com/changelog/post/2026-10-19-clairic-workers-ai/",
      "publisher": "developers.cloudflare.com",
      "title": "Changelog",
      "publishedAt": 1792368000000,
      "fetchedAt": 1792430229645,
      "hash": "1a5e747a55be69d27b79fbaba1f644450a08382b5730a0067d36a80480f661e2",
      "kind": "official-publisher"
    }
  ],
  "claims": [
    {
      "claim": "Cloudflare lists Clairic as available on Workers AI under the identifier @cf/cloudflare/clairic in a preview release.",
      "source": 1,
      "id": "claim-1",
      "url": "https://freelancenews.online/news/cloudflare-adds-clairic-to-workers-ai-an-extraction-model-that-22f80138#claim-1"
    },
    {
      "claim": "Clairic does not generate tokens; it reads the input in one pass and decodes each answer under its declared type, returning null when the input does not determine the value.",
      "source": 1,
      "id": "claim-2",
      "url": "https://freelancenews.online/news/cloudflare-adds-clairic-to-workers-ai-an-extraction-model-that-22f80138#claim-2"
    },
    {
      "claim": "Each scalar answer includes p_null and a confidence score, and estimates and forecasts include a median and an 80% interval from p10 to p90.",
      "source": 1,
      "id": "claim-3",
      "url": "https://freelancenews.online/news/cloudflare-adds-clairic-to-workers-ai-an-extraction-model-that-22f80138#claim-3"
    },
    {
      "claim": "Cloudflare says long chains of dependent steps and aggregation across many table rows are not yet reliable, recommending extraction followed by math in code.",
      "source": 1,
      "id": "claim-4",
      "url": "https://freelancenews.online/news/cloudflare-adds-clairic-to-workers-ai-an-extraction-model-that-22f80138#claim-4"
    },
    {
      "claim": "Forecasting is described as basic, flattening toward the average several steps out and not anticipating events like holidays, so it does not replace a time-series model trained on the user's data.",
      "source": 1,
      "id": "claim-5",
      "url": "https://freelancenews.online/news/cloudflare-adds-clairic-to-workers-ai-an-extraction-model-that-22f80138#claim-5"
    },
    {
      "claim": "Pricing is $0.10 per million input tokens with no output token charge, and the model is reachable through the Workers AI binding or the /ai/run REST API.",
      "source": 1,
      "id": "claim-6",
      "url": "https://freelancenews.online/news/cloudflare-adds-clairic-to-workers-ai-an-extraction-model-that-22f80138#claim-6"
    }
  ],
  "formats": {
    "html": "https://freelancenews.online/news/cloudflare-adds-clairic-to-workers-ai-an-extraction-model-that-22f80138",
    "markdown": "https://freelancenews.online/news/cloudflare-adds-clairic-to-workers-ai-an-extraction-model-that-22f80138.md",
    "json": "https://freelancenews.online/news/cloudflare-adds-clairic-to-workers-ai-an-extraction-model-that-22f80138.json"
  }
}