# Clef

> Clef is Cloudflare's 27B decision model: send application state and a schema of typed questions (noul / choice / score) and get back a probability for every allowed option — it returns probabilities, not generated chat text, so it produces no free-form output. It is post-trained from Qwen3.8-27B with a joint schema head and speaks the native Jev / System One envelope. Call POST /api/v1/decisions (POST /api/v1/systemone is the same handler).

**ID**: `cloudflare/clef`  
**Creator**: cloudflare  
**Category**: text  
**Context**: 66K tokens  
**Pricing**: $0.24 / $0 per 1M · billed by your provider (BYOK)  
**Released**: 2026-09-30  
**Web page**: https://anyrouter.dev/model/cloudflare/clef

**Input modalities**: text  
**Output modalities**: text  

**Capabilities**: systemone

**Supported parameters**: state, model, questions

## Usage

**Endpoint**: `POST https://anyrouter.dev/api/v1/decisions`

```bash
curl https://anyrouter.dev/api/v1/decisions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "state": "Help! My payouts have been failing for 3 days.",
  "model": "cloudflare/clef",
  "questions": {
    "is_urgent": {
      "type": "noul",
      "instructions": "Does this convey urgency?"
    }
  }
}'
```

Decisions is not chat: send `state` and typed `questions` (noul / choice / score). Requires a BYOK key for TypeSafe, LLM Gateway, Vercel AI Gateway, AIHubMix, AutoJev, or Fastino.

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| ollama-byok | $0.24/M (list) | $0 (list) |

BYOK routes are billed by your own provider key — AnyRouter charges $0. Rates marked (list) are the provider's published list price.

## Source

- Upstream docs: https://developers.cloudflare.com/ai/models/@cf/cloudflare/clef/
