Skip to content
AIBRAINWORX / OpenSourceCoder.comLOCAL-FIRST. BUILT IN THE OPEN.
Multimodal & Vision / Developer & Agent Tools

Cloudflare Releases Clairic 27B Open-Weight Multimodal Model for Typed Extraction and Forecasting

Cloudflare has published Clairic under the Apache-2.0 license on Hugging Face, pairing a 27B vision-language architecture with xgrammar schema constraints to produce typed extractions, estimates, and forecasts from text, images, and PDFs.

Listen to this articleBrowser Voice
Ready
Official company logo or product image for cloudflare-clairic-27b-multimodal-typed-extraction-forecasting
Official image or organization logo from huggingface.co; identification only, no endorsement.
Event / context: 2026-10-16. Source check: October 28, 2026.

Cloudflare has released Cloudflare/clairic on Hugging Face under the Apache-2.0 license, introducing a 27-billion-parameter multimodal model built to convert unstructured text, JSON states, images, and PDFs into strongly typed outputs. Rather than targeting open-ended chat alone, Clairic pairs vision-language processing with schema-constrained decoding, numerical computation, estimation, and forecasting inside a Python and Hugging Face Transformers workflow. Published on October 16, 2026, the release drew developer attention on Hugging Face Trending alongside custom inference code for structured extraction.

Core Announcement and Operational Scope

Clairic is designed as a structured extraction and forecasting engine rather than a general conversational assistant, though its Hugging Face listing carries both image-text-to-text and conversational tags. According to the model card, it accepts a text or JSON state alongside optional images or embedded PDFs and a mapping of field names to typed specifications. The model returns typed values, lists, nulls, numerical estimates, and forecast paths keyed to each requested field, paired with extraction confidence scores, null probabilities, input truncation flags, and token usage metadata.

Cloudflare notes a sibling model, Clairic Flash, within the same family, though its specifications are not detailed on the Clairic card. Clairic's core design centers on System One: Extract requests, targeting document parsing, receipt extraction, demand estimation, and multi-horizon numerical forecasting through one unified inference call.

Architecture, Schema Types, and Runtime Stack

The model card lists Qwen3.8-27B as Clairic's base model, while Hugging Face metadata tags cite qwen3_5 alongside safetensors, multimodal, structured-output, information-extraction, and custom-code. Distributed in Safetensors format, the runtime requires Python 3.11 or later, PyTorch, Hugging Face Transformers, and dependencies from requirements.txt. To enforce strict structural output, Clairic uses xgrammar as a Transformers logits processor constraining generation to the declared schema.

Developers invoke the model locally using load_release_model and systemone from clairic_model after downloading snapshots via huggingface_hub. Its schema supports thirteen field types: text, number, date, time, datetime, duration, boolean, enum, object, list, compute, estimate, and forecast. Specifications can define instructions, units, and rounding rules. The compute type routes to a typed numeric head, while estimate and forecast require minimum and maximum bounds; forecasts add horizon and interval parameters alongside optional quantile output via options.include_quantiles.

Field-level controls govern grounding and abstention. Because nullable defaults to true, Clairic can emit null probabilities rather than fabricating missing data. Setting source_only: true restricts extraction to literal printed numbers, dates, times, datetimes, or lists, whereas knowledge: true permits knowledge-backed answers for text, numbers, and supported list children. Callers can also pass an ISO reference_date for relative dates and enable options.return_state_text.

Deployment Paths and Developer Workflow Impact

For developers building document or operational pipelines, Clairic consolidates OCR parsing, schema validation, confidence scoring, and bounded estimation into one interface. The systemone helper serializes JSON states to text, accepts PIL images, base64 images, or embedded PDF data URIs, and returns a dictionary containing model, answers, truncated, and usage. It also accepts serving aliases like clairic-27b and @cf/cloudflare/ prefixes, reflecting alignment with Cloudflare-hosted serving conventions.

Beyond the custom Python wrapper, the Hugging Face page documents deployment via Transformers' pipeline("image-text-to-text") and AutoModelForMultimodalLM, OpenAI-compatible serving in vLLM and SGLang (including an lmsysorg/sglang:latest Docker command with 32 GB shared memory), and Docker Model Runner via docker model run hf.co/Cloudflare/clairic. Because generic chat servers do not automatically replicate the clairic_model wrapper, teams needing typed compute, estimate, and forecast outputs will likely rely on the bundled Python code unless they adapt it directly.

Input Constraints, Licensing, and Technical Caveats

Although the Apache-2.0 license permits commercial use and redistribution, callers face strict input boundaries in the System One interface. Individual embedded files are capped at 4 MiB each and 8 MiB combined, and images plus rendered PDF pages share a four-item ceiling. Remote media URLs are rejected, requiring local or base64 payloads, while image rotation supports only 0, 90, 180, or 270 clockwise degrees after EXIF orientation. Invalid options or unsupported field combinations are rejected outright.

Prospective adopters should also note gaps in the published documentation. The model card excerpt includes no accuracy benchmarks, latency figures, or VRAM sizing metrics for the 27B weights, requiring teams to benchmark extraction confidence and forecast quantiles on their own workloads. Finally, given the mismatch between the card's Qwen3.8-27B citation and the qwen3_5 repository tag, engineers building third-party quantizations for llama.cpp, Ollama, or LM Studio should inspect the repository configuration files first.

Automated Vertex AI (gemini-4-hydrogen) primary-source report; reviewed 2026-11-22.

Follow your curiosity.

Pass the signal.