EveryDev.ai
Subscribe
Home
Tools

4,641+ AI tools

  • New
  • Trending
  • Featured
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents3426
  • Coding2391
  • Infrastructure1055
  • Projects732
  • Marketing662
  • Research612
  • MCP593
  • Analytics538
  • Design533
  • Testing420
  • Security410
  • Data358
  • Prompts260
  • Integration256
  • Communication250
  • Extensions222
  • Voice201
  • Learning193
  • Commerce173
  • DevOps161
  • Web122
  • Finance36
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • Users
  • Rate Tools
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. Clef
    Clef icon

    Clef

    AI Decision Models
    Featured

    Clef is a 27B multimodal decision model from Cloudflare that turns a state and typed questions into per-option probabilities, hosted on Workers AI.

    Visit Website

    At a Glance

    Pricing
    Paid
    Clef: $0.24 usage-based

    Engagement

    Available On

    Web
    API
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    AI Decision ModelsAI InfrastructureAutonomous Systems

    Alternatives

    JevdeciderNanoJev
    Developer
    CloudflareSan Francisco, CAEst. 2009$332M raised

    Listed Oct 2026

    About Clef

    Clef is Cloudflare’s family of open-weight decision models for making fast, structured decisions inside applications and AI agents. Instead of generating free-form text, Clef takes application state plus typed questions and returns probabilities for every allowed answer, making it useful for routing, classification, moderation, guardrails, scoring, and other decisions that sit directly in an application’s hot path.

    The family now includes three models:

    • Clef — The primary 27B model for higher-quality decisions across text and images. It supports a 64K hosted context window and is available on Workers AI as @cf/cloudflare/clef.
    • Clef-flash — A smaller 9B variant optimized for inexpensive, latency-sensitive decisions. Hosted inference costs $0.038 per million input tokens with a 24K context window, while the open weights support up to 256K context when self-hosted.
    • Clef-omni — A 30B mixture-of-experts model with 3B active parameters that extends the family to native text, image, audio, and video input. It can reason over a video’s visual frames and soundtrack together instead of requiring separate transcription or media-processing pipelines.

    What It Is

    Clef is a decision-model family in the same emerging category as Typesafe’s Jev. Rather than asking a general-purpose LLM to generate and then parse an answer, applications send Clef a state plus one or more constrained questions and receive structured probabilities that code can act on immediately.

    The API supports three question types:

    • noul — A yes/no decision that returns the probability of yes.
    • choice — Selects between predefined options and returns probabilities and confidence.
    • score — Evaluates an input against an ordered rubric and returns a probability-weighted score.

    A single request can contain up to 64 questions, allowing applications to evaluate several decisions against the same input without repeatedly invoking the model.

    Clef

    The standard Clef model is designed for applications that need stronger decision quality while still prioritizing latency. It supports text and image inputs with a 64K hosted context window.

    Cloudflare has also optimized its Workers AI serving stack since launch, reducing median decision latency by as much as 2x without changing the model weights.

    Clef-flash

    Clef-flash trades some model capacity for lower latency and substantially lower cost. It is intended for high-volume decisions such as request routing, lightweight classification, filtering, and agent control loops where the cost of invoking a full language model would be difficult to justify.

    On Workers AI, Clef-flash costs $0.038 per million input tokens and uses a 24K hosted context window. The open-weight version is unchanged and can support up to 256K context when self-hosted.

    Clef-omni

    Clef-omni expands the decision-model approach beyond text and images to audio and video.

    Instead of building a pipeline that transcribes audio, extracts video frames, processes each modality independently, and then asks another model to make a decision, Clef-omni can evaluate text, images, audio, and video directly in one request. For video, the model aligns the soundtrack with visual frames so decisions can incorporate what is happening both visually and audibly.

    Clef-omni uses a 30B-parameter mixture-of-experts architecture with 3B active parameters and a 64K hosted context window.

    Use Cases

    Cloudflare positions the Clef family for decisions including:

    • Agent routing and tool selection
    • Support-ticket triage
    • Trust and safety classification
    • Threat intelligence
    • AI agent guardrails
    • Content and visual classification
    • Scoring and ranking
    • Audio and video classification with Clef-omni

    Because results are constrained and structured, Clef can be used for decisions where an application needs a predictable output rather than prose generated by an LLM.

    API and Compatibility

    All three Clef models use the same System One API, so developers can switch between Clef, Clef-flash, and Clef-omni primarily by changing the model identifier.

    They are available through Cloudflare Workers AI using Workers bindings or the REST API and can also be routed through AI Gateway.

    Cloudflare publishes the model weights under the Apache 2.0 license, allowing developers to self-host the models instead of relying exclusively on Workers AI.

    Pricing

    Model Workers AI price Hosted context Best for Clef-flash $0.038 / 1M input tokens 24K Cheap, high-volume decisions Clef-omni $0.150 / 1M input tokens 64K Audio, video, image, and text decisions Clef $0.240 / 1M input tokens 64K Higher-quality text and image decisions

    All three are open-weight models and can also be self-hosted.

    Clef - 1

    Community Discussions

    Start a new discussion about Clef
    Daniel Okafor's avatar
    Daniel Okafor
    October 12, 2026·Data and ML builder…

    Setting up Clef-flash in Cloudfalre workers

    I want to try Clef-flash as the router in a multi-agent app running on Cloudflare Workers. Say it gets a few thousand requests a day. Clef-flash looks at each request and decides whether it should go to a coding agent, a research agent, or a normal model call. Curious how often it routes code change…

    0

    Pricing

    Clef

    Cloudflare's 27B decision model on Workers AI, billed per input token. Open weights are also published under Apache 2.0 on Hugging Face.

    $0.24
    usage based
    • Input: $0.24 per M input tokens
    • Context window: 65,536 tokens
    • Vision: Yes
    • Model ID: @cf/cloudflare/clef
    • Up to 64 questions per request (noul, choice, score)
    View official pricing

    Capabilities

    Key Features

    • Typed decision questions: noul (yes/no), choice, and score
    • Returns probabilities for every allowed option
    • Up to 64 questions per request
    • Multimodal input: text, JSON, images, or video
    • Up to 4 embedded images per request
    • 65,536-token context window
    • System One API compatibility with Jev
    • Available via Workers AI binding and REST API
    • Open weights on Hugging Face under Apache 2.0
    • Companion 9B clef-flash model for low-latency decisions

    Integrations

    Workers AI
    AI Gateway
    Hugging Face
    Browser Run
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate Clef and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    Cloudflare

    Cloudflare builds cloud platform services that help developers build and deploy applications at the edge. The company operates one of the world's largest networks spanning over 300 cities globally. Cloudflare provides security, performance, and serverless computing products including Workers, Pages, R2, and D1.

    Founded 2009
    San Francisco, CA
    $332M raised
    5,156 employees

    Used by

    Shopify
    Anthropic
    Atlassian
    L'Oréal
    +4 more
    Read more about Cloudflare
    WebsiteGitHubLinkedInX / Twitter
    11 tools in directory

    Similar Tools

    Jev icon

    Jev

    Jev is TypeSafe AI's System One model that returns typed, probabilistic decisions instead of generated text, evaluating structured questions against program state in 70–500ms.

    decider icon

    decider

    Open-source family of language models that return calibrated probability distributions for typed questions in a single forward pass.

    NanoJev icon

    NanoJev

    An open-source 0.6B parallel decision model that returns probability distributions over candidate choices without decoding output tokens.

    Browse all tools

    Related Topics

    AI Decision Models

    Models that make decisions instead of generating text. Given context and predefined options, they return choices, scores, or probabilities that applications can act on.

    15 tools

    AI Infrastructure

    Infrastructure designed for deploying and running AI models.

    446 tools

    Autonomous Systems

    AI agents that can perform complex tasks with minimal human guidance.

    485 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    1discussion
    27views