FLUX 2 Dev is Black Forest Labs's image generation model. The second-generation development-tier text-to-image model from Black Forest Labs, building on the FLUX rectified flow transformer architecture.
Specifications
Canonical IDblack-forest-labs-flux-2-dev
TypeImage Generation
StatusActive
CreatorBlack Forest LabsBlack Forest Labs
Providers
Input ModalitiesText
Output ModalitiesImage
Parameters32.2B
HuggingFace Likes1,560
HuggingFace Downloads (30d)201,991
HuggingFace Downloads (all-time)1,715,287

Capabilities

Input1/5
Text
Image·
Audio·
Video·
PDF·
Output1/5
Text·
Image
Audio·
Video·
Embedding·
Capabilities0/13
Reasoning·
Adaptive Reasoning·
Function Calling·
Parallel Function Calling·
Structured Outputs·
Native JSON Schema·
Web Search·
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching·
Assistant Prefill·

Pricing by Provider

US Dollar ($)
Per 1M tokens
ProviderStandard
Image In
$ / 512 tile
Image Out
$ / 512 tile
Cloudflare Workers AI logo
Cloudflare Workers AI
@cf/black-forest-labs/flux-2-dev
$0.000210
per_step
$0.000410
per_step

Cost Calculator

US Dollar ($)
Preset:

Cheapest Instances to Run It

Cloud GPU instances that can host FLUX 2 Dev, ranked by cheapest on-demand price. The model needs about 77 GB of GPU memory at FP16 precision (estimated from its parameter count), so treat the fit as guidance rather than a guarantee.

All clouds
FP16 (full precision)
US Dollar ($)
Instance
Cloud
GPU
VRAM
Price
Cheapest region
Standard_NP20sAzure2× AMD Alveo U250 FPGA (64GB)128 GB$3.30/hreastus
g7e.2xlargeAWSRTX PRO Server 600096 GB$3.36/hrus-east-1
g2-standard-48GCP4× nvidia-l496 GB$3.99/hrus-east4
7 more instances can run FLUX 2 Dev
Unlock the full ranked list and FP8 / INT4 quantization with a CloudPrice subscription.

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
FLUX 3 VideoAvailable
FLUX Klein 2 4BAvailable
FLUX Klein 2 9BAvailable
FLUX 2 Max67KAvailable
FLUX 2 FlexAvailable
FLUX 2 DevCurrent
FLUX 2 Dev FlashAvailable
FLUX 2 Dev TurboAvailable
FLUX 2 Small DecoderAvailable
FLUX Klein 2 4B BaseAvailable
FLUX Klein 2 9B BaseAvailable

Model IDs

@cf/black-forest-labs/flux-2-dev
black-forest-labs-flux-2-dev
black-forest-labs/FLUX-2-dev
fal_flux-2-dev-flash
fal_flux-2-dev-turbo
flux_flux-2--dev