# Clef

Cloudflare's Clef decision model (27B). Typed decisions with probabilities: choice, score and yes/no questions about a text, through the System One API (POST /v1/systemone). Billed per input token; no output tokens.

## Key facts

- Model ID: `clef`
- Base URL: `https://api.melious.ai/v1`
- Maker: Cloudflare
- Type: Decision
- Context window: 16K tokens
- Price (EUR): Input €0.20 / 1M tokens
- License: Apache 2.0
- Released: 2026-10-01

## Where your request goes

- Processed in: Finland
- Used to train models: never
- Prompts and answers: not logged by Melious
- Zero data retention on Melious servers: processed in memory only, never stored
- Operators: Melious servers (Finland)
- Data processing agreement: https://melious.ai/legal/dpa

## Call it

```bash
curl -X POST "https://api.melious.ai/v1/systemone" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $MELIOUS_API_KEY" \
  -d '{
    "model": "clef",
    "state": "Customer message: I was charged twice for my order.",
    "questions": {
      "team": {
        "type": "choice",
        "instructions": "Which team should handle this message?",
        "criteria": {
          "billing": "Payments, invoices and refunds",
          "support": "Product questions and technical problems"
        }
      }
    }
  }'
```

Human-readable page: https://melious.ai/models/clef
All models: https://melious.ai/models.md
