Cloudflare's open-weight decision model that returns probabilities for typed choice, score and yes/no questions about text or images
Clef by cloudflare is offered by 5 providers on this page. No official API price is listed for it; the prices below come from third-party channels. The lowest paid channel is Melious at $0.225 / $0 per 1M. That channel is a third-party gateway, so confirm its availability and rate limits before depending on it.
The context window is 65,537 tokens at the reference host, but hosts report different limits, from 1,800 to 65,537, so the usable window depends on the provider you pick. It supports structured output. Accepted input modalities are Text and Image. The weights are open, so it can also be self-hosted or served through a gateway of your choice. Providers report the capability flags inconsistently, so verify a specific feature against the host you plan to use.
| Provider | Tier | Input | Output | Cache read | Cache write | Context | Output limit | Status |
|---|---|---|---|---|---|---|---|---|
| Melious | Gateway | $0.22 | $0 | — | — | 16,384 ⚠ | — | |
| Ollama Cloud clef:27b | Cloud | $0.24 | $0 | — | — | 65,536 ⚠ | — | |
| NanoGPT | Gateway | $0.24 | $0 | — | — | 1,800 ⚠ | — | |
| Cloudflare Workers AI | Cloud | $0.24 | $0 | — | — | 65,536 ⚠ | 65,536 | |
| OpenRouter | Gateway | $0.24 | $0 | — | — | 65,537 | — |
Sorted by blended price (input×0.75 + output×0.25) asc. The official channel always shows regardless of rank. Whether a gateway's low price is actually usable can't be verified.
Price history accumulates from each data sync; currently only 1 sample(s) (2026-10-21). Each future sync adds a point, and once accumulated a line is drawn here.