Home › Model Docs › Cloudflare › Clef Flash

Clef Flash

Cloudflare · Text generation

No pricing information is on file for this model yet.

Pricing

Sellers set their own ask as a discount off the official list price, capped at 50%. The figure above is the deepest ask currently in force.

All prices are shown in US dollars; billing and settlement are in CNY.

About this model

Clef-flash is the fast 9B member of Cloudflare's open-source Clef decision model family, a fine-tune of Qwen3.5-9B served on Workers AI. It turns a state (text or structured JSON) plus...

Parameters

Context window24.6K tokens
Max output22.1K tokens
Input modalitiestext, image
Output modalitiesdecisions
Modality signaturetext+image->decisions
Endpoints4

Capabilities

Tool callingVision inputReasoningPrompt cachingStructured output

How to call it

curl

curl https://ai.dijinlong.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"clef-flash","messages":[{"role":"user","content":"Hello"}]}'

Python

from openai import OpenAI

client = OpenAI(base_url="https://ai.dijinlong.com/v1", api_key="YOUR_API_KEY")
resp = client.chat.completions.create(
    model="clef-flash",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

Clef Flash is a text model endpoint; point base_url at the address above and use an API key from your dashboard. Any OpenAI-compatible client works unchanged.

Other Cloudflare models

Explore

FAQ

What is the context window of Clef Flash?

Clef Flash supports a context window of 24.6K tokens.

What is the maximum output length of Clef Flash?

Clef Flash can return up to 22.1K tokens in a single response, against a 24.6K-token context window.

How many supply endpoints serve Clef Flash?

4 endpoints currently serve this model on LONG AI, so a single seller outage does not take it offline.