Cloudflare Clef - Cloudflare's Open-Weight Decision Models for Agent Routing

Cloudflare Clef is Cloudflare's first in-house open-weight decision model family, built for AI agents that need to make fast, structured choices — route a ticket, block a request, or escalate — without generating free-form text. It launched on Workers AI on October 1, 2026.

Core Features

  • Two sizes: Clef at 27B parameters (built on Qwen3.8-27B) and Clef-flash at 9B (built on Qwen3.5-9B), both Apache 2.0.
  • Returns probabilities for typed questions (yes or no, multiple choice, or rubric score) in a single forward pass — no parsing of generated text.
  • Multimodal: reads images and video frames alongside text, unlike the text-only Jev it competes with.
  • 64,000-token context, double Jev's 32K window.
  • Hosted on Cloudflare Workers AI at $0.24 per million tokens for Clef, or run locally via Hugging Face.
  • Drop-in compatible with the Jev System One API; median latency 209 ms (Clef) and 38.8 ms (Clef-flash).

Use Cases

  • Agent routing: deciding which tool to call or which team owns a ticket.
  • Moderation and triage of uploaded images and documents.
  • Cost-sensitive hot-path decisions placed directly in front of a larger LLM.

Pricing

Clef is open-weight (Apache 2.0) on Hugging Face for local deployment at no license cost. On Cloudflare Workers AI, Clef is billed at $0.24 per million input tokens and Clef-flash at a lower rate, with no charge for the structured output.

Pros & Cons

Pros: open weights; multimodal; very fast; Jev-compatible API. Cons: benchmarks are Cloudflare's own; trails Jev on some knowledge tasks.

Our Take

Best for teams already on Cloudflare Workers who want cheap, fast routing decisions. The trade-off is that Cloudflare's accuracy claims are vendor-reported and unverified independently.

See more AI models on aifreetool.site.

FacebookXWhatsAppEmail