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.
Model card on Hugging Face- Input / output priceUp to 20% off
$0.24 / $0.00$0.192 / $0.00 per 1M- Context
- 66K tokens
- Released
- Oct 1, 2026
Paste into Claude Code, Cursor, or Codex
Help me set up the Respan gateway: fetch and follow https:/
Providers
4 providers, cheapest first, OpenRouter last, priced per 1M tokens after gateway discounts.
| Provider | Input | Output |
|---|---|---|
Concentrate concentrate/clef | $0.192/M | $0.00/M |
DeepInfra deepinfra/Cloudflare/clef | $0.24/M | $0.00/M |
Prime Intellect prime_intellect/cloudflare/clef | $0.24/M | — |
OpenRouter20% off openrouter/clef | $0.00/M |
Is a provider down? OpenRouter status
Pricing
Averaged across 4 providers, in USD per 1M tokens after gateway discounts.
- Average input
- $0.22 per 1M
- Average output
- $0.00 per 1M
Cost by volume
Total cost from 0 to 1T tokens on the cheapest and most expensive provider.
Throughput and latency
30-day averages from requests through the Respan gateway. Under each figure, every model on the gateway by its average, this one in blue.
Response latency
Lower is better0.5sacross providers
Benchmarks
5 published scores from 1 source, each linked to where it was published.
Published scores
| Benchmark | Score | Source | Published |
|---|---|---|---|
| BFCL case exactblog.cloudflare.com | 98.5% | blog.cloudflare.com | Oct 9, 2026 |
| Benchmark | Score | Source | Published |
|---|---|---|---|
| CLINC150+OOS macro-F1blog.cloudflare.com | 97.4% | blog.cloudflare.com | Oct 9, 2026 |
| BANKING77 macro-F1blog.cloudflare.com | 94.2% | blog.cloudflare.com | Oct 9, 2026 |
| API-Bank accuracyblog.cloudflare.com | 91.9% | blog.cloudflare.com | Oct 9, 2026 |
| ToolRet nDCG@10blog.cloudflare.com | 69.2% | blog.cloudflare.com | Oct 9, 2026 |
Apps
Use Clef in the tools you already run. Each guide points the app at the Respan gateway.
Setup guides for more apps are in the integration docs.
Clef FAQ
Short answers, built from the data on this page.
Clef is a model from Cloudflare, released on Oct 1, 2026. 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.
On the Respan gateway, input starts at $0.192 per 1M tokens on Concentrate and OpenRouter, and output starts at $0.00 per 1M tokens on every provider, after gateway discounts. Averaged across its 4 providers, it costs $0.22 per 1M input tokens and $0.00 per 1M output tokens.
Clef is available through 4 providers: Concentrate, DeepInfra, Prime Intellect, and OpenRouter.
Clef accepts up to 66K tokens of context on its largest provider route.
Point any OpenAI-compatible SDK at https://api.respan.ai/api/ with your Respan API key and set the model to "clef". To set it up with a coding agent, copy the agent setup prompt at the top of this page.
Clef has 5 published benchmark scores, including BFCL case exact 98.5% and CLINC150+OOS macro-F1 97.4%. Each score links to where it was published; the data is collected by Respan.
Certified where it counts.
Built to meet the security and privacy standards that enterprise and healthcare teams require.
ISO 27001
The internationally recognized standard for information security management.
SOC 2
Secure, compliant management of your data across all of our systems.
GDPR
Operated under GDPR, the world's strictest standard for data privacy.
HIPAA
HIPAA compliant, with a BAA available for healthcare teams.