Field noteOct 23, 20261 min read1 source

clef (Cloudflare) · Cloudflare Workers AI docs

In one minute

Cloudflare’s Workers AI documentation now describes Clef, a Cloudflare-hosted 27B multimodal decision model available as `@cf/cloudflare/clef`.

What changed: The docs add Clef specifications: a 27B multimodal model with a 65,536-token context window, $0.24 per million input tokens, and no output-token charge.

Rather than producing unrestricted text, it evaluates a supplied state against typed questions and returns probabilities for permitted answers.

The state can be text, JSON, images, or video. The API supports 1 to 64 questions per request, using noul, choice, or score question types. It also exposes a clef-flash selector. Clef has a 65,536-token context window and accepts up to four embedded PNG, JPEG, or WebP images; remote image URLs are not accepted.

Cloudflare lists input pricing at $0.24 per million tokens and says there is no output-token charge. Images are converted to input tokens, capped at 1,024 tokens each. The documentation does not establish a release date, availability by plan or region, benchmark results, or how Clef compares with other decision models.

Evidence / sources

  1. 1developers.cloudflare.com/workers-ai/models/clef
All Field Notes

Next reads

Read next

Open the graph
  1. 01topicGenerative UiExplore the generative-ui topic hub.
  2. 02topicAgent InterfacesExplore the agent-interfaces topic hub.
  3. 03archiveField NotesOpen the latest editorial analysis.
  4. 04source ledgerSource LedgerInspect the public source evidence graph.
Who read this page?Machine requests, hidden until opened

Loading the privacy-safe route aggregate...

Open the JSON contract