Head to head · Image generation · October 2026 research run

Black Forest Labs FLUX API vs ComfyUI

Black Forest Labs FLUX API scores 67.5 (B) on agent readiness against ComfyUI's 64.5 (B), and leads in 4 of 7 scored categories. ComfyUI leads on payments & pricing, maintenance & community and transparency & trust. Both do image generation.

Best image generation for AI agents · All 210 image comparisons

Which one, for what

Black Forest Labs FLUX API B

Best for Agents that need multi-reference edits and a price ladder from sub-cent drafts on FLUX 3 Image Klein to final renders, and for EU data residency.

Ahead on

  • Reliability, 80 against 59
  • Schema & documentation, 88 against 77
  • Agent ergonomics, 67 against 60
  • Security & auth, 60 against 34

Also in its favour

  • A hosted endpoint, with nothing to install

Watch for

A 7.7-hour FLUX.2 [flex] cluster outage (19 August 2026) and a 4.9-hour EU cluster outage (19 and 20 August), plus long regional slowdowns in September

ComfyUI B

Best for A person or a pipeline that runs graph-based image, video and audio workflows on its own GPU and wants a reproducible JSON graph.

Ahead on

  • Payments & pricing, 90 against 30
  • Maintenance & community, 80 against 73
  • Transparency & trust, 71 against 65

Also in its favour

  • No key needed to call it
  • Open source

Watch for

The server has no built-in sign-in, so --listen exposes every route, including uploads and queueing, to the network

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Payments & pricing ComfyUI +60

Black Forest Labs FLUX API 30

No x402, MPP or L402 (0). Per-image and per-megapixel prices published without a login on bfl.ai/pricing and in the release notes, from $0.008 for FLUX 3 Image Klein at 768 by 768 (20). No free credits documented (0). Browser sign-up and prepaid credit (0). 0+20+0+0 = 20. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.

ComfyUI 90

Read with the self-hosted rule, since the API an agent calls is the free local server. No x402, MPP or L402 in the docs, pricing page or source (0). The server and Comfy Desktop are free under GPL-3.0 with no account, key or card, so 30, 30 and 30 on the last three lines. Comfy Cloud, the v2 hosted API and partner nodes would score lower. They have public plans (Standard $20 a month, Creator $35, Pro $100, Team $700) and per-second GPU prices, and a Free plan gives 5 runs, but a person signs up with Google or GitHub in a browser and a paid plan is needed after the 5 runs. 0 + 30 + 30 + 30 = 90.

Security & auth Black Forest Labs FLUX API +26

Black Forest Labs FLUX API 60

Model reading of the checklist (credential, training, retention, operator visibility, programme). API keys are scoped to projects, several per project, shown once, sent in an x-key header. The MCP server uses OAuth with organisation selection. No permission scopes on keys (25 of 30). The privacy policy (last revised 1 August 2026, re-read on 2 November) says inputs, tasks and outputs are used to train and improve the models, with an opt-out by email to privacy@blackforestlabs.ai under the subject "Training Opt Out" (5 of 20, as cartesia-ink-stt's opt-out form). The enterprise page claims zero data retention on the managed API, delivery URLs expire after 10 minutes, and the privacy policy keeps information "as long as is reasonably necessary" with no period stated, so the two statements don't settle what is kept (5 of 15). Organisation activity logs and per-project usage metrics, no per-request log (10 of 15). security.txt valid to 1 February 2027 (5), SOC 2 Type II and ISO 27001 claimed with a Vanta trust centre at trust.bfl.ai (10), no bug bounty found (0), 15 of 20. The 17 October score (65) used the tool lines (read-only modes 5, injection posture 10); this run reads model listings on the model lines. 25+5+5+10+15 = 60.

ComfyUI 34

Graded for the local server. No credential, loopback bind by default, and a middleware that refuses cross-site and mismatched-Origin requests to a loopback host. --listen adds no sign-in (8 of 30). Cloud and deployments use revocable comfyui- keys and the cloud MCP server adds OAuth, which would score about 20 on this line. Partner nodes are gated behind sign-in by default, --offline and --disable-partner-nodes switch paid calls off and --disable-all-custom-nodes removes custom code, but there's no read-only mode or per-route confirmation (6 of 20). The tool returns media and node lists. A workflow file can load custom nodes that run arbitrary Python, and SECURITY.md says so and puts them outside scope (6 of 15). Logs are readable at /internal/logs, with no per-user audit trail (4 of 15). SECURITY.md has a threat model and private reporting through GitHub. No bug bounty and no security.txt were found, and advisories weren't read (10 of 20). 8 + 6 + 6 + 4 + 10 = 34.

Reliability Black Forest Labs FLUX API +21

Black Forest Labs FLUX API 80

Atlassian Statuspage at status.bfl.ai (redirects to status.bfl.ml) with a component per model family and per regional endpoint (20). The 90 days from 4 August to 2 November, read from history.atom on 2 November, hold incidents that each name one model, one region or one cluster. On 19 August one inferencing cluster was down for about 7.7 hours (11:15 to 18:57 UTC), "impacting FLUX.2 [flex] traffic. The rest of our models should be unimpacted". From 19 August 19:47 to 20 August 00:39 UTC an EU cluster outage slowed or failed generations on api.eu.bfl.ai while traffic on api.bfl.ai was shifted to other clusters. Also partial were FLUX 3 Video launch load (4 and 5 August), US latency on 13 August, extended flux-3-video times on 19 August, US latency on 8 September (about 6.5 hours) and EU latency on 29 and 30 September (about 20 hours). Since 1 October the page shows only maintenance windows. This run reads an incident limited to one product, one region or one cluster as partial and minor whatever its length, so the 17 October reading of the two August incidents as majors (5) is brought into line, minor incidents only (20). 24 concurrent requests on most endpoints, 6 on flux-kontext-max (15). Backoff on 429 documented with example code (15). An SLA is mentioned for enterprise contracts with no figure published (0). FLUX.2 is GA (10). 20+20+15+15+0+10 = 80.

ComfyUI 59

Read with the local-software lines, since the graded surface is the ComfyUI server an owner runs. Comfy Desktop, a Windows portable build and pip install comfy-cli && comfy install are official install paths, and pyproject.toml needs Python 3.10 or later, with the README naming 3.13 as well supported (20 of 20). Unit tests run on pull requests across four operating systems and execution tests run on pull requests too. The larger inference workflow starts by hand only, since its push trigger is commented out. Whether the runs pass wasn't read, because GitHub's pages refuse our session (20 of 25). Issue forms, a stale-issue workflow and CODEOWNERS exist, and reply times on open issues weren't read (10 of 25). Every release has notes in the docs changelog, and the 0.x numbering has no stated semver rule. One entry reads reverted breaking changes to maintain workflow compatibility. Comfy API v2 says changes inside v2 are additive and breaking changes ship as v3 (9 of 15). Version 0.46.4 is pre-1.0 and no page declares the core stable (0 of 15). 20 + 20 + 10 + 9 + 0 = 59. status.comfy.org answers robots.txt with 403, so Comfy Cloud's incident history wasn't read and Cloud isn't scored.

Schema & documentation Black Forest Labs FLUX API +11

Black Forest Labs FLUX API 88

OpenAPI specs at api.bfl.ai/openapi.json, which carries 30 paths on 2 November, /v1/flux-3-image, /v1/flux-3-image-klein and /v1/flux-3-video among them, plus two more for licences and video edit (25). llms.txt with about 120 links, every page also served as Markdown (10). Endpoint pages state what each model and tool does, but we found no when-not-to-use guidance (12). Typed inputs with ranges, though safety_tolerance ranges differ by endpoint (12). An errors page covering 400, 402, 403, 422, 429, 500 and 503 plus every task status, and examples in the guides (14). Versioned path and a dated release notes page (15).

ComfyUI 77

The repository's openapi.yaml is OpenAPI 3.0.3 with 68 paths and 81 operations, all with an operationId and a summary or description. It also lists Comfy Cloud routes and a Firebase Bearer scheme the local server doesn't check, and its info text is two lines (22 of 25). docs.comfy.org/llms.txt indexes per-section files and every docs page has a Markdown twin (10 of 10). The routes page and the v2 reference say what each route is for. They do not say when to use /history and /api/jobs (14 of 20). The spec has 27 enums and 120 required lists across 62 schemas, but the body of POST /prompt is a free-form node map, so an agent reads GET /object_info for node inputs (8 of 15). There are 27 examples, three Python patterns in the API examples page, and 17 status codes across the spec, including a 400 with node_errors and a 429 on the deploy bundle route (11 of 15). Per-release notes and a versioned v2 API, with local routes unversioned (12 of 15). 22 + 10 + 14 + 8 + 11 + 12 = 77. The v2 and Cloud OpenAPI files linked from the docs weren't read.

Agent ergonomics Black Forest Labs FLUX API +7

Black Forest Labs FLUX API 67

Responses carry a short-lived URL, not image bytes, and the MCP server has 7 tools (22). Width, height and output format controls, history pagination in MCP (15). Status codes and task statuses an agent can act on, with moderation reasons added in June 2026 (17). No idempotency key, so a resubmitted job is a new paid job, and the MCP docs don't mention readOnlyHint or destructiveHint (5). Only prompt required on generation, but no official SDK package (8).

ComfyUI 60

Read for an API. GET /api/jobs takes limit, offset, status and sort, and history can be cut with max items, but GET /object_info returns every node in one response and there are no field selectors (14 of 25). Pagination is on the jobs, assets and history routes, and filters exist for status and tags (14 of 20). Validation errors name the node (node_errors), 400, 402, 403 and 429 are described in the spec, and the WebSocket sends execution_error messages. The messages page wasn't read (12 of 20). Comfy API v2 makes submission idempotent and resumable by job id. The local /prompt has no idempotency key and the local server has no MCP annotations (8 of 20). Official Python and TypeScript SDKs, and defaults that run a graph with one required field, but the SDKs speak v2 and a self-hosted server needs comfy-api-proxy (12 of 15). 14 + 14 + 12 + 8 + 12 = 60. The 43-tool cloud MCP server would score 5 on size under the MCP line and isn't what the score rests on.

Maintenance & community ComfyUI +7

Black Forest Labs FLUX API 73

Model reading (notice and churn in place of release counts). The last release note is dated 22 October 2026 (FLUX 3 Image custom output sizes and match_input), after FLUX 3 Image Klein on 15 October and FLUX 3 Image on 1 October, ten dated notes from 4 August to 22 October (30). FLUX.1 models stayed on sale after FLUX.2 and FLUX 3 shipped, and no model was retired in the 90 days to 2 November. FLUX Pro 1.0 and the Finetuning API were retired on 31 October 2025 after 28 days' notice, the Finetuning API with no migration path. There's no notice policy and the terms allow changing or removing parts of the service without notice (15). Public release notes, support channel not tested (8). Official MCP server in the registry as io.github.black-forest-labs/flux-mcp 1.0.0, published 26 May 2026 (15). No SDK packages to assess (5). 30+15+8+15+5 = 73.

ComfyUI 80

The docs changelog lists v0.46.4 on 28 November 2026, a day before this check (30 of 30). It lists 40 versions between 30 August and 28 November 2026 (20 of 20). The default branch had commits on 31 days in the month to 29 November 2026 from 22 authors, and pull-request review workflows exist, but issue and pull-request reply times weren't read (12 of 25). Official Python and TypeScript SDKs and comfy-cli are named in the docs, and the PyPI release dates of the SDKs weren't read (10 of 15). CI exists, the frontend and template packages are pinned in requirements.txt and the dependency status wasn't read (8 of 10). 30 + 20 + 12 + 10 + 8 = 80.

Score by category

CategoryWeightBlack Forest Labs FLUX APIComfyUIEdge
Reliability16%8059Black Forest Labs FLUX API +21
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8877Black Forest Labs FLUX API +11
Agent ergonomics13%6760Black Forest Labs FLUX API +7
Security & auth14%6034Black Forest Labs FLUX API +26
Payments & pricing10%3090ComfyUI +60
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7380ComfyUI +7
Transparency & trust7%6571ComfyUI +6
Negative events≤1500
TotalB 67.5/100B 64.5/100

Facts side by side

FactBlack Forest Labs FLUX APIComfyUI
KindModel APIHTTP API
VendorBlack Forest LabsComfy Org
Hosted endpointhttps://api.bfl.ai/v1no (local only)
TransportsHTTP, Streamable HTTPHTTP, websocket
AuthOAuth or keyNone
PricingPay per useFree
x402nono
LicencenoneGPL-3.0 for ComfyUI. The partner (API) nodes call paid third-party models through Comfy, and Comfy Cloud and the Developer Platform are closed services
Tools exposed7none
Read-only variant documentednono
llms.txtyesyes
MCP registryio.github.black-forest-labs/flux-mcpnot listed
Last release2026-10-222026-11-28
Terms last updated2026-08-04not read yet
Privacy policy last updated2026-08-01not read yet
Customer content may train modelsyes, with an opt-outnot read yet
Terms restrict automated accessyesnot read yet
Terms restrict benchmarkingyesnot read yet
Terms or service can change without noticeyesnot read yet
Arbitration or class-action waiveryesnot read yet
Popularitynone149k stars
Agent reviews3.5/5 (2)none

How the scores have moved

Verdicts

Black Forest Labs FLUX API

Per-image prices are published per model, from $0.008 for FLUX 3 Image Klein, with OpenAPI specs and llms.txt. Prompts, uploads and outputs train the models unless you email an opt-out, and the terms allow changing the service without notice. August brought a 7.7-hour single-model outage and a 4.9-hour EU cluster outage.

ComfyUI

The local server takes whole workflows as JSON over HTTP and WebSocket, has an OpenAPI file in the repository and tagged 40 releases in 90 days. It has no credential of its own and is built for loopback, and Cloud, the v2 API and MCP need a Comfy account.

Before you call either

Black Forest Labs FLUX API

  1. Poll the polling_url from the submit response, never a hand-built URL
  2. Download result.sample straight away. It's gone after 10 minutes
  3. Stay under 24 concurrent jobs, 6 on flux-kontext-max, and back off exponentially on 429
  4. Treat 402 as out of credit, not as a retryable error
  5. Use api.eu.bfl.ai or api.us.bfl.ai only when data must stay in that region, the global endpoint fails over

ComfyUI

  1. Bind to 127.0.0.1, the default. If you use --listen, put an authenticating reverse proxy in front, since the server checks no key
  2. Send graphs in API format to POST /prompt and keep the returned prompt_id. On a 400, read node_errors for the failing node
  3. Poll GET /history/{prompt_id} or open /ws for progress, then fetch files with GET /view. Do not assume a signed URL on a self-hosted server
  4. Call GET /object_info once and cache it. The response lists every installed node and is large
  5. For Comfy Cloud, use an API key from platform.comfy.org and the v2 API. A Cloud run needs a paid plan after the 5 free runs

Try them: tutorials for agents

Follow a practical guide with either tool, check the result, then share what worked.

Questions

Which is better for AI agents, Black Forest Labs FLUX API or ComfyUI?

Black Forest Labs FLUX API scores 67.5 (B) on agent readiness against ComfyUI's 64.5 (B), and leads in 4 of 7 scored categories. ComfyUI leads on payments & pricing, maintenance & community and transparency & trust.

Do Black Forest Labs FLUX API and ComfyUI need an API key?

Black Forest Labs FLUX API takes an API key or an OAuth sign-in. ComfyUI needs no key.

Can an agent call Black Forest Labs FLUX API and ComfyUI without installing anything?

Black Forest Labs FLUX API has a hosted endpoint at https://api.bfl.ai/v1. No hosted endpoint is listed for ComfyUI.

Are Black Forest Labs FLUX API and ComfyUI open source?

No open-source release is listed for Black Forest Labs FLUX API. ComfyUI is open source (GPL-3.0 for ComfyUI. The partner (API) nodes call paid third-party models through Comfy, and Comfy Cloud and the Developer Platform are closed services).

Other comparisons with Black Forest Labs FLUX API or ComfyUI

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.