cloudflareListed Oct 1, 2026

Cloudflare: Clef

Clef is Cloudflare's open-source 27B multimodal decision model, a fine-tune of Qwen3.8-27B served on Workers AI. It turns a state (text or structured JSON) plus a schema of typed questions...

Read full description

Clef is Cloudflare's open-source 27B multimodal decision model, a fine-tune of Qwen3.8-27B served on Workers AI. It turns a state (text or structured JSON) plus a schema of typed questions into decisions, returning a calibrated probability for every allowed option of every question in a single forward pass instead of generating tokens. Use it for classification, routing, scoring, guardrails, and agentic control flow through the Decisions API. Note: Workers AI currently truncates long text state to roughly the first 2K tokens, so content beyond that is not read; images are counted separately.

Source description ↗Checked
Context window65.5K
Max output59K
Provider endpoints2
Benchmark results0

Model overview

Cloudflare: Clef is a decision model from cloudflare. Listed capabilities include image input and open weights. The listed context window is 65,537 tokens.

Provider options and prices

Current standard quotes use 1M tokens. 2 listed provider options. Provider details and conditions →

  • DeepInfra ↗$0.24 input · $0.00 output / 1M tokens · USDCurrent standard quote
    Endpoint and conditionsCloudflare/clef

    Configuration not reported.

    Quote source ↗ · Checked

  • OpenRouter ↗$0.192 input · $0.00 output / 1M tokens · USDCurrent standard quote
    Endpoint and conditionscloudflare/clef

    Configuration not reported.

    Quote source ↗ · Checked

Benchmark coverage

No published model benchmark result is linked to this exact identity in the catalog.

Model brief

AI summary with sources

Checked

Per its Hugging Face card, Clef is a 27B multimodal model that turns a state and typed questions into decisions. [1]

It returns a probability for each allowed option of every question in one forward pass, not generated text. [1]

Good uses

  • OpenRouter's example shows narrow yes/no, category and rating questions, with your code owning the workflow. [2]
  • Per-option probabilities let you set your own confidence threshold before acting on an answer. [2]
  • The card says text-only and multimodal records can be mixed in one batch. [1]

Documented caveats

  • The release card reports testing with torch 2.11 and transformers 5.10.2 on a single H200 only; other setups are not documented here. [1]
  • It returns no free-form text, so it cannot draft or summarize content; use it for decisions. [1]
  • The license is Apache-2.0, following the base model Qwen/Qwen3.8-27B. [1]

How to try it

  • The card loads the release locally with load_release_model after downloading the repo, using a CUDA device. [1]
  • The card says Clef can be served with SGLang, with launch commands for H200, B200 and B300 in the SGLang cookbook. [1]
  • Through OpenRouter, call the decisions endpoint with model cloudflare/clef and typed questions, then read the answers. [2]

We have not found enough specific first-hand reports for this model yet.

Sources and dates2
  1. huggingface.co · OfficialPublication date not reportedChecked
  2. openrouter.ai · ProviderPublication date not reportedChecked
Measured performance

Benchmark results

All leaderboards ↗
—

No published results in this index yet

Scores appear here when an evaluation matches this exact model.

Access & cost

Prices across providers

2 quotes

Your token mix

USD · listed token rates

Input
$0.192
Output
$0.00
USD / 1M tokens
65.5K context59K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDcloudflare/clef

Model specifications

Developer
cloudflare
Modality
Decision
Context
65,537 tokens
Maximum output
58,983 tokens
Weights
Open weights
Provider listed
Oct 1, 2026
First discovered
Oct 16, 2026

Exact identities

  • deepinfraCloudflare/clef
  • openroutercloudflare/clef

Sources

Updated Dec 4, 2026

More from cloudflare

View all ↗
cloudflareListed 30 days ago

Cloudflare: Clairic

Clairic is Cloudflare's System One-style extraction model served on Workers AI. Given a text state and optional images plus a schema of typed fields, it extracts, computes, estimates, and forecasts...

65.5K contextImage inputOpen weightsNo reported score
No reported score
$0.10in$0.00out/ 1M tokens · USDOpenRouter
cloudflareListed Oct 9

Cloudflare: Clef Omni

Scores typed questions over images, audio and video in one pass; can hear video soundtracks while inspecting sampled frames.

65.5K contextImage inputAudio inputNo reported score
No reported score
$0.15in$0.00out/ 1M tokens · USDOpenRouter
cloudflareListed Oct 1

Cloudflare: Clef Flash

Small decision model for routing and scoring; the Workers AI route currently reads only roughly the first 2K text-state tokens.

24.6K contextImage inputOpen weightsNo reported score
No reported score
$0.038in$0.00out/ 1M tokens · USDDeepInfra · 2 endpoints