Cloudflare's Clef-Omni Brings Audio and Video Into One Decision Model
Cloudflare adds a Qwen3-Omni mixture-of-experts variant that scores audio and video alongside text and images in one pass, with no token generation.
Takeaways
- Clef-omni adds audio and video input to Cloudflare's open-weight decision model family, Apache 2.0 licensed.
- 30B mixture-of-experts (3B active) post-trained from Qwen3-Omni-30B-A3B-Instruct, served at $0.15 per million input tokens.
- Returns calibrated probabilities over typed questions in one forward pass, no text generation or output parsing.
- Clef-flash price cut to $0.038/M tokens (below Jev's $0.042), but hosted context shrinks from 64K to 24K.
- Clef is now up to 2x faster thanks to serving-layer optimizations, including a move to SGLang.
- Weak on multi-hop reasoning (BBH, MMLU-Pro) and hallucination detection; strong on intent classification and multimodal routing.
Cloudflare has expanded its Clef decision-model family with Clef-omni weights, an Apache 2.0 model that accepts audio, video, images, and text in one request. The company also says it roughly doubled inference speed for the existing Clef model and cut Clef-flash’s input price below TypeSafe’s Jev.
Clef models turn an application state and a schema of typed questions into probability distributions for every allowed answer. One model execution can classify content, score risk, route a request, or trigger a guardrail. Calibration aims to make those probabilities operationally useful: predictions assigned 80% confidence should be correct about 80% of the time over a representative sample.
Inside the 30B model
Clef-omni uses Qwen3-Omni-30B-A3B-Instruct as its backbone. The mixture-of-experts architecture contains 30 billion parameters but activates about 3 billion for each token, reducing the computation required for inference. Cloudflare freezes that backbone and trains low-rank adapters plus a scoring head, using label-smoothed cross-entropy and a Brier penalty to improve probability calibration.
The joint schema head reads the backbone’s final hidden states, associates relevant evidence with each question, and produces one raw score for every allowed option. A per-question softmax converts those scores into probabilities. Applications receive structured decisions directly, eliminating generated-JSON parsing and retries caused by malformed output.
| Deployment detail | Clef-omni specification |
|---|---|
| Hosted platform | Workers AI |
| Hosted context | 64K tokens |
| Self-hosting | About 64 GB of GPU memory in bfloat16; tested on one H200 |
| Serving frameworks | SGLang and vLLM |
| License | Apache 2.0 |
Cloudflare attributes part of the existing Clef endpoint’s roughly twofold speed increase to moving hosted inference to SGLang.
One call trims the media pipeline
A conventional audio or video decision stack may transcribe speech, sample frames, run a vision model, combine the intermediate results, and pass them to a text classifier. Clef-omni accepts the source media and typed questions together, producing all requested decisions in one forward pass.
| Input | Cloudflare’s reported latency |
|---|---|
| Text-only decision | About 130 ms median |
| Image decision | About 150 ms |
| 21-second video with audio | About 1.5 seconds |
At the quoted rate of $0.15 per million input tokens, each request’s cost depends on the token count assigned to its text and media. Billing covers input tokens, while the fixed decision response adds no generated-output token charge.
Hosted media limits
| Media type | Per-request limit | Formats and processing |
|---|---|---|
| Images | Up to four | PNG, JPEG, or WebP; 64 to 1,024 tokens each |
| Audio | Up to four clips, 300 seconds each | WAV or MP3; about 780 tokens per minute |
| Video | Up to two clips, 60 seconds each | MP4 or WebM; sampled at two frames per second |
The contract stays schema-bound
The request contract accepts a text or JSON state, optional media, and a question object. Cloudflare describes it as drop-in compatible with Jev and SystemOne. Questions can use the choice, score, or noul types, with noul representing a true-or-false decision.
record = {
"state": {
"task": "Review the attached call recording and dashcam clip."
},
"audio": ["call.wav"],
"videos": ["dashcam.mp4"],
"questions": {
"glass": {
"type": "noul",
"instructions": "Is glass breaking in the audio clip?"
},
"collision": {
"type": "noul",
"instructions": "Does the video show a collision?"
}
}
}
Each question produces probabilities for its allowed outcomes. A client can apply thresholds, rank options, or route the request without extracting an answer from generated prose.
Strong intent scores, uneven workflows
Cloudflare’s Decision Index reports strong results for intent classification and general-knowledge tasks. The figures are vendor-reported benchmark results and should be reproduced against the data distribution, thresholds, and media formats used in production.
| Benchmark | Metric | Clef-omni result |
|---|---|---|
| BANKING77 | Macro-F1 | 94.8 |
| CLINC150+OOS | Macro-F1 | 97.7 |
| Amazon ESCI | Reported score | 57.8 |
| MMLU | Reported score | 92.7 |
| HellaSwag | Reported score | 99.1 |
| ARC-Easy | Reported score | 99.8 |
| CRUXEval | Reported score | 88.8 |
The weaker results appear in text-heavy workflow and reasoning evaluations. Home Appliances case-exact accuracy is 69.3, compared with 97.73 for Clef-flash. When2Call accuracy is 63.3, compared with Jev’s 80.97. RAGTruth hallucination F1 falls to 42.0 from Clef’s 79.4, while BBH and MMLU-Pro trail Jev by double digits. Clef-omni also scores below Clef across all five reported TypeSafe workflow metrics. Mixed-media workloads are its clearest fit; dense Clef remains the stronger candidate for text-only tasks involving multi-step reasoning or hallucination detection.
Flash trades context for a lower price
Cloudflare cut Clef-flash’s hosted input price from $0.09 to $0.038 per million tokens, placing it below Jev’s quoted $0.042 rate. The hosted Clef-flash context window also shrank from 64K to 24K input tokens.
| Model | Input price per million tokens | Hosted context |
|---|---|---|
| Clef-flash | $0.038, down from $0.09 | 24K, down from 64K |
| Clef-omni | $0.15 | 64K |
| Jev | $0.042 | Unspecified in the announcement |
Cloudflare says only 0.24% of Clef-flash requests exceed 24K input tokens. Hosted requests above that ceiling will require truncation, chunking, another model, or a self-hosted deployment using the public weights. The dense Clef endpoint retains its 64K context window.
What changes in production
Clef-omni can reduce the number of services involved in media classification, moderation, routing, and triage. Its fixed schema produces probabilities that downstream code can threshold directly, while native media support removes separate transcription and visual-analysis stages for supported inputs.
Production checks
- Task accuracy: Compare Clef-omni with the current pipeline on representative text, images, audio, and video.
- Calibration: Measure whether predicted probabilities match observed outcome rates at the thresholds used by the application.
- End-to-end latency: Include media upload, decoding, queueing, preprocessing, and inference.
- Request cost: Record actual token usage for each modality, especially longer audio and frame-sampled video.
- Failure handling: Test unsupported codecs, corrupt files, duration limits, context overflow, and partial media uploads.
- Deployment constraints: Compare Workers AI with self-hosting requirements for data residency, capacity, and GPU memory.