Cloudflare: Clef

Clef is Cloudflare's open-source 27B multimodal decision model, a fine-tune of Qwen3.8-27B served on Workers AI. It turns a state (text or structured JSON) plus a schema of typed questions into decis…

cloudflare/clef

Clef is Cloudflare's open-source 27B multimodal decision model, a fine-tune of Qwen3.8-27B served on Workers AI. It turns a state (text or structured JSON) plus a schema of typed questions into decisions, returning a calibrated probability for every allowed option of every question in a single forward pass instead of generating tokens. Use it for classification, routing, scoring, guardrails, and agentic control flow through the Decisions API. Note: Workers AI currently truncates long text state to roughly the first 2K tokens, so content beyond that is not read; images are counted separately.

Specifications & capabilities

Input
text, image
Output
decisions
Context window · tokens
65537
Published model ID
clef
Capabilities
decisions, multimodal, visionInput
Description source ↗

Published prices

1–4 / 4

@cf/cloudflare/clef ↗

$0.24

Inference provider
cloudflareWorkersAI
Platform
Cloudflare Workers AI
Unit
input_tokens_per_million
Currency
USD
Billing conditions
Billing label
per M input tokens

Cloudflare/clef ↗

$0.24

Inference provider
deepInfra
Platform
DeepInfra
Unit
input_tokens_per_million
Currency
USD
Billing conditions

Cloudflare/clef ↗

$0.00

Inference provider
deepInfra
Platform
DeepInfra
Unit
output_tokens_per_million
Currency
USD
Billing conditions

cloudflare/clef ↗

$0.19

Inference provider
openRouter
Platform
OpenRouter
Unit
input_tokens_per_million
Currency
USD
Billing conditions

Provider specifications & access

1–1 / 1

clef ↗

source model id
@cf/cloudflare/clef
hosting
cloudflare-hosted
platforms
  • Cloudflare Workers AI
context length
65536
architecture
input_modalities
  • text
  • image
output_modalities
  • decisions
capabilities

    Source specification observations

    1–2 / 2

    openRouter ↗

    field
    context_length
    value
    65537
    normalized value
    65537
    scope
    source-model
    source id
    openRouter
    confidence
    1

    openRouter ↗

    field
    max_output_tokens
    value
    58983
    normalized value
    58983
    scope
    source-model
    source id
    openRouter
    confidence
    1

    Original sources

    1–8 / 8

    Hugging Face · Cloudflare/clef ↗

    Cloudflare AI · Model page ↗

    DeepInfra · Model page ↗

    OpenRouter · Model page ↗

    GitHub · Source snapshot ↗

    Cloudflare AI · Catalog ↗

    DeepInfra · Catalog ↗

    OpenRouter · Catalog ↗

    Source links

    1–4 / 4

    Explore more models

    Models

    Loading
    EVIDENCE / COMPARISON

    Benchmarks

    Explore every benchmark

    Loading

    These charts contain model-linked results. The charts above also include unlinked source profiles. Compare scores within each evaluation. Model quality, usage, transparency and system performance measure different things.

    Install TensorTrace