---
title: "Clairic"
description: "Cloudflare's open-weight 27B extraction model, a fine-tune of Qwen3.8-27B: it fills a schema of typed fields from text, images or PDFs, with a confidence for each answer, at $0.24 per million input tokens on Workers AI."
canonical: https://pydantic.dev/models/list/clairic/
---

# Clairic

> Cloudflare's open-weight 27B extraction model, a fine-tune of Qwen3.8-27B: it fills a schema of typed fields from text, images or PDFs, with a confidence for each answer, at $0.24 per million input tokens on Workers AI.
>
> Markdown copy of [https://pydantic.dev/models/list/clairic/](https://pydantic.dev/models/list/clairic/). Index for agents: [llms.txt](https://pydantic.dev/models/llms.txt)

**Agents: use the API for model information.** It answers a question in one request, where the pages need several.

- Choose a model for an agent: `GET https://pydantic.dev/models/api/select?description=<what the agent does>`. It returns up to five ranked models with reasons; POST a JSON body instead to send code. Format: [select.md](https://pydantic.dev/models/select.md)
- Search models by name: `GET https://pydantic.dev/models/api/search?query=<text>`
- List, filter and sort models: `GET https://pydantic.dev/models/api/models`, for example `?weights=open&max_price=2&sort=efficiency`
- One model in full: `GET https://pydantic.dev/models/api/models/<slug>`
- Any other question about the models: `GET https://pydantic.dev/models/api/ask?query=<question>`

Add `intent=<intent>&stack=<stack>&harness=<harness>` to the query string of all but the single model. An `OPTIONS` request to any endpoint returns its schema. The same five are tools of the MCP server at `https://pydantic.dev/models/mcp`. More: [usage.md](https://pydantic.dev/models/usage.md)

A decision model answers typed questions about a state (yes/no, choice from a list, or a score) with a probability for each answer, instead of writing text. In Pydantic AI the agent's output type is the questions: each field is one, and the answer comes back as that type. [Decision models in Pydantic AI](https://pydantic.dev/docs/ai/models/decision/).

Pydantic AI has no built-in way to reach the providers that serve this model yet. Call the provider's own API.

## Spec sheet

- **Type:** decision model
- **Family:** Cloudflare
- **Released:** 19 Oct 2026
- **Weights:** open
- **Context window:** 65,536 tokens
- **Accepts:** text, image
- **Answers:** Typed questions: yes/no, choice, score
- **Knowledge cutoff:** unknown
- **Scores updated:** 2026-12-06
- **Price:** $0.24 per 1M input tokens; output is free
- **Popularity:** rank 163 of 224 by usage
- **Pydantic AI Gateway:** not available

## Benchmarks


| Benchmark                       | Score | Rank among models tested | What it measures                                                                                                                              | Source                                                                              |
| ------------------------------- | ----- | ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
| Pydantic AI Decision Combined   | 75.6% | 13                       | The mean of the nine Pydantic AI decision benchmarks that a decision model can answer                                                         | Pydantic (CC BY 4.0)                                                                |
| Pydantic AI - Company accounts  | 57.5% | 17                       | Twelve typed questions about a set of real UK company accounts, checked against the figures the filer tagged                                  | Pydantic (CC BY 4.0)                                                                |
| Pydantic AI - Trip requests     | 60%   | 12                       | A customer's message asking for flights, filled in as a booking of 11 typed fields                                                            | Pydantic (CC BY 4.0)                                                                |
| Pydantic AI - Browser steps     | 61.7% | 18                       | The next step a browser agent's driver should take on a page, from real runs                                                                  | Pydantic (CC BY 4.0)                                                                |
| Pydantic AI - Email triage      | 89%   | 5                        | Six typed questions about each of 516 real emails from one inbox: what to do with it, whether it needs a reply, whether it is phishing        | Pydantic (CC BY 4.0)                                                                |
| Pydantic AI - Reply quality     | 89.6% | 15                       | Whether a support answer worked, judged from what the customer wrote next, in five typed questions                                            | Pydantic (CC BY 4.0)                                                                |
| Pydantic AI - Dashboard builder | 82.5% | 9                        | A request for a dashboard, built by choosing how to show each metric, the layout, the period and the filters                                  | Pydantic (CC BY 4.0)                                                                |
| Pydantic AI - Code review       | 68.9% | 15                       | One yes/no question per kind of defect in a function of real Python, TypeScript or Rust: catch the bugs, pass the clean code                  | Pydantic (CC BY 4.0)                                                                |
| Pydantic AI - FDA recalls       | 74.3% | 18                       | Classify 2,000 FDA recalls as Class I, II or III, and as a device, a drug or food, from the product description and the reason for the recall | Pydantic (CC BY 4.0), from openFDA enforcement reports (CC0)                        |
| Pydantic AI - Court outcomes    | 96.6% | 13                       | Read 984 Indian High Court judgments of 1,500 to 19,000 tokens and say how each case was disposed of and what kind of case it is              | Pydantic (CC BY 4.0), from Indian High Court Judgments on AWS Open Data (CC BY 4.0) |
| Pydantic AI - Invoice fields    | 62.1% | 5                        | The fields of 87 real invoices as free values: names, dates, amounts and whether it is paid                                                   | Pydantic (CC BY 4.0)                                                                |
| Pydantic AI - Device clearances | 94%   | 5                        | The fields of 500 FDA 510(k) clearance letters as free values: the applicant, the device, its codes and class, and the date                   | Pydantic (CC BY 4.0), from openFDA 510(k) records and FDA letters (CC0)             |

## Providers and prices

US dollars per million tokens.

| Provider              | Gateway | Pydantic AI string | Input | Cached input | Output |
| --------------------- | ------- | ------------------ | ----- | ------------ | ------ |
| Cloudflare Workers AI | –       | –                  | $0.24 | –            | $0     |
| OpenRouter            | –       | –                  | $0.1  | –            | $0     |

## About Clairic

Clairic costs $0.24 per million input tokens and $0 per million output tokens and has a 66k token context window.

Clairic is Cloudflare's System One-style extraction model. A preview went up on Workers AI on 19 October 2026; on 18 November Cloudflare replaced it with a 27B model, a fine-tune of Qwen3.8-27B, and published the weights on Hugging Face under the Apache 2.0 licence. Given a state of text, up to four images or PDF pages, and a list of typed fields (text, number, date, boolean, enum, list and others), it extracts, computes or estimates a value for each field with a confidence. Text answers are spans copied from the input.

Its context window is 65,536 tokens. Input costs $0.24 per million tokens on Workers AI since 1 December 2026, when a $0.10 launch price ended, and output is free. Cloudflare's own evals, which it calls directional, put its median latency between 358 and 691 ms.

It takes a flat list of fields, so a nested output type has to be flattened, and a list of options asked as one yes/no per option.

**Strengths**

- A confidence for each field it answers
- Open weights under Apache 2.0
- Reads images and PDFs as well as text

**Weaknesses**

- Answers only typed fields; it cannot write free text, call tools or run as an agent
- No nested fields or lists of options, so such output types must be flattened
- $0.24 per million input tokens, more than twice Clairic Flash and six times Clef Flash

**Best for:** Pulling typed fields (dates, amounts, choices, yes/no) out of documents at high volume, where a confidence per field is useful.

Prices come from [genai-prices](https://github.com/pydantic/genai-prices), in US dollars per million tokens. Benchmark scores come from Epoch AI and LMArena (CC BY 4.0), Browser Use, our own Pydantic AI benchmarks (CC BY 4.0), and, for decision models, Artificial Analysis and the Jev Decision Index; the index and its sources are described in [the methodology](https://pydantic.dev/models/methodology.md). Data built 2026-12-06. This model from the API: `https://pydantic.dev/models/api/models/clairic`. Compare it with others: `https://pydantic.dev/models/api/models?slug=clairic,<other slug>`
