Clef is available on Ollama's cloud
October 19, 2026
Clef, a 27B multimodal decision model from Cloudflare, is now available on Ollama. Users can run it locally or on Ollama’s cloud. Clef turns a state and a schema of typed questions into decisions. It supports text and image input and is compatible with the Jev and System One APIs.
Clef is fine-tuned from Qwen3.8-27B and released under the Apache 2.0 license.
Highlights
Multimodal: Make decisions over text, JSON, or images, including screenshots, receipts, forms, and photos.
One pass: Clef reads the input once and scores every answer to every question at the same time, instead of writing a response word by word.
Leading accuracy: Clef tops Cloudflare’s Decision Index and beats Jev on most of its benchmark suite.
What you can build
Clef supports the following use cases:
Route a request: Define destinations and when each applies. Clef returns the chosen destination and each destination’s probability.
Check a condition: Define a yes-or-no question and the evidence. Clef returns true or false and the probability of each.
Apply a policy: Define rules and allowed outcomes to receive a typed decision based on supplied text or images.
Read a document: Supply a photo of a page and the fields to evaluate for field-by-field decisions with probabilities.
Tool-call moderation: Check an agent’s tool call before it runs.
Benchmarks
Results from Cloudflare’s announcement, scored on evaluations from the Jev Decision Index:
Benchmark Clef Clef-flash Jev DiffusionGemma Jev Kev 9B Laya
BFCL · case exact 98.47 98.76 95.75 96.52 94.51 38.13
ToolRet · nDCG@10 69.19 66.43 65.28 61.21 64.26 12.69
API-Bank · accuracy 91.93 93.11 88.19 83.66 56.30 11.41
Home appliances · case exact 82.95 97.73 52.27 42.05 25.00 0.00
When2Call · accuracy 72.37 65.58 80.97 75.44 49.62 11.94
BANKING77 · macro-F1 94.20 90.93 79.74 74.28 84.83 14.29
CLINC150+OOS · macro-F1 97.43 66.77 89.27 83.49 79.03 3.19
BRIGHT · nDCG@10 45.91 39.26 47.52 42.94 38.53 19.90
Amazon ESCI · macro-F1 57.48 57.39 55.21 53.37 49.22 24.40
PhishNChips · accuracy 79.60 75.05 62.55 85.35 50.75 50.15
On Typesafe’s own workflow evals, Clef beats Jev in 3 of 4 areas:
Workflow Clef Clef-flash Jev
Invoice processing 64.7 57.1 61.8
Customer service 76.3 77.0 76.0
Security incidents 62.9 61.7 61.7
Agent trace observability 68.5 69.8 71.6
Latency across 43 eval benchmarks, in milliseconds:
Latency Clef Clef-flash Jev DiffusionGemma Jev Kev 9B Laya
Median 209.3 38.8 524.1 84.4 51.4 5.8
p95 238.6 122.4 536.0 211.2 187.9 222.5
For more information, see:
Clef model page
Ollama Cloud documentation
Download Ollama