Cloudflare open-sources Clef, fast decision models for agent routing
Apache-2.0, Qwen-based, sub-40ms on the edge, with an RL platform to fine-tune one on your own agent traffic—and Laya lands free on Vercel's Gateway.

Copy markdown
Typed, probabilistic calls in 38–209ms
Clef (27B, built on Qwen 3.8) and Clef-flash (9B, on Qwen 3.5) take a prompt and return structured, typed classifications with probabilities—so your code can route a support ticket or pick an agent's next step without a frontier-model round-trip. Clef-flash posts a 38.8ms median latency against Jev's 524ms, with a 64k context and Apache-2.0 weights on Hugging Face; hosted on Workers AI at ~$0.24/M input ($0.09 for flash), output free.
Fine-tune one on your own gateway traffic
The release ships with a new RL fine-tuning platform: route agent traffic through Cloudflare AI Gateway, turn it into a dataset, and get a decision model tuned to your own taxonomy, redeployed on Workers AI. It's engineer-assisted today with self-serve coming—but the loop (capture → train → redeploy on edge) is the real unlock for anyone still hand-tuning classifier prompts.
Not on Cloudflare? Laya is free on Vercel until Oct 31
Convai's tiny Laya decision model just landed on Vercel's AI Gateway, free through October 31 when served by Boundless. Between Clef, Laya and Jev, cheap purpose-built routers are suddenly everywhere—stop paying Opus or GPT token rates to answer "which bucket is this."