Cloudflare opens the weights of Clairic and Clairic-flash: 27B and 9B extraction models that read PDFs and bill only for input tokens
A pair of small models built only for structured extraction, with weights on Hugging Face and hosted endpoints on Workers AI. For teams still running receipt, contract or ticket field extraction on large general models.
// Key points
- The new Clairic uses parallel slot autoregressive generation: each field generates on its own and stops at its own end marker. It still returns confidence scores, character spans and probabilities.
- It now reads PDFs, with up to four images or PDF pages per request; on internal benchmarks image reading errors fell from 207 to 0, with responses in under one second.
- The 27B Clairic costs $0.24 per million input tokens and the 9B Clairic-flash $0.10, with no charge for output; until December 1 both cost $0.10.
- Full open weights for both models are published on Hugging Face.
Builder's takeAfter a file is uploaded, AI Cloud Drive needs fields like title, date and amount, and running that on a general model is expensive and unstable. A small model that only extracts and returns confidence, like Clairic, fits that job. I would use the pre-December 1 price to run the 27B version on a batch of real receipts and PDFs, and send low-confidence fields to a large model as fallback. Cloudflare's evals are self-reported, so validate on your own samples.
// Background · from #Open models
Full timeline →- Nov 19 Hugging Face shows Transformers streaming MoE experts from SSD: a 180B-parameter model runs at about 14 tok/s on a 32 GB MacBook
- Nov 19 AWS Lambda Managed Instances adds GPUs: run inference functions on EC2 G-series instances, with vLLM, SGLang and PyTorch base images
- Nov 19 Rumble-2-Flash is open-sourced under Apache 2.0: a 0.5B-parameter speech recognition model for 40+ languages, averaging 6.96% error on the multilingual track