Skip to content
local-ai

Cloudflare open-weights Clairic, an Apache-2.0 document-extraction pair including a 9B that runs locally

Model release

By Leon Mallett

Originally announced by Cloudflare (blog) . We link the primary source so you can read it for yourself.

Cloudflare has published the open weights for its Clairic extraction models. On 18 November it released an updated Clairic, a 27-billion-parameter model, alongside a new Clairic-flash at 9 billion parameters, both as safetensors on Hugging Face under an Apache 2.0 licence and both also hosted as paid endpoints on Cloudflare’s own Workers AI. The models had been available as a hosted preview since 19 October; this is the point at which the weights themselves became downloadable.

What they do

These are not general-purpose chat models. Clairic and Clairic-flash are built for structured data extraction: you give the model unstructured input, including text, images and PDFs, and a schema of fields you want back, and it returns typed values, such as the supplier, line items and total from an invoice, along with confidence scores and character spans. Both are fine-tuned from Qwen 3 bases, which the model cards state plainly: Clairic from Qwen3.8-27B and Clairic-flash from Qwen3.5-9B. The Apache 2.0 licence is clean, with no revenue threshold, no monthly-active-user gate and no territory clause, which the shared Qwen lineage permits because the 27B base is itself Apache 2.0.

The notable engineering detail is how the models generate. For ordinary text and number fields Cloudflare replaced a single forward pass with what it calls parallel slot autoregressive generation: each field writes its own tokens and stops at its own end marker, while all the fields in a request advance together through the serving batch. Cloudflare says this improved accuracy for text and images at a small latency cost. Separate heads handle computation and estimation cases, such as durations, calculated dates and arithmetic.

Why this matters for local use

The reason this belongs on a local-AI site is the 9B flash model and the licence together. Document extraction is often exactly the work people most want to keep off third-party servers: invoices, receipts, contracts and identity documents are sensitive, and sending them to a hosted API is the thing a privacy-conscious setup is trying to avoid. A 9-billion-parameter model is comfortably a consumer-GPU model. Quantised to 4-bit it needs on the order of 6GB of VRAM, an approximate figure that rises with context, which puts it within reach of a modest graphics card or an Apple Silicon machine. The 27B is heavier but still fits a single high-end consumer card once quantised. The model cards link community quantisations for use with llama.cpp, Ollama and LM Studio, though Cloudflare itself ships only safetensors.

It is worth being clear-eyed about the shape of this release. Cloudflare is a cloud company, and the open weights sit alongside a commercial hosted service: the Workers AI endpoints are priced at $0.24 per million input tokens for the 27B and $0.10 for the 9B, with both at $0.10 until 1 December. Open-weighting a model you also sell access to is a real and welcome choice, but it is not charity, and it does not make the weights open in the fuller sense. The training data is not published, so this is an open-weight release, not an open reproduction.

How good is it, really

Cloudflare is unusually candid here, and we will take it at its word in both directions. It writes that “there are no public extraction benchmarks yet”, and describes its own figures as “directional guidance since they are self-reported”. Those figures are strong on their internal sets, for instance 335 of 336 fresh text fields for the 27B against 295 for the earlier preview, and a reported reduction in image-reading errors from 207 to zero on an internal benchmark. But a self-reported score on a private benchmark is a claim, not a measurement, and extraction accuracy is highly sensitive to document type, so the honest position is that these look promising and remain unverified by anyone outside Cloudflare. For anyone who handles sensitive documents, the more durable point is simpler: a capable, genuinely local extraction model, at a size that runs on hardware you already own, is now a permissively licensed option rather than a hosted-only one. This follows the wider pattern of Qwen 3.8 open weights becoming the base that specialised local models are built on.

Models mentioned

Glossary