GPU Servers

Cloudflare Clairic Is Open-Weight: $0.24 per Million Tokens on Workers AI — or Free on Your Own GPU Server

12 min read

Cloudflare Clairic Is Open-Weight: $0.24 per Million Tokens on Workers AI — or Free on Your Own GPU Server

The Short Answer

Cloudflare now sells document extraction by the token — and gives the same models away for free if you would rather run them yourself. Clairic (27 billion parameters) and Clairic-flash (9 billion parameters) are extraction models that read text, images and PDFs and return typed values — a date as a date, a total as a number, a missing field as null — instead of generating prose like a chatbot. Both run on Cloudflare Workers AI and both are published as full open weights on Hugging Face under the Apache-2.0 license, so any team with a GPU server can download and self-host them.

The pricing changed five days ago, and that change is the reason to read carefully. Since the launch promotion ended on December 1, 2026, Clairic costs $0.24 per million input tokens on Workers AI and Clairic-flash costs $0.10 per million input tokens, with no charge for output tokens. Cloudflare’s Workers AI pricing page, checked on December 6, 2026, lists Clairic at “$0.100 per M input tokens (promo until Dec 1, 2026; then $0.240)” and Clairic-flash at $0.100. One trap: the individual model pages in Cloudflare’s docs still display $0.10 for Clairic. Budget from the pricing page, not the model page.

For server buyers the decision is familiar: pay Cloudflare per million input tokens and skip GPU operations, or download Apache-2.0 weights and run them on rented GPU capacity where cost per document falls as volume rises. Every price and limit below was checked on December 6, 2026 against Cloudflare’s blog, Workers AI pricing and model docs, and the Hugging Face cards. Where Cloudflare has not published a figure — independent benchmarks, hosted throughput, minimum GPU requirements — this article says so.

What Cloudflare Actually Released, and When

The timeline matters because December coverage has compressed it. Cloudflare first announced Clairic in preview on October 19, 2026, as the first of what it calls System One extraction models: specialists that answer with values in one step rather than reasoning through generated text. The preview endpoint hosted the smaller 9B variant at $0.10 per million input tokens.

On November 18, 2026 Cloudflare published the release that counts: an updated, redesigned Clairic plus the new Clairic-flash, both hosted on Workers AI and both released as open weights. The Workers AI superintelligence team’s post says the architecture was rebuilt after preview feedback: for ordinary text and number fields the new models use parallel slot autoregressive generation — each field generates its own tokens while all fields advance together — instead of the preview’s single forward pass. Separate heads handle computation, estimation and forecasts. PDF reading is new, alongside better handling of tables, lists and dates.

The endpoint swap is easy to miss. The 9B model that preview users were already calling moved to @cf/cloudflare/clairic-flash, and the 27B model took over @cf/cloudflare/clairic. Cloudflare rolled the new model in place for existing preview callers and held both endpoints at $0.10 per million input tokens until December 1, 2026, explicitly encouraging cost-sensitive workloads to move to Clairic-flash before the 27B price rose to $0.24. That deadline has now passed. Anyone still calling the Clairic endpoint out of habit is paying 2.4 times the flash rate — which may be worth it, but should be a choice, not an accident.

How Extraction Works: State In, Typed Values Out

A Clairic request has two parts. The state is the material to read: text or JSON, plus optional images and PDF documents. The fields map names each value you want and its type. Cloudflare’s documentation lists 13 field types: text, number, date, time, datetime, duration, boolean, enum, object, list, compute, estimate and forecast. Each field can carry plain-language instructions (“issue date plus the net payment days”), numeric units and rounding, list item schemas, or bounds for estimates and forecasts.

Each answer returns the typed value plus scoring: a confidence score, a p_null probability that the input does not determine the value, and — for text evidence — character spans pointing at the exact source characters. A field the document never mentions comes back as null rather than an invented guess. Estimates return a median with a p10-to-p90 interval. Cloudflare’s invoice example shows the pattern: it extracts the invoice number with its span, computes a due date 30 days after issue, totals 4 pallets at $250 plus $80 shipping to $1,080, and correctly returns null for a purchase-order number that does not exist.

Limits are concrete. The context window is 65,536 tokens. A request may include up to four images or PDF pages in total, embedded inputs are limited to 4 MiB each and 8 MiB combined, and remote media URLs are not accepted — you send the bytes. Both hosted models are listed with vision support and zero data retention in the docs. This is not a general chatbot replacement; it is a narrow, testable component for receipts, invoices, leases, support tickets and loan documents where the output feeds a database, not a reader.

Pricing Checked Today: Input Only, but the Schema Counts

Clairic billing is unusual in a way that favors buyers: only input tokens are charged. Cloudflare states plainly that although the redesigned models do generate output tokens internally, it keeps its System One pricing principle and absorbs the generation cost. There is no per-token output line to blow up on verbose answers, because there are no verbose answers.

The catch sits inside “input.” Billed input includes the state text, image tokens, and the schema describing your fields. In Cloudflare’s own example response, a 61-token state with a five-field schema bills as 655 input tokens — 61 state tokens plus 472 schema tokens across 3 passes. Short documents with elaborate schemas therefore cost more per document than the headline rate suggests, and re-sending the same large schema on every request is a real line item at volume. Trim field instructions, keep schemas tight, and measure with the usage block every response returns.

Item (checked 6 Dec 2026) Clairic Clairic-flash
Workers AI endpoint @cf/cloudflare/clairic @cf/cloudflare/clairic-flash
Parameters 27 billion 9 billion
Base model (Hugging Face card) Qwen3.8-27B Qwen3.5-9B
Price per 1M input tokens $0.24 (promo $0.10 ended 1 Dec 2026) $0.10
Output token charge None None
Neurons per 1M input tokens 21,818 9,091
Context window 65,536 tokens 65,536 tokens
Images / PDF pages per request Up to 4 total Up to 4 total
Open weights Apache-2.0 on Hugging Face Apache-2.0 on Hugging Face
Free allowance 10,000 Neurons/day ≈ 458,000 input tokens 10,000 Neurons/day ≈ 1.1M input tokens

Workers AI includes 10,000 Neurons per day free, resetting at 00:00 UTC; beyond that, Workers Paid charges $0.011 per 1,000 Neurons. That allowance covers roughly 458,000 Clairic input tokens a day or about 1.1 million flash tokens — enough for a serious evaluation or a low-volume trickle, not bulk backfile processing. For scale, the same page lists general LLMs with input and output charges (GLM 5.3 Flash at $0.15 / $0.50 per million tokens). For pure extraction, input-only pricing at $0.10–$0.24 is structurally cheaper than generated JSON from a chat model — provided quality holds on your documents.

Accuracy and Speed: Strong Claims, Self-Reported Evidence

Cloudflare is direct about the evidence problem: there are no public extraction benchmarks yet, and its published evaluations are self-reported “directional guidance.” Read the numbers with that label attached. On Cloudflare’s internal sets, the new Clairic scored 335 of 336 fresh text fields (Clairic-flash 328 of 336), matched all 1,263 tracked customer assertions (both models), and scored 576 of 576 synthetic receipt fields (both models), against weaker results for the preview and for two competitor pipelines it tested. Image reading, it says, improved from 207 errors to 0 on its internal benchmark after the redesign.

Latency, measured by Cloudflare as complete HTTP responses including all fields, is sub-second across its sets: fresh text fields at 358 ms median / 736 ms p95 for Clairic and 155 / 328 ms for Clairic-flash; image fields at 453 / 976 ms and 305 / 605 ms. Those are vendor measurements, not independent results — but even discounted, they describe a different class of latency than generating JSON token-by-token from a general LLM. The practical test is cheap: the free daily allowance will process your own sample documents, and every answer carries confidence and null probabilities you can threshold. Use the spans for auditability: an extracted total that points at its source characters can be verified mechanically, which a free-text LLM answer cannot.

The honest gaps: no independent benchmark, no published hosted throughput or rate-limit figures in the sources checked, and hosted terms that describe the models as “AS IS” with no guarantee of continued availability. Pin your evaluation set and re-run it when Cloudflare updates the model behind the unversioned endpoint.

Managed API or Your Own GPU Server?

Three routes exist today. Route one: Workers AI. Zero GPU operations, per-token billing, free daily allowance, zero data retention listed in the docs. Best for bursty, low-to-moderate volume, prototypes, and teams that value time-to-first-document over unit cost. If you already route AI calls through Cloudflare, the recently updated Cloudflare AI Gateway policies are the natural place to cap who can spend on extraction and how much.

Route two: self-host the open weights. Both repositories are ungated on Hugging Face under Apache-2.0, which permits commercial use. The runtime is Python 3.11+ with PyTorch, Transformers and xgrammar, loading Cloudflare’s own clairic_model.py helpers; examples load on CUDA. You own the serving stack and upgrade timing — and the GPU bill whether documents arrive or not. A continuously busy pipeline amortizes rented GPU capacity, while spiky traffic strands it. Start from our best cheap GPU VPS for AI comparison for per-hour GPU pricing before assuming self-hosting is cheaper; at $0.10 per million input tokens, Clairic-flash sets a low bar that only sustained volume clears. The cards checked publish no minimum GPU or VRAM figure — validate on your own hardware first.

Route three: a different managed inference API. Clairic is specialized; if your workload mixes extraction with general chat, embeddings or larger open models, compare against broader catalogs such as the Hetzner Inference API, which serves open-weight models from EU data centers on pay-per-token billing. The right answer depends on whether extraction is your whole AI workload or one step inside it.

Risks and Limits Worth Knowing Before You Build

Four cautions. First, the hosted models remain preview-grade with AS IS terms and no stated SLA; do not put a hard production dependency on the endpoint without a fallback. Second, estimates and forecasts are model probabilities, not facts — evaluate scores against your own thresholds and inspect truncation flags before relying on a result. Third, the four-page limit shapes workflows: a 40-page lease means chunking, and chunking means schema tokens billed per chunk. Fourth, verify the billed rate in your usage dashboard during the first week, given the model-page versus pricing-page disagreement.

None of these cancel the release’s significance. Because the weights are public, the hosted price has a permanent ceiling: the cost of running the same model yourself.

FAQ

What does Cloudflare Clairic do?
Clairic extracts typed values from unstructured inputs — text, images and PDFs. You send source material plus a schema of named fields (text, number, date, list, estimate, forecast and more), and it returns one typed answer per field with confidence scores, null probabilities and, for text, character spans pointing at the evidence. It does not write prose answers.

How much does Clairic cost on Workers AI?
Checked December 6, 2026: Clairic (27B) costs $0.24 per million input tokens since the $0.10 promotion ended December 1, 2026; Clairic-flash (9B) costs $0.10. Output tokens are not charged; billed input includes your document, image tokens and the field schema. Workers AI includes 10,000 free Neurons per day (about 458,000 Clairic tokens or 1.1 million flash tokens), then $0.011 per 1,000 Neurons on Workers Paid.

Is Clairic really open source?
The weights and runtime code are published on Hugging Face under the Apache-2.0 license, which allows commercial use, modification and resale. Training code and training data are not part of the release in the sources checked. The hosted Workers AI service runs under Cloudflare’s own terms.

Can I run Clairic on my own server?
Yes. Download Cloudflare/clairic or Cloudflare/clairic-flash from Hugging Face and run the included PyTorch/Transformers runtime (Python 3.11+, xgrammar; examples load on CUDA). The cards state no minimum GPU or VRAM requirement, so benchmark first. Self-hosting suits steady volume; the managed API wins for spiky or low volume.

How accurate and fast is it?
On Cloudflare’s self-reported internal evaluations, Clairic scored 335/336 fresh text fields and both models scored 1,263/1,263 tracked customer assertions, with median latencies of 358 ms (Clairic) and 155 ms (flash) on fresh text fields. Cloudflare states there are no public extraction benchmarks yet and labels these results directional. Validate on your own documents using the free daily allowance.

What are the limits?
65,536-token context window, up to four images or PDF pages per request, embedded inputs up to 4 MiB each / 8 MiB combined, no remote media URLs. The hosted terms provide the models AS IS with no guarantee of continued availability, so production systems should keep a fallback path.

The Bottom Line

Clairic is best understood as Cloudflare turning a common LLM chore — “read this document and give me these fields” — into a priced, typed, self-hostable component. The December 1 price step to $0.24 per million input tokens for the 27B model is real and should be budgeted from the pricing page, while Clairic-flash at $0.10 remains cheap enough that most teams should evaluate flash first and promote only the workloads that need the larger model. The free daily allowance makes that evaluation cost nothing but an afternoon.

For server owners, the durable point is the open weights. A managed extraction API whose identical model can be downloaded under Apache-2.0 and run on rented GPU capacity cannot quietly become expensive — the exit is always priced in GPU-hours. Start managed, measure your true input tokens including schemas, and let your own volume decide when a GPU server takes over.

Sources: Cloudflare Blog, “An updated Clairic and Clairic-flash are now open-weight,” November 18, 2026 — redesign, PDF support, internal eval/latency tables, endpoint swap, $0.24/$0.10 pricing, December 1 promo end, open weights. Cloudflare Workers AI Pricing (updated November 18, 2026) — Clairic $0.100 promo until Dec 1 then $0.240 (9,091 then 21,818 Neurons/M), flash $0.100 (9,091 Neurons), 10,000 free Neurons/day, $0.011/1,000 Neurons. Cloudflare model docs for both endpoints — 65,536 context, vision, zero data retention, invoice example (655 input tokens incl. 472 schema tokens), AS IS terms; model pages still show $0.10, noted above. Hugging Face cards Cloudflare/clairic (27B, Qwen3.8-27B) and Cloudflare/clairic-flash (9B, Qwen3.5-9B) — Apache-2.0, PyTorch/Transformers/xgrammar, 13 field types, four-page and 4 MiB/8 MiB limits. All checked December 6, 2026. Independent benchmarks, hosted rate limits and minimum GPU requirements were not published in any source checked; none are stated here.

Leave a Reply

Your email address will not be published. Required fields are marked *