---
last_updated: 2026-12-04
source_url: https://opper.ai/cloudflare/clef-flash
title: "Clef-flash by Cloudflare"
description: "Clef-flash, Cloudflare's fast 9B open-weight decision model, answers yes/no, choice and score questions about text or JSON with a probability for every option in tens of milliseconds."
---

# Clef-flash

By [Cloudflare](https://opper.ai/cloudflare).

Released 1 Oct 2026 · [Announcement](https://developers.cloudflare.com/changelog/post/2026-10-01-clef-workers-ai/) · [All Cloudflare releases](https://opper.ai/model-releases/cloudflare)

Clef-flash is the smaller of Cloudflare's two decision models, post-trained from Alibaba's Qwen3.5-9B with the same joint schema head as Clef. You send a state (text or any JSON value) and named questions, and it returns typed answers: the probability that a statement is true, a choice among options you define, or a position on your own rubric, each with a full probability distribution. It generates no text, so answers cannot fall outside the options given.

It speaks the same request and response format as TypeSafe's System One API, so code written for Jev can switch models by changing the model name, and several questions can be asked about one state in a single request.

Use it where decisions sit on a hot path: routing every incoming message, gating tool calls in an agent loop, or filtering at volume. Clef, the 27B sibling, is the choice when accuracy matters more than speed.

Weights are published by Cloudflare under Apache-2.0 at https://huggingface.co/Cloudflare/clef-flash.

## Available routes

Clef-flash runs on 5 different routes through the Opper gateway. Prices are per 1M tokens. In the EU it is served by Berget (Sweden), Melious (Finland), OVHcloud (France) and 1 more. [See every model hosted in the EU](https://opper.ai/models/eu). Its routes and prices, live from the catalogue, are public JSON with no API key needed at https://api.opper.ai/v3/models?q=berget%2FCloudflare%2Fclef-flash.

| Provider | Model id | Region | Zero data retention | Training | Input | Output | Cache read |
| --- | --- | --- | --- | --- | --- | --- | --- |
| [Berget](https://opper.ai/provider/berget) | `berget/Cloudflare/clef-flash` | EU (Sweden) | Yes | No | $0.05 | n/a | Input price |
| [Cloudflare](https://opper.ai/provider/cloudflare) | `cloudflare:global/clef-flash` | Multi-region | Yes | No | $0.04 | n/a | Input price |
| [Melious](https://opper.ai/provider/melious) | `melious/clef-flash` | EU (Finland) | Yes | No | $0.03 | n/a | Input price |
| [OVHcloud](https://opper.ai/provider/ovhcloud) | `ovhcloud/clef-flash` | EU (France) | Yes | No | $0.04 | n/a | Input price |
| [Regolo](https://opper.ai/provider/regolo) | `regolo/clef-flash` | EU (Italy) | Yes | No | $0.16 | n/a | Input price |

## Key info

- Model id: `berget/Cloudflare/clef-flash`
- Input: Text
- Output: Text
- Features: none listed
- Context window: 16K
- Input price: $0.05 per 1M tokens
- Released: 1 Oct 2026
- EU residency available on Berget, Melious, OVHcloud and Regolo
- Zero data retention on pay-as-you-go
- No training by default

## Data handling per route

Each route hosting Clef-flash has its own privacy posture, residency, and GDPR terms. Postures are maintained by Opper with a last-verification timestamp.

### Berget — Sweden

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. EU.

- Zero data retention: Yes. Nothing is logged, held for abuse monitoring or used for training.
- Training: No training on customer data.
- Logging: None
- Abuse monitoring: No classifier
- Caching: Prompt cache
- Subprocessor access: No subprocessor reads content
- Transfer mechanism: Not applicable — data stays in EU

Verified by Opper on 2026-09-16.

### Cloudflare — Multi-region

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. GLOBAL; dpf sccs.

- Zero data retention: Yes. Nothing is logged, held for abuse monitoring or used for training.
- Training: No training on customer data.
- Logging: None
- Abuse monitoring: No classifier
- Subprocessor access: Subprocessors may read content
- Transfer mechanism: dpf sccs

Verified by Opper on 2026-10-06.

### Melious — Finland

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. EU.

- Zero data retention: Yes. Nothing is logged, held for abuse monitoring or used for training.
- Training: No training on customer data.
- Logging: None
- Abuse monitoring: No classifier
- Caching: Prompt cache
- Subprocessor access: Subprocessors may read content
- Transfer mechanism: Not applicable — data stays in EU

Verified by Opper on 2026-10-14.

### OVHcloud — France

Zero data retention: nothing is logged or used for training. No training on customer data. EU.

- Zero data retention: Yes. Nothing is logged or used for training.
- Training: No training on customer data.
- Logging: None
- Transfer mechanism: Not applicable — data stays in EU

Verified by Opper on 2026-11-18.

### Regolo — Italy

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. EU.

- Zero data retention: Yes. Nothing is logged, held for abuse monitoring or used for training.
- Training: No training on customer data.
- Logging: None
- Abuse monitoring: No classifier
- Subprocessor access: No subprocessor reads content
- Transfer mechanism: Not applicable — data stays in EU

Verified by Opper on 2026-07-30.

## Best for

Listed in [Decision models](https://opper.ai/models/decision-models).

## Benchmarks

Clef-flash played 100 games of Pac-Man against the four arcade ghosts.

### JevMan: the Pac-Man benchmark for AI decision models

- Rank in our runs: 12 of 19
- Mean score: 2,538
- Best game: 4,260
- Games: 100

Scores from Opper's own runs. Updated Nov 12, 2026. [See the JevMan benchmark](https://opper.ai/jevman-benchmark/) · [Watch Clef-flash's game](https://opper.ai/jevman-benchmark/?pacman=opper%2Fclef-flash) · [Compare all decision models](https://opper.ai/models/decision-models#benchmarks)

## Get started

Call Clef-flash through the Opper gateway with one API key. Evaluate state against typed questions using TypeSafe’s System One API for yes/no decisions, classification, and rubric scoring.

See the [Opper evaluation guide](https://docs.opper.ai/build/gateway/evaluations) and the [TypeSafe API reference](https://docs.typesafe.ai/api) for question types and response formats. [Compare every decision model](https://opper.ai/models/decision-models), on one API.

Clef-flash is a premium model on Opper. Sign up needs no credit card: you get an API key straight away and the free models work in the playground and the API. Add a card to use premium models, pay-as-you-go with no minimum.

### Set it up with your agent

Paste this into a coding agent like Claude Code, Cursor or Codex and it will wire up Opper for you:

```text
Read https://docs.opper.ai/build/gateway/evaluations and call Clef-flash through Opper's System One evaluation endpoint using state and typed questions.
```

### Or call it directly

cURL:

```bash
curl https://api.opper.ai/v3/compat/v1/systemone \
  -H "Authorization: Bearer $OPPER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "berget/Cloudflare/clef-flash",
    "state": "The customer cannot sign in and needs help immediately.",
    "questions": {
      "is_urgent": {
        "type": "noul",
        "instructions": "Does the customer need urgent help?"
      }
    }
  }'
```

## Use Clef-flash in your apps

Pick your tool to see how to run it on Clef-flash through Opper.

- [Claude Code](https://opper.ai/apps/claude-code/clef-flash)
- [Claude Cowork](https://opper.ai/apps/claude-cowork/clef-flash)
- [Codex](https://opper.ai/apps/codex/clef-flash)
- [DeepSeek Harness](https://opper.ai/apps/deepseek-harness/clef-flash)
- [GitHub Copilot CLI](https://opper.ai/apps/github-copilot-cli/clef-flash)
- [Aider](https://opper.ai/apps/aider/clef-flash)
- [Goose](https://opper.ai/apps/goose/clef-flash)
- [Droid](https://opper.ai/apps/droid/clef-flash)
- [OpenCode](https://opper.ai/apps/opencode/clef-flash)
- [Pi](https://opper.ai/apps/pi/clef-flash)
- [OpenClaw](https://opper.ai/apps/openclaw/clef-flash)
- [Hermes](https://opper.ai/apps/hermes/clef-flash)
- [Copilot for Obsidian](https://opper.ai/apps/obsidian-copilot/clef-flash)
- [OmniRoute](https://opper.ai/apps/omniroute/clef-flash)
- [Cursor](https://opper.ai/apps/cursor/clef-flash)
- [Cline](https://opper.ai/apps/cline/clef-flash)
- [Continue](https://opper.ai/apps/continue/clef-flash)
- [Kilo Code](https://opper.ai/apps/kilo-code/clef-flash)
- [GitHub Copilot](https://opper.ai/apps/github-copilot/clef-flash)
- [Zed](https://opper.ai/apps/zed/clef-flash)
- [JetBrains AI Assistant](https://opper.ai/apps/jetbrains-ai-assistant/clef-flash)
- [Voidleap Code](https://opper.ai/apps/voidleap-code/clef-flash)
- [n8n](https://opper.ai/apps/n8n/clef-flash)
- [LibreChat](https://opper.ai/apps/librechat/clef-flash)
- [Open WebUI](https://opper.ai/apps/open-webui/clef-flash)
- [See all apps](https://opper.ai/apps)

## Other models from Cloudflare

- [Clairic](https://opper.ai/cloudflare/clairic)
- [Clef-omni](https://opper.ai/cloudflare/clef-omni)
- [Clef](https://opper.ai/cloudflare/clef)
