Cloudflare: Clef Flash: مدل هوش مصنوعی
- پنجره زمینه:
- 24,576 توکن
- ورودی:
- $0.02 / هر ۱M توکن
- خروجی:
- $0 / هر ۱M توکن
- نوع:
- decisions
- تصمیمهای ساختیافته
Cloudflare: Clef Flash یک مدل هوش مصنوعی از Cloudflare است که از طریق هرمز با یک API سازگار با OpenAI و دسترسی پایدار از داخل ایران در دسترس است.
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...
شروع سریع
curl https://api.hormouz.net/v1/alpha/decisions \
-H "Authorization: Bearer ng-YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "model": "cloudflare/clef-flash", "state": { "ticket": "My checkout page shows a blank screen after I click Pay." }, "questions": { "is_bug": { "type": "noul", "instructions": "Is the customer reporting a defect?" }, "team": { "type": "choice", "instructions": "Which team owns this?", "criteria": { "frontend": "Rendering or layout.", "payments": "Checkout or billing." } }, "urgency": { "type": "score", "instructions": "How urgent?", "criteria": ["Next release", "This week", "Blocking revenue"] } } }'مشخصات
| سازنده | Cloudflare |
|---|---|
| نوع | ارزیابی و تصمیمگیری |
| پنجره زمینه | ۲۴٬۵۷۶ توکن |
| قیمت | $0.02/M in · $0.00/M out |
| نوع API | decisions |
نمونه کد
cURL
curl https://api.hormouz.net/v1/alpha/decisions \
-H "Authorization: Bearer ng-YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "model": "cloudflare/clef-flash", "state": { "ticket": "My checkout page shows a blank screen after I click Pay." }, "questions": { "is_bug": { "type": "noul", "instructions": "Is the customer reporting a defect?" }, "team": { "type": "choice", "instructions": "Which team owns this?", "criteria": { "frontend": "Rendering or layout.", "payments": "Checkout or billing." } }, "urgency": { "type": "score", "instructions": "How urgent?", "criteria": ["Next release", "This week", "Blocking revenue"] } } }'Python
import requests
resp = requests.post(
"https://api.hormouz.net/v1/alpha/decisions",
headers={"Authorization": "Bearer ng-YOUR_API_KEY"},
json={
"model": "cloudflare/clef-flash",
"state": { "ticket": "My checkout page shows a blank screen after I click Pay." },
"questions": {
"is_bug": { "type": "noul", "instructions": "Is the customer reporting a defect?" },
"team": { "type": "choice", "instructions": "Which team owns this?",
"criteria": { "frontend": "Rendering or layout.", "payments": "Checkout or billing." } },
"urgency": { "type": "score", "instructions": "How urgent?",
"criteria": ["Next release", "This week", "Blocking revenue"] }
}
},
)
answers = resp.json()["answers"]
print(answers["team"]["choice"], answers["is_bug"]["noul"])JavaScript
const resp = await fetch("https://api.hormouz.net/v1/alpha/decisions", {
method: "POST",
headers: {
Authorization: "Bearer ng-YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "cloudflare/clef-flash",
"state": { "ticket": "My checkout page shows a blank screen after I click Pay." },
"questions": {
"is_bug": { "type": "noul", "instructions": "Is the customer reporting a defect?" },
"team": { "type": "choice", "instructions": "Which team owns this?",
"criteria": { "frontend": "Rendering or layout.", "payments": "Checkout or billing." } },
"urgency": { "type": "score", "instructions": "How urgent?",
"criteria": ["Next release", "This week", "Blocking revenue"] }
}
}),
});
const { answers } = await resp.json();
console.log(answers.team.choice, answers.is_bug.noul);خرید API Cloudflare: Clef Flash با پرداخت ریالی
- با کارت بانکی ایرانی اعتبار بخرید؛ کارت ارزی و حساب خارجی لازم نیست.
- با یک کلید هرمز به Cloudflare: Clef Flash و بیش از ۶۰۰ مدل دیگر دسترسی دارید و فقط به اندازهی مصرف میپردازید.
- بدون فیلترشکن و بدون خطر بن شدن حساب؛ کافی است آدرس پایه را به api.hormouz.net/v1 تغییر دهید.
استفاده از طریق هرمز
با یک کلید API به این مدل و بیش از ۶۰۰ مدل دیگر وصل شوید و مصرف هر مدل را تا سطح هر درخواست ببینید.
درخواست دسترسی شرکتیبهروزرسانی: 2026-10-13