Cloudflare: Clef Flash

Clef-flash is the fast 9B member of Cloudflare's open-source Clef decision model family, a fine-tune of Qwen3.5-9B served on Workers AI. It turns a state (text or structured JSON) plus a schema of ty…

cloudflare/clef-flash

Clef-flash is the fast 9B member of Cloudflare's open-source Clef decision model family, a fine-tune of Qwen3.5-9B 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 low-latency classification, routing, scoring, and guardrails 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
24576
Published model ID
clef-flash
Capabilities
decisions, multimodal, visionInput
Description source ↗

Published prices

1–4 / 4

@cf/cloudflare/clef-flash ↗

$0.04

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

Cloudflare/clef-flash ↗

$0.04

Inference provider
deepInfra
Platform
DeepInfra
Unit
input_tokens_per_million
Currency
USD
Billing conditions

Cloudflare/clef-flash ↗

$0.00

Inference provider
deepInfra
Platform
DeepInfra
Unit
output_tokens_per_million
Currency
USD
Billing conditions

cloudflare/clef-flash ↗

$0.02

Inference provider
openRouter
Platform
OpenRouter
Unit
input_tokens_per_million
Currency
USD
Billing conditions

Provider specifications & access

1–1 / 1

clef-flash ↗

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

    Source specification observations

    1–2 / 2

    openRouter ↗

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

    openRouter ↗

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

    Original sources

    1–8 / 8

    Hugging Face · Cloudflare/clef-flash ↗

    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