Cloudflare ↗

Clef

cloudflare/clefUp to 20% off
Get an API key ↗
Input20% off Was $0.3240000000 Now$0.2592000000
USD / million tokens
Output $0
USD / million tokens
Context window65537tokens
Released2026-10-01

Overview Clef

Clef by Cloudflare is available through the Chabokan API. Reported inputs: Text، Image. Outputs: Decisions. The reported context window is 65,537 tokens.

Description supplied in the catalogue
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...

Input & output

Input
textimage
Output
decisions
Maximum output
58983 tokens

Supported parameters

Parameter metadata is not available. Verify features before integrating.

BUILD WITH CLOUDFLARE

API usage Clef

Keep real keys out of public code. Examples read CHABOKAN_API_KEY from the environment.

API guide ←
import os
import httpx

response = httpx.post(
    "https://ai.chabokan.net/v1/decisions",
    headers={"Authorization": f"Bearer {os.environ['CHABOKAN_API_KEY']}"},
    json={
        "model": "cloudflare/clef",
        "state": "Checkout is broken and customers cannot pay.",
        "questions": {
            "is_bug": {"type": "noul", "instructions": "Is this a software defect?"}
        },
    },
    timeout=60,
)
response.raise_for_status()
print(response.json()["answers"])
ai.chabokan.net/v1Decisions API

Pricing and cost estimates Clef

Input and output tokens are priced separately. Use the calculator below to estimate costs for your model and request volume. Final rates depend on your account level and actual usage; review any reported additional charges separately.

More from this developer ↗
Pay as you go

Estimate AI model API costs

Estimate token costs by choosing a model, request count, and input and output volumes. Rates come from the same catalogue as the model pricing.

Price level

Prices default to level 3. Level 1 is the standard price; check your console for account eligibility and model access.

Estimated cost—USD
Input —Output —

Token estimate only; image, request, web search, and other charges are excluded. The minimum request fee applies. Your final bill depends on actual usage and account level.

More from this developer

View all models ←