Clef

Released
2026-10-01
Last refreshed
2026-10-15
Status
Researched 35d ago
Open sourceCommercial use: permittedMultimodalAgentsVisionClassificationJSON / Tool useAgent
Cloudflare releases · 5 in the last 12 months · this family litChangelog →
Specifications
Family
Clef
Released
2026-10-01
Context
64K
Parameters
27B
Openness
Open source
License
Apache 2.0OSI-approvedPermitted
Weights
Available
Code
Unknown
Training
Fine-tuned
Created by

Cloudflare is the connectivity cloud company behind Workers AI. Its Workers AI team trained and released Clef and Clef-f

San Francisco, California, United States
Website
Pricing
Output / 1M
Free
Input / 1M
$0.240

Cheapest of 1 route · Cloudflare Workers AI

About

Clef is Cloudflare's 27B open-weight multimodal decision model, released 2026-10-01 as one of the first models trained by the Workers AI team. Post-trained from Qwen3.8-27B: the backbone is frozen, and a joint schema head is trained alongside rank-256 LoRA adapters with label-smoothed cross-entropy, a Brier calibration loss, and RLCD. Clef reads a state (text, JSON, or images) and up to 64 typed questions (choice, yes/no (called "noul" in the API) or score) and returns a probability for every allowed option in one non-autoregressive pass: a prefill-only backbone pass, then parallel schema scoring, with no free-form text generation and no output…

Top use-case fit: coding, agents, and build tasks

Classification

Q/$ A

Providers(1)

Compare API pricing across 1 tracked provider route for input and output tokens, batch, and cached reads when available.

ProviderInput / 1MOutput / 1MRoute
Cloudflare Workers AI$0.240Free
Serverless

Capabilities

VisionMultimodalStructured Outputs

Benchmark peer barsfor Classification

Benchmark scores(9)

Scores are benchmark-specific and are direction-aware: the same numeric gap can mean very different outcomes across suites. Use the leaderboard context and this model's provider route to decide whether the winning margin is meaningful for your workload.
BenchmarkScoreVersionEvaluationSource
90.3decision-format (Decision Index 0.2.1 internal run)Observed 2026-10-15—
48.0diamond decision-format (Decision Index 0.2.1 internal run)Observed 2026-10-15—
99.0decision-format (Decision Index 0.2.1 internal run)Observed 2026-10-15—
97.7challenge decision-format (Decision Index 0.2.1 internal run)Observed 2026-10-15—
93.5decision-format (Decision Index 0.2.1 internal run)Observed 2026-10-15—
98.2decision-format (Decision Index 0.2.1 internal run)Observed 2026-10-15—
80.8decision-format (Decision Index 0.2.1 internal run)Observed 2026-10-15—
65.9decision-format (Decision Index 0.2.1 internal run)Observed 2026-10-15—
53.10.3.2Observed 2026-10-17—

Migration checks

No linked migration route is available for this model yet.

API versions

@cf/cloudflare/clefclefClefCloudflare/clef