Cloudflare's Clairic: an open model that reads your receipts
Cloudflare opened the weights of Clairic (27B) and Clairic-flash (9B), which pull fields out of documents. Community Mac builds run the 9B one in 16 GB.
Cloudflare has released the weights of Clairic, its model for pulling data out of documents, and of a new smaller version called Clairic-flash. You give the model a document plus a list of the fields you want back, such as vendor, total and date, and it returns a typed answer for each field with a confidence score. Both models are on Hugging Face under the Apache 2.0 license, which allows commercial use. Within a day, community builders had published 4-bit versions that run on a Mac, so this is now something you can try at home.

What Clairic does
Clairic is not a chat model. It is built for one job: reading text, images or PDFs and filling in a form you define. A field can be text, a number, a date, a time, a yes/no value, a list, or an estimate or forecast with a range. Every answer comes with a confidence score and a separate probability that the value is missing, and text answers can point to the exact characters in the document they came from. Each request can include up to four images or PDF pages.
There are two sizes:
- Clairic has 27 billion parameters (the numbers a model learns) and is built on Qwen3.8 27B.
- Clairic-flash has 9 billion parameters and is built on Qwen3.5 9B.
Cloudflare first offered Clairic as a hosted preview, then redesigned it. Each text or number field now writes its own short answer, and a separate set of "heads" handles dates, durations, sums and forecasts. On Cloudflare's own tests the new 27B model got 335 of 336 text fields right and Clairic-flash got 328, against 295 for the preview. Those are Cloudflare's internal tests. There is no public benchmark for this kind of extraction yet, and Cloudflare itself calls the results "directional".
If you would rather not run it yourself, Cloudflare hosts both models on Workers AI. Until December 1 both cost $0.10 per million input tokens; after that the 27B model goes to $0.24. This is the same team that made Clef, the decision model we covered in our Clef on Ollama post.
Can your computer run it?
The official files are 16-bit: 55.56 GB for Clairic and 19.31 GB for Clairic-flash. Cloudflare's example loads them with Python, PyTorch and Transformers on an NVIDIA GPU, and some of its speed-up packages install only on 64-bit Linux PCs. That is the route for people who already run Python on a Linux box with a large NVIDIA card.
For Mac owners, the easier path is the community MLX builds, which keep Cloudflare's request code and swap the engine for Apple's MLX. Their author measured memory on an M5 Max MacBook Pro:
- Clairic-flash 4-bit: 6.2 GB at rest, 10.6 GB at most on a 32,000-token document. The author says a 16 GB Mac is the practical minimum.
- Clairic 4-bit: 16.4 GB at rest, 24.3 GB at most on the same document. The author says a 32 GB Mac is the practical minimum and 48 GB is comfortable.

Those numbers come from the person who made the builds, on one machine, not from Cloudflare or from us. At 4-bit, the 27B build gave a different value than Cloudflare's official setup on 5 of 262 test fields, and its confidence scores moved by 0.024 on average. The author advises setting your own confidence thresholds rather than reusing Cloudflare's.
Our engine has no Clairic entry, so we checked the two base models it is built on, which are the same size. As a chat model at 4-bit, Qwen3.5 9B on a 16 GB MacBook Air M5 is rated comfortable, and Qwen3.8 27B on a 32 GB MacBook Air M5 is rated acceptable. That agrees with the builder's 16 GB and 32 GB minimums. At the official 16-bit precision (llama.cpp on Linux), our engine puts Qwen3.5 9B at about 19.8 GB for the model alone at a 16K context. That rates excellent on a 24 GB RTX 3090 or 4090 and borderline on 16 GB cards. Qwen3.8 27B at 16-bit needs about 54.3 GB, so one RTX 5090 is "not recommended" and you need something like a 96 GB RTX PRO 6000.
There is also a GGUF version of Clairic-flash for llama.cpp, with a 5.69 GB Q4_K_M file. Its maker notes that the GGUF files don't include Cloudflare's typed extraction head or request code. You get the fine-tuned language model with JSON output, not the full Clairic system with its confidence scores and date and forecast heads. There is no Ollama or LM Studio package yet.
Honest limits
- It gets slow on long documents. Every field re-reads the whole document. On the M5 Max, eight fields from an 8,000-token document took 141.5 seconds with the 27B build and 40.5 seconds with Clairic-flash.
- Setup is Python. Even the Mac builds need Python 3.11 or newer and a
pip install, and they pull in PyTorch for the grammar engine. - The community builds are new. They appeared on November 19, and nobody outside their author has tested them yet.
The takeaway
Clairic-flash is a free, open extraction model that returns structured fields with confidence scores, not chat text, and a community build fits an ordinary 16 GB Mac. If you scan receipts, invoices or forms and don't want them on someone else's server, it is worth an afternoon of Python. Check your machine on /check first, and start with the 9B model before you download the 27B one.
Sources
- An updated Clairic and Clairic-flash are now open-weight, Cloudflare Blog (November 18, 2026)
- Clairic model card, Cloudflare on Hugging Face
- Clairic Flash model card, Cloudflare on Hugging Face
- Clairic weight index (total size), Hugging Face
- Clairic Flash weight index (total size), Hugging Face
- Clairic Flash requirements.txt, Cloudflare on Hugging Face
- mlx-community/clairic-4bit, community MLX build (speed, memory and fidelity tables)
- mlx-community/clairic-flash-4bit, community MLX build (speed and memory tables)
- Xylolabs/clairic-flash-GGUF, community GGUF build
- Can I run Qwen3.5 9B?, iownchatgpt.com engine (comparison numbers)
- Can I run Qwen3.8 27B?, iownchatgpt.com engine (comparison numbers)