---
last_updated: 2026-11-30
source_url: https://opper.ai/black-forest-labs/flux-1-dev
title: "FLUX.1 [dev] by Black Forest Labs"
description: "FLUX-1-dev by Black Forest Labs, open-weight 12B parameter image generation model with prompt following competitive with closed-source alternatives."
---

# FLUX.1 [dev]

By [Black Forest Labs](https://opper.ai/black-forest-labs).

Released 1 Aug 2024 · [Announcement](https://bfl.ai/blog/24-08-01-bfl) · [All Black Forest Labs releases](https://opper.ai/model-releases/black-forest-labs)

FLUX-1-dev is a 12 billion parameter rectified flow transformer for text-to-image generation, offering prompt adherence and visual quality close to proprietary alternatives. It was trained using guidance distillation, which makes the model more efficient at inference while preserving output quality, and it produces high-quality images at common resolutions such as 1024 by 1024.

Released under a non-commercial license, FLUX-1-dev is well suited to research, personal projects, and non-monetized creative work. It provides a more accessible alternative to closed models while remaining competitive on output quality, which has made it a popular base for community experimentation and derivative fine-tuning across multiple inference platforms.

## Available routes

FLUX.1 [dev] runs on 2 different routes through the Opper gateway. Its routes and prices, live from the catalogue, are public JSON with no API key needed at https://api.opper.ai/v3/models?q=deepinfra%2Fblack-forest-labs%2FFLUX-1-dev.

| Provider | Model id | Region | Zero data retention | Training | Price |
| --- | --- | --- | --- | --- | --- |
| [DeepInfra](https://opper.ai/provider/deepinfra) | `deepinfra/black-forest-labs/FLUX-1-dev` | US (United States) | Yes | No | $0.009 / megapixel |
| [fal](https://opper.ai/provider/fal) | `fal/flux-1-dev` | US (United States) | Retained | No | $0.025 / megapixel |

## Key info

- Model id: `deepinfra/black-forest-labs/FLUX-1-dev`
- Input: Text
- Output: Image
- Features: none listed
- Pricing: $0.009 / megapixel
- Billing: Per megapixel
- Released: 1 Aug 2024
- US residency available
- Zero data retention on pay-as-you-go
- No training by default

## Pricing

Usage-based pricing, billed per megapixel, not by token.

| Variant | Price |
| --- | --- |
| Standard | $0.009 / megapixel |

## Data handling per route

Each route hosting FLUX.1 [dev] has its own privacy posture, residency, and GDPR terms. Postures are maintained by Opper with a last-verification timestamp.

### DeepInfra — United States

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. US; SCCs.

- Zero data retention: Yes. Nothing is logged, held for abuse monitoring or used for training.
- Training: No training on customer data.
- Logging: None
- Abuse monitoring: No classifier
- Transfer mechanism: SCCs

Verified by Opper on 2026-10-19.

### fal — United States

Content is retained: provider logging, 1-day retention. No training on customer data. US; SCCs.

- Zero data retention: Retained: provider logging, 1-day retention.
- Training: No training on customer data.
- Logging: Other (1-day retention)
- Abuse monitoring: On by default, holds flagged content
- Transfer mechanism: SCCs

Verified by Opper on 2026-10-15.

## Get started

Call FLUX.1 [dev] through the Opper gateway with one API key. Image models run on Opper's images endpoint: POST /v3/images returns the image in the response, as base64 by default.

See the [Opper images guide](https://docs.opper.ai/build/multimodal/images) and the [Opper multimodal skill](https://skills.opper.ai/opper-multimodal/SKILL.md).

FLUX.1 [dev] is a premium model on Opper. Sign up needs no credit card: you get an API key straight away and the free models work in the playground and the API. Add a card to use premium models, pay-as-you-go with no minimum.

### Set it up with your agent

Paste this into a coding agent like Claude Code, Cursor or Codex and it will wire up Opper for you:

```text
Use curl to download, read and follow: https://skills.opper.ai/opper-multimodal/SKILL.md Generate an image with FLUX.1 [dev]
```

### Or call it directly

cURL:

```bash
curl -s https://api.opper.ai/v3/images \
  -H "Authorization: Bearer $OPPER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepinfra/black-forest-labs/FLUX-1-dev",
    "prompt": "A watercolor lighthouse on a cliff at sunrise",
    "size": "1024x1024"
  }' \
  | jq -r '.data[0].b64_json' | base64 --decode > image.png
```

JavaScript:

```javascript
import { writeFile } from "node:fs/promises";

const res = await fetch("https://api.opper.ai/v3/images", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.OPPER_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "deepinfra/black-forest-labs/FLUX-1-dev",
    "prompt": "A watercolor lighthouse on a cliff at sunrise",
    "size": "1024x1024"
  }),
});
const { data } = await res.json();
// Each image comes back as base64 (b64_json) unless you ask for a url
await writeFile("image.png", Buffer.from(data[0].b64_json, "base64"));
```

## Use FLUX.1 [dev] in your apps

Pick your tool to see how to run it on FLUX.1 [dev] through Opper.

- [Claude Code](https://opper.ai/apps/claude-code/flux-1-dev)
- [Claude Cowork](https://opper.ai/apps/claude-cowork/flux-1-dev)
- [Codex](https://opper.ai/apps/codex/flux-1-dev)
- [DeepSeek Harness](https://opper.ai/apps/deepseek-harness/flux-1-dev)
- [GitHub Copilot CLI](https://opper.ai/apps/github-copilot-cli/flux-1-dev)
- [Aider](https://opper.ai/apps/aider/flux-1-dev)
- [Goose](https://opper.ai/apps/goose/flux-1-dev)
- [Droid](https://opper.ai/apps/droid/flux-1-dev)
- [OpenCode](https://opper.ai/apps/opencode/flux-1-dev)
- [Pi](https://opper.ai/apps/pi/flux-1-dev)
- [OpenClaw](https://opper.ai/apps/openclaw/flux-1-dev)
- [Hermes](https://opper.ai/apps/hermes/flux-1-dev)
- [Copilot for Obsidian](https://opper.ai/apps/obsidian-copilot/flux-1-dev)
- [OmniRoute](https://opper.ai/apps/omniroute/flux-1-dev)
- [Cursor](https://opper.ai/apps/cursor/flux-1-dev)
- [Cline](https://opper.ai/apps/cline/flux-1-dev)
- [Continue](https://opper.ai/apps/continue/flux-1-dev)
- [Kilo Code](https://opper.ai/apps/kilo-code/flux-1-dev)
- [GitHub Copilot](https://opper.ai/apps/github-copilot/flux-1-dev)
- [Zed](https://opper.ai/apps/zed/flux-1-dev)
- [JetBrains AI Assistant](https://opper.ai/apps/jetbrains-ai-assistant/flux-1-dev)
- [Voidleap Code](https://opper.ai/apps/voidleap-code/flux-1-dev)
- [n8n](https://opper.ai/apps/n8n/flux-1-dev)
- [LibreChat](https://opper.ai/apps/librechat/flux-1-dev)
- [Open WebUI](https://opper.ai/apps/open-webui/flux-1-dev)
- [See all apps](https://opper.ai/apps)

## Other models from Black Forest Labs

- [FLUX.2 \[dev\]](https://opper.ai/black-forest-labs/flux-2-dev)
- [FLUX.2 \[flash\]](https://opper.ai/black-forest-labs/flux-2-flash)
- [FLUX.2 \[klein\] 4B](https://opper.ai/black-forest-labs/flux-2-klein-4b)
- [FLUX.2 \[klein\] 9B](https://opper.ai/black-forest-labs/flux-2-klein-9b)
- [FLUX.2 \[max\]](https://opper.ai/black-forest-labs/flux-2-max)
- [FLUX.2 \[pro\]](https://opper.ai/black-forest-labs/flux-2-pro)
