Model API directory · FLUX

FLUX.1 [dev] API

Call FLUX.1 [dev] with the model ID flux-1-dev through the OpenAI-compatible API at cloudgpu.app. One key works for every model in the directory, and usage is charged from a prepaid balance with no monthly minimum.

Price and specs

Model IDflux-1-dev
EndpointPOST /v1/images/generations
Price$0.0125 per image

Prices are read from the live billing table, the same data as the table on /api.

What common workloads cost

WorkloadCost
100 images$1.25
1,000 images$12.50

Estimates multiply the token counts by the prices above. Your bill uses the token counts returned with each response.

Call FLUX.1 [dev] from code

Create a key in the API console and use it in place of cgw-sk-... (or set CLOUDGPU_API_KEY). OpenAI-format clients use the base URL https://cloudgpu.app/v1.

curl
curl https://cloudgpu.app/v1/images/generations \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $CLOUDGPU_API_KEY" \
  -d '{"model": "flux-1-dev", "prompt": "a lighthouse at dusk, film photo", "n": 1}'
Python
from openai import OpenAI

client = OpenAI(api_key="cgw-sk-...", base_url="https://cloudgpu.app/v1")
img = client.images.generate(model="flux-1-dev", prompt="a lighthouse at dusk, film photo")
print(img.data[0].url or img.data[0].b64_json[:40])

Compare with similar models

ModelPrice
FLUX.1 [dev]$0.0125 per image
FLUX.2 [pro]$0.024 per image
FLUX.2 [dev]$0.015 per image
FLUX.1 [schnell]$0.0015 per image
Seedream 5 Flash$0.0175 per image

FLUX.1 [dev] API questions

How much does the FLUX.1 [dev] API cost?

$0.0125 per image on cloudgpu.app. You pay only for what you use, from a prepaid balance with no monthly minimum.

Is the FLUX.1 [dev] API OpenAI-compatible?

Yes. Send requests to /v1/images/generations with the model ID flux-1-dev. The OpenAI Python and Node SDKs work once the base URL is set to https://cloudgpu.app/v1.

How do I get an API key for FLUX.1 [dev]?

Sign up at cloudgpu.app, add balance, and create a key in the API console. The same cgw-sk key works for every model in the directory.