Clef Models by Cloudflare

CloudflareApache 2.0Open sourceAgents
Cloudflare releases · 2 in the last 12 monthsChangelog →
2 models2026Up to 66k ctxFrom $0.090/1M input

Last refreshed 2026-10-04. Next refresh: weekly.

Details

ResearcherCloudflare
LicenseApache 2.0OSI-approved
Commercial useCommercial use: permitted
Models2
Released2026
Max context66k

Capabilities

VisionAll models
MultimodalAll models
Structured OutputsAll models

About

Clef is Cloudflare's family of open-weight multimodal decision models, trained by the Workers AI team and released 2026-10-01. A Clef model reads a state (text, JSON, or images) plus a schema of typed questions (noul, choice, or score) and returns a probability for every allowed option in one non-autoregressive pass, with no free-form text generation. Two sizes ship: Clef (27B, post-trained from Qwen3.8-27B) for highest-precision decisions and Clef-flash (9B, post-trained from Qwen3.5-9B) for latency-critical hot-path decisions. Both have a 64K (65,536-token) context on Workers AI, accept up to four images per request, follow the System One API so Jev integrations can switch by changing endpoint and model, and are published on Hugging Face under Apache 2.0. A peer of TypeSafe Jev, it gets its own Cloudflare family rather than sitting under system-one, jev, or a Qwen family.

Decision facts

Best fit
agentsvision and multimodal workstructured outputs
Capability starting point
Clef with 66k context and structured outputs and multimodal inputs
Lowest tracked input
Clef-flash · $0.090/1M · Cloudflare Workers AI
Closest related family
Agents-A1

Current Variants

Use-when guidance is based on each model's tracked capabilities, context window, release date, and replacement status.

2 in view
ClefCurrent

Use when the workload needs 66k context, 27B parameters, and structured outputs.

2026-1066k context27B parametersstructured outputs
Clef-flashCurrent

Use when the workload needs 66k context, 9B parameters, and structured outputs.

2026-1066k context9B parametersstructured outputs

Release Timeline

1 release group
2026-10
2 current
Clef
66k context27B parametersstructured outputs
Current
Clef-flash
66k context9B parametersstructured outputs
Current

Specifications(2 models)

Clef model specifications comparison
ModelReleasedContextParametersVisionMultimodalStructured Outputs
Clef2026-1066k27BYesYesYes
Clef-flash2026-1066k9BYesYesYes

Available From(1 provider)

Pricing

Clef model pricing by provider
ModelProviderInput / 1MOutput / 1MType
Clef-flashCloudflare Workers AI$0.09—Serverless
ClefCloudflare Workers AI$0.24—Serverless