Home › Models › flux.2-dev

flux.2-dev API

2 hosts currently serve flux.2-dev through VideoRouter. The lowest price is $0.0031 / image (Price) at MachGen; at Price the spread between the cheapest host (MachGen) and the priciest (Fal) is 74%.

flux.2-dev pricing by provider

HostPrice
MachGen machgen$0.0031
Fal fal$0.012

USD per image, before the 2% platform fee. Bold = cheapest at that tier. — = host does not offer that tier. Built 2026-10-02.

What it costs per batch

At the cheapest current host:

Cheapest host1 image100 images1,000 images
MachGen$0.0031$0.31$3.10

How to call flux.2-dev

Model id: black-forest-labs/flux.2-dev. Preferring the cheapest host right now:

curl https://videorouter.sh/api/v1/images \
  -H "Authorization: Bearer $VIDEOROUTER_API_KEY" -H "Content-Type: application/json" \
  -d '{"model": "black-forest-labs/flux.2-dev/machgen", "prompt": "a red panda astronaut floating in space"}'

Drop the host suffix (black-forest-labs/flux.2-dev) to let the router pick the cheapest healthy host and fail over automatically. Full examples in the quickstart.

Frequently asked questions

How much does the flux.2-dev API cost?

The lowest current price is $0.0031 / image (Price) at MachGen; the full host-by-host table is on this page, before VideoRouter's 2% platform fee.

What is the flux.2-dev API model id?

Use black-forest-labs/flux.2-dev. Add a host suffix such as black-forest-labs/flux.2-dev/machgen to pin a specific provider.

Which provider is cheapest for flux.2-dev?

Right now MachGen at Price. Prices change, so unpinned requests route to the cheapest healthy host instead of hard-coding one.

Related models

Open flux.2-dev on VideoRouter Get an API key