Black Forest Labs
FLUX.2 Klein 4Bاوپن
Compact 4B FLUX.2 distilled for on-device and edge image generation.
ذہانت
86.5 #38
AAQI 87.0
آؤٹ پٹ رفتار
90 t/s
ITL 11.1 ms/tok
مخلوط قیمت (3:1)
$0.01 /1M
ان پٹ $0.01/M · آؤٹ پٹ $0.01/M
سیاق
32K
≈ 80 A4 صفحات · زیادہ سے زیادہ آؤٹ پٹ 4,096
Quality Domain Radar
6-Axis Frontier Evaluation vs Category Average & Flagship
FLUX.2 Klein 4B
Claude Mythos Preview (#1)
Average (68)
جہاں براہ راست بینچ مارک پیمائش موجود نہیں، ریڈار محور زمرہ سکورز سے تخمینی ہیں — طریقہ کار دیکھیں۔
طاقتیں اور سمجھوتے
جہاں یہ آگے ہے
- Runs fully on-device — no network, no fees
- ~6GB VRAM at Q4 — fits entry GPUs
- Fastest FLUX.2 tier at 90 img/s-class throughput
جن باتوں پر دھیان دیں
- Noticeably below Pro on fine detail and text
- Low-resolution ceiling vs. 32B tiers
- Struggles with long, complex prompts
کلر استعمال کے کیسز
On-device apps
Offline image generation inside mobile/desktop apps.
Edge & IoT rendering
Local synthesis on embedded hardware.
Drafting loops
Cheap instant previews before a Pro render.
ڈویلپر کوک اسٹارٹ اور API
پہلے
HF_TOKEN سیٹ کریں — API کی حاصل کریںcurl https://router.huggingface.co/v1/chat/completions \
-H "Authorization: Bearer $HF_TOKEN" \
-H "content-type: application/json" \
-d '{
"model": "black-forest-labs/FLUX.2-klein-4b",
"messages": [{"role": "user", "content": "Refactor this function for O(n) time and explain the change."}]
}'import os
from openai import OpenAI
client = OpenAI(
base_url="https://router.huggingface.co/v1",
api_key=os.environ["HF_TOKEN"],
)
resp = client.chat.completions.create(
model="black-forest-labs/FLUX.2-klein-4b",
messages=[{"role": "user", "content": "Refactor this function for O(n) time and explain the change."}],
)
print(resp.choices[0].message.content)const res = await fetch("https://router.huggingface.co/v1/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.HF_TOKEN}`,
"content-type": "application/json",
},
body: JSON.stringify({
model: "black-forest-labs/FLUX.2-klein-4b",
messages: [{ role: "user", content: "Refactor this function for O(n) time and explain the change." }],
}),
});
console.log((await res.json()).choices[0].message.content);سرکاری وسائل اور لنکس
API تعیناتی
ہوسٹس اور لیٹنسی کا موازنہ
Groq، Cerebras، Together، DeepInfra، Fireworks، Bedrock اور Azure پر تھروپٹ، TTFT اور کیش قیمتیں۔
GroqCerebrasTogether AIDeepInfraFireworks AIAWS BedrockAzure AI
ذریعے کے لحاظ سے اسکور
زمرے کے لحاظ سے اسکور
بینچ مارک نتائج
لائیو وضاحتیں اور آرکیٹیکچر
اندرونی ڈھانچہ
FLUX.2 Klein 4B — distilled on-device diffusion
- 4B distilled transformer — runs on phones and laptops
- Sub-second generation at 512–1024px
- Same prompt interface as Pro/Dev tiers
- Weights optimized for 6GB memory footprints
اجرا کی تاریخ
14 اکتوبر، 2026
آرکیٹیکچر
FLUX.2 Klein 4B — distilled on-device diffusion
پیرامیٹرز
4B
لائسنس
Open Weights
سیاق ونڈو
32,000 tokens
زیادہ سے زیادہ آؤٹ پٹ
4,096 tokens
موڈیلٹیز
text + image
کیش قیمتیں
ریڈ $0.004 · رائٹ $0.0125 /1M
استدلال
—
ان پٹ قیمت
$0.01/M
آؤٹ پٹ قیمت
$0.01/M
آؤٹ پٹ رفتار
90 t/s
پہلے ٹوکن تک کا وقت
—
ڈیٹا اپڈیٹ
22 اکتوبر، 2026
ہارڈویئر اور مقامی انفرینس
ڈیٹا: Convly AI (CC BY 4.0) ↗VRAM (4-bit Q4)
3 GB
کم از کم GPU
Any 6GB GPU
اندازاً ماہانہ بل
اندازاً ماہانہ اخراجات
$0.00
GPT-4o کے مقابلے میں بچت کا حساب…
حوالہ اور ایمبیڈ
GitHub Markdown بیج
Loading badge markdown...BibTeX
@misc{llmpodium2026flux2klein4b,
title = {Benchmark Analysis and Intelligence Evaluation of FLUX.2 Klein 4B},
author = {LLMPodium Research},
year = {2026},
url = {https://llmpodium.com/models/flux-2-klein-4b}
}اسکور بیج شامل کریں
اپنے GitHub یا Hugging Face README میں لائیو Podium اسکور بیج لگائیں — یہ لائیو درجہ بندی پر لے جاتا ہے۔
پیش منظر
Markdown
Loading badge snippet...HTML
Loading badge snippet...Black Forest Labs کے مزید ماڈلز
متبادل ماڈلز
صلاحیت، قیمت اور بینچ مارک اسکورز کی بنیاد پر FLUX.2 Klein 4B کے قریب ترین متبادل۔