cloudflare logo
cloudflare

Cloudflare: Clef

Source description (English)

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...

Overview

Model specifications

Context
65,536 tokens
Maximum output
14,745 tokens
Architecture
text+image->decisions
Tokenizer
Qwen
Knowledge cutoff
Not provided
Moderated
No
OPENROUTER

Complete pricing

Synchronized OpenRouter rates. Token prices are shown per one million tokens.

Input
$0.24
per 1M tokens
Output
Free
per 1M tokens
API

Quick start

Set OPENROUTER_API_KEY locally. Python requires requests; JavaScript runs in Node.js. Keep the key on the server.

API documentation

curl --fail-with-body https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"cloudflare/clef","messages":[{"role":"user","content":"Hello!"}]}'
Capabilities

Input → Output

Input
textimage
Output
decisions
API

Supported API parameters

Available providers

2 providers

Checked: October 11, 2026

Live providers on OpenRouter

Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.

OpenRouter

PrimeIntellect

Not provided
Context
16K
Maximum output
15K

Cloudflare

Not provided
Context
66K
Maximum output
59K
cloudflare

2 models

All models