Cloudflare has published open weights for Clairic, its model for turning messy documents into structured data, and added a smaller sibling, Clairic-flash. The announcement, posted late on November 18 by a newly named "Workers AI Superintelligence" team, moves Clairic out of preview and swaps the 9B model behind the preview endpoint for a 27B one. Both models are on Hugging Face under Apache 2.0 and hosted on Workers AI.
Why it matters: extracting supplier names, line items, totals and dates from invoices, receipts and contracts is one of the most common paid uses of LLMs, and most teams do it by prompting a general frontier model and hoping the JSON parses. Clairic is a purpose-built, permissively licensed alternative you can run on your own GPU, and it returns a confidence score and the source location for each answer.
What's in the release
| Clairic | Clairic-flash | |
|---|---|---|
| Size (per model card) | 27B (HF metadata shows 28B) | 9B (HF metadata shows 10B) |
| Base model (per Hugging Face) | Qwen3.8-27B | Qwen3.5-9B |
| License | Apache 2.0 | Apache 2.0 |
| Workers AI endpoint | @cf/cloudflare/clairic |
@cf/cloudflare/clairic-flash |
| Price, input tokens | $0.24/M (from Dec 1) | $0.10/M |
| Launch promo | $0.10/M until Dec 1, 2026 | $0.10/M |
Cloudflare says it does not charge for output tokens on either model. The 27B and 9B sizes are Cloudflare's figures from the card text; Hugging Face's automatic file metadata rounds to 28B and 10B.
According to Unite.AI, the earlier preview launched on October 19 with an early checkpoint. Cloudflare says users of the preview endpoint are moved to the new 27B model automatically, and Unite.AI reports the API schemas are unchanged.
How it works
You don't prompt Clairic in prose. You send a "state" (text or JSON, optionally with images or embedded PDFs) and a schema of typed fields — text, number, date, duration, boolean, enum, lists and objects, plus compute, estimate and forecast types — and it fills them in. The Hugging Face card says each answer comes back with validity and completeness flags, a confidence score and a null probability, and text answers include character spans pointing to where the evidence sits in the input.
Cloudflare's post says the new version generates text and number fields with what it calls parallel slot autoregressive generation instead of a single forward pass, and adds dedicated heads for calculations, estimates and forecasts. New in this release: PDF input, and better handling of tables, lists and dates.
Limits listed on the model card: four images or rendered PDF pages per request, 4 MiB per embedded file and 8 MiB in total, no remote URLs, and Python 3.11 or later for local use. The card's main local path is a custom helper loaded from the repo, with schema constraints supplied by xgrammar; generic vLLM and Transformers snippets on the page don't show the typed-field API.
Cloudflare's numbers (self-reported)
| Internal test | Preview | Clairic | Clairic-flash |
|---|---|---|---|
| Fresh text fields (336) | 295 | 335 | 328 |
| Tracked customer assertions (1,263) | 1,033 | 1,263 | 1,263 |
| Synthetic receipt fields, text + images (576) | 369 | 576 | 576 |
Correct answers out of total, per Cloudflare's post as reported by Unite.AI.
On the receipt set, Cloudflare says Liquid AI's D1.2 paired with OCR scored 397 and ScaleDown's Extract 280, runs the authors did themselves. Median latency on a self-hosted server for text fields was 358 ms for Clairic and 155 ms for Clairic-flash (p95: 736 ms and 328 ms), with image fields at 453 ms and 305 ms.
Treat all of this carefully. Cloudflare itself calls the comparisons directional guidance and says there are no public extraction benchmarks yet. A perfect score on a synthetic receipt set built in-house says little about your scanned contracts. Neither Hugging Face card includes any benchmark table, and we found no independent evaluation. Some secondary coverage repeats sub-15 ms latency and 85% cost-saving claims that we could not trace to Cloudflare's post or model cards, so we haven't used them.
Who should try it
- Teams paying frontier-model prices for invoice, receipt or form parsing. At $0.10–$0.24 per million input tokens with free output, the hosted version is cheap to test against your current pipeline.
- Anyone who can't send documents to a third-party API. Apache 2.0 weights mean you can self-host and fine-tune; budget a GPU that holds a 27B model, or start with the 9B flash model.
- Builders who need audit trails. Per-field confidence and character spans make it easier to route low-confidence answers to a human.
What to watch: independent extraction benchmarks, how Clairic does on multi-page real-world PDFs given the four-page cap, and whether Cloudflare keeps flash at $0.10 after the December 1 promo ends.
Sources
- Cloudflare blog — An updated Clairic and Clairic-flash are now open-weight, from the new Workers AI Superintelligence team blog.cloudflare.com
- Hugging Face — Cloudflare/clairic model card huggingface.co
- Hugging Face — Cloudflare/clairic-flash model card huggingface.co
- Unite.AI — Cloudflare releases open-weight Clairic models for data extraction unite.ai
- RuntimeWire — Cloudflare releases open weights for two document extraction models runtimewire.com
- FourWeekMBA — Cloudflare opens Clairic weights: 27B costs 2.4x the 9B model fourweekmba.com