- input
- $0.192
- output
- $0.00
- Context
- 66Ktokens
- Released
- 2mo ago
- Size
- 27Bparameters
Cost/1M tokens
Clef is an open-weights decision model from Cloudflare that starts the company's Clef family of decision models, released under an Apache 2.0 license alongside Clef-flash. Cloudflare's announcement says it produces bounded, structured decisions quickly, cheaply and consistently, claiming a 2x latency saving over a general LLM in its website-domain classification test. The model is built for programmatic decision points in agentic workflows, such as routing support tickets or classifying website domains for threat intelligence.
- Decision model
- Open weights · 27B
- Accepts images
How it compares
Family tree
Models trained from one another, as their makers describe it.
- Qwen3.8 27BQwen · 2026
Additional source evidence
- Source model
- cloudflare/clef
- Source family
- clef
- Source type
- decision
- Last updated
- 2026-10-01
- Model context
- 66K
- Model output limit
- —
- Open weights
- Yes
- File attachments
- Yes
- Reasoning
- No
- Tool calling
- No
- Temperature control
- Yes
Downloadable weights
Official references
Complete source record (JSON)
{
"id": "cloudflare/clef",
"name": "Clef",
"description": "Cloudflare's open-weight decision model that returns probabilities for typed choice, score and yes/no questions about text or images",
"family": "clef",
"type": "decision",
"last_updated": "2026-10-01",
"attachment": true,
"reasoning": false,
"tool_call": false,
"temperature": true,
"modalities": {
"input": [
"text",
"image"
],
"output": [
"text"
]
},
"limit": {
"context": 65536,
"output": 0
},
"release_date": "2026-10-01",
"open_weights": true,
"license": "Apache-2.0",
"links": [
{
"url": "https://blog.cloudflare.com/clef-decision-models/",
"label": "Announcement",
"type": "announcement"
},
{
"url": "https://huggingface.co/Cloudflare/clef",
"label": "Model card",
"type": "model_card"
}
],
"weights": [
{
"label": "Hugging Face",
"url": "https://huggingface.co/Cloudflare/clef"
}
]
}Frequently asked questions
Running locally
By our estimate, Clef needs about 21.2 GB at Q4, 35 GB at Q8 and 63.7 GB at FP16 of VRAM. That covers the weights plus headroom for a short context, and longer contexts need more.
Yes, by our estimates Clef fits on a 24 GB GPU at Q4 (about 21.2 GB). It does not fit fully on 16 GB, 12 GB and 8 GB GPUs.
Yes, a Mac with at least 32 GB of unified memory should run Clef at Q4, which needs an estimated 21.2 GB. This assumes macOS gives the GPU about 75% of unified memory.
The smallest 4-bit or higher build of Clef is clef:27b-q4_k_m (Q4_K_M), an 18 GB download that needs an estimated 21.2 GB of VRAM. Lower-bit builds are smaller but are not the ones we suggest.
Run ollama run clef:latest to download and start Clef in Ollama (18 GB). There are 5 other Ollama builds with different sizes and quantizations.
Vertical Tabs records support for Clef in Ollama. It also has published Ollama builds.
The default Ollama build, clef:latest, is an 18 GB download. Across 6 builds, sizes range from 18 GB to 55 GB.
API and pricing
Clef is listed at $0.192 per 1M input tokens and $0.00 per 1M output tokens. Input prices across 3 providers range from $0.192 to $0.24 per 1M tokens.
DeepInfra has the lowest blended price for Clef (3:1 input to output), at $0.192 per 1M input tokens and $0.00 per 1M output tokens.
A request with 10,000 input tokens and 1,000 output tokens costs about $0.00192 with Clef at the cheapest provider, DeepInfra.
3 of 3 tracked Clef endpoints had 99% uptime or better over the last day. The best uptime was 100.0%, shared by Cloudflare, DeepInfra and PrimeIntellect.
Privacy and data
DeepInfra, Cloudflare and PrimeIntellect offer zero data retention for Clef, so prompts are not stored after the request.
Yes, Clef has open weights, so you can run it on your own hardware and keep prompts on your own machines. The quickest start is ollama run clef:latest.
Capabilities and specs
Clef has a 66K token context window. It can write up to 59K output tokens per response.
Yes, Clef accepts images as input alongside text.
No, Clef is not listed with tool calling support.
No, Clef is not listed with a reasoning mode.
Quality and benchmarks
Similar models from other labs include Bison 1 (Baseten), Mammoth 1 (Baseten) and Gemini Decision 1 (Google DeepMind). They are the closest matches by kind, price and release date.
Bison 1Clef vs Bison 1Mammoth 1Clef vs Mammoth 1Gemini Decision 1Clef vs Gemini Decision 1
Versions and lineage
Clef is fine-tuned from Qwen3.8 27B.
Licensing and access
Clef has open weights under the Apache-2.0 license, so you can download and run it yourself.
Yes, Clef is released under the Apache 2.0 license, which allows commercial use. Check the license text for attribution terms.
The Clef weights are on Hugging Face at Cloudflare/clef. There are also 6 Ollama builds.
Basics
Clef was made by Cloudflare. It was released on October 1, 2026.
Yes, Clef has open weights, so you can run it on your own hardware without API fees. Paid API access is listed at $0.192 per 1M input tokens and $0.00 per 1M output tokens.
Generated from Vertical Tabs data, updated November 21, 2026.

Discussion
No comments yet
Be the first to share your thoughts.