{
  "data": {
    "a": {
      "slug": "black-forest-labs",
      "name": "Black Forest Labs FLUX API",
      "vendor": "Black Forest Labs",
      "vendorUrl": "https://bfl.ai",
      "kind": "model",
      "category": "image-generation",
      "summary": "Black Forest Labs' hosted API for the FLUX image models.",
      "url": "https://www.anchorterminal.com/tools/black-forest-labs",
      "markdownUrl": "https://www.anchorterminal.com/tools/black-forest-labs.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/black-forest-labs.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/black-forest-labs.json",
      "transports": [
        "http",
        "streamable-http"
      ],
      "remoteUrl": "https://api.bfl.ai/v1",
      "packages": [],
      "auth": "mixed",
      "authNotes": "REST API takes the key in an `x-key` header. The hosted MCP server at mcp.bfl.ai uses OAuth with a BFL account and bills the organisation you pick at sign-in.",
      "pricing": "usage",
      "pricingNotes": "Prepaid credits, 1 credit is $0.01, same price in API and Playground. FLUX.2 is priced by output megapixel. [klein] 4B from $0.014, [klein] 9B from $0.015, [pro] from $0.03 (edits from $0.045), [flex] from $0.05, [max] from $0.07. FLUX.1 Kontext [pro] $0.04, Kontext [max] $0.08, FLUX1.1 [pro] $0.04, Ultra $0.06. Batches cost the per-image price times the count (https://bfl.ai/pricing).",
      "priceSummary": "$0.01 / credit",
      "where": "hosted",
      "x402": {
        "level": "no",
        "evidence": "No machine payment. Access needs prepaid credits on a BFL account.",
        "endpoints": []
      },
      "toolCount": 7,
      "popularity": {
        "githubStars": null,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-09-30"
      },
      "docsUrl": "https://docs.bfl.ai",
      "llmsTxt": "https://docs.bfl.ai/llms.txt",
      "openapi": "https://api.bfl.ai/openapi.json",
      "registryName": "io.github.black-forest-labs/flux-mcp",
      "capabilities": [
        "image.generate",
        "image.edit",
        "image.reference"
      ],
      "tags": [
        "hosted",
        "mcp",
        "llms-txt",
        "openapi",
        "async-jobs",
        "webhooks",
        "open-weights",
        "c2pa",
        "commercial-licence"
      ],
      "lastRelease": "2026-09-10",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 64.2,
        "grade": "B",
        "agentReady": false,
        "rank": 186,
        "ranked": true,
        "rankOf": 452,
        "categoryRank": 3,
        "methodology": "0.3",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 67,
          "maintenance": 73,
          "payments": 20,
          "reliability": 65,
          "schema": 88,
          "security": 65,
          "transparency": 66
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-01"
        },
        "negative": 0,
        "verdict": "Per-image and per-megapixel prices published per model, from $0.014. Two cluster outages over four hours (19 and 20 August 2026) and slowdowns of 6.5 and 20 hours since.",
        "strengths": [
          "Per-image and per-megapixel prices published per model, from $0.014",
          "Up to 10 reference images and 4MP output on FLUX.2",
          "EU and US regional endpoints with a global endpoint that fails over",
          "Official hosted MCP server with OAuth, listed in the MCP registry",
          "OpenAPI specs, llms.txt and an errors page covering every task status"
        ],
        "weaknesses": [
          "Two cluster outages over four hours (19 and 20 August 2026) and slowdowns of 6.5 and 20 hours since",
          "Result URLs expire after 10 minutes",
          "Prompts and uploads may be used for training unless you email an opt-out",
          "Developer terms allow changing or removing parts of the service without notice",
          "No official SDK package and no free credits"
        ],
        "agentNotes": [
          "Poll the `polling_url` from the submit response, never a hand-built URL",
          "Download `result.sample` straight away. It's gone after 10 minutes",
          "Stay under 24 concurrent jobs, 6 on flux-kontext-max, and back off exponentially on 429",
          "Treat 402 as out of credit, not as a retryable error",
          "Use api.eu.bfl.ai or api.us.bfl.ai only when data must stay in that region, the global endpoint fails over"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 2,
        "avgRating": 3.5,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "B",
            "methodology": "0.3",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 64.2
          }
        ],
        "editorialScores": {
          "ergonomics": 67,
          "maintenance": 73,
          "payments": 20,
          "reliability": 65,
          "schema": 88,
          "security": 65,
          "transparency": 40
        },
        "provenanceScore": 92
      },
      "connect": {
        "http": "curl -X POST https://api.bfl.ai/v1/flux-2-pro \\\n  -H \"x-key: $BFL_API_KEY\" -H \"content-type: application/json\" \\\n  -d '{\"prompt\":\"A serene landscape with mountains\",\"width\":1024,\"height\":1024}'\n# then GET the returned polling_url with the same x-key until status is Ready",
        "claudeCode": "claude mcp add --transport http FLUX https://mcp.bfl.ai"
      },
      "letme": {
        "capability": "https://letme.dev/image.generate",
        "tool": "https://letme.dev/black-forest-labs"
      },
      "area": "content",
      "unitPrices": [
        {
          "item": "FLUX.2 [klein] 4B",
          "unit": "image",
          "usd": 0.014,
          "note": "from, first megapixel"
        },
        {
          "item": "FLUX.2 [pro]",
          "unit": "image",
          "usd": 0.03,
          "note": "from, text-to-image, first megapixel"
        },
        {
          "item": "FLUX.2 [max]",
          "unit": "image",
          "usd": 0.07,
          "note": "from, first megapixel"
        },
        {
          "item": "FLUX.1 Kontext [pro]",
          "unit": "image",
          "usd": 0.04
        },
        {
          "item": "FLUX1.1 [pro]",
          "unit": "image",
          "usd": 0.04
        },
        {
          "item": "Credits",
          "unit": "credit",
          "usd": 0.01
        }
      ],
      "provenance": {
        "legalEntity": "Black Forest Labs Inc.",
        "domain": "bfl.ai",
        "domainRegistered": "2022-06-29",
        "endpointOnVendorDomain": true,
        "terms": "https://bfl.ai/legal/developer-terms-of-service",
        "privacy": "https://bfl.ai/legal/privacy-policy",
        "statusPage": "https://status.bfl.ai",
        "changelog": "https://docs.bfl.ai/release-notes",
        "securityTxt": "valid",
        "checked": "2026-09-30",
        "notes": [
          "BFL GmbH (Freiburg, Germany) is the data controller for users in the EEA, Switzerland and the UK.",
          "The docs also answer on docs.bfl.ml and the security.txt lists blackforestlabs.ai as a second canonical domain."
        ],
        "score": 92
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/black-forest-labs.json",
      "live": {
        "slug": "black-forest-labs",
        "probe": {
          "target": "https://api.bfl.ai/v1",
          "method": "get",
          "lastAt": "2026-10-05T00:25:39.824579497Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 124,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 372,
          "p95ms24h": 477,
          "samples24h": 272,
          "samples30d": 1107,
          "days": [
            {
              "date": "2026-09-30",
              "probes": 35,
              "ok": 35
            },
            {
              "date": "2026-10-01",
              "probes": 276,
              "ok": 276
            },
            {
              "date": "2026-10-02",
              "probes": 248,
              "ok": 248
            },
            {
              "date": "2026-10-03",
              "probes": 271,
              "ok": 271
            },
            {
              "date": "2026-10-04",
              "probes": 272,
              "ok": 272
            },
            {
              "date": "2026-10-05",
              "probes": 5,
              "ok": 5
            }
          ]
        },
        "vendorStatus": {
          "page": "https://status.bfl.ai",
          "indicator": "none",
          "summary": "All Systems Operational",
          "checkedAt": "2026-10-05T00:22:37.844866459Z"
        },
        "versions": [
          {
            "registry": "mcp-registry",
            "name": "io.github.black-forest-labs/flux-mcp",
            "version": "1.0.0",
            "seenAt": "2026-10-04T23:42:40.113054682Z"
          }
        ],
        "securityTxt": {
          "url": "https://bfl.ai/.well-known/security.txt",
          "state": "valid",
          "expires": "2027-02-01T00:00:00Z",
          "checkedAt": "2026-10-04T15:15:43.323444715Z"
        },
        "llmsTxt": {
          "url": "https://docs.bfl.ai/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-10-04T15:17:20.350380922Z"
        },
        "domain": {
          "domain": "bfl.ai",
          "registered": "2022-06-29",
          "source": "https://rdap.identitydigital.services/rdap/domain/bfl.ai",
          "checkedAt": "2026-10-04T13:10:31.899583527Z"
        },
        "pages": [
          {
            "url": "https://docs.bfl.ai/release-notes",
            "kind": "changelog",
            "status": 200,
            "checkedAt": "2026-10-04T15:43:15.571214351Z",
            "changedAt": "2026-10-02T15:19:38.108762461Z",
            "fingerprint": "dcaf496d519d"
          },
          {
            "url": "https://bfl.ai/pricing",
            "kind": "pricing",
            "status": 200,
            "checkedAt": "2026-10-04T15:41:29.91441304Z",
            "changedAt": "2026-10-02T15:17:49.889384729Z",
            "fingerprint": "e6f22048a8fa"
          },
          {
            "url": "https://bfl.ai/legal/privacy-policy",
            "kind": "privacy",
            "status": 200,
            "checkedAt": "2026-10-04T15:41:27.862197055Z",
            "changedAt": "2026-10-02T15:17:47.888380414Z",
            "fingerprint": "d6320ad3accb"
          },
          {
            "url": "https://bfl.ai/legal/developer-terms-of-service",
            "kind": "terms",
            "status": 304,
            "checkedAt": "2026-10-04T15:41:25.699157417Z",
            "changedAt": "2026-10-02T15:17:45.836950048Z",
            "fingerprint": "ddc9a171e173"
          }
        ],
        "updatedAt": "2026-10-05T00:25:39.824579497Z"
      }
    },
    "b": {
      "slug": "leonardo-ai",
      "name": "Leonardo.Ai API",
      "vendor": "Leonardo.Ai (Canva)",
      "vendorUrl": "https://leonardo.ai",
      "kind": "model",
      "category": "image-generation",
      "summary": "Leonardo's own Phoenix and Lucid image models alongside resold third-party ones (FLUX, GPT Image, Ideogram 3.0, Nano Banana, Seedream) through one v2 generations endpoint.",
      "url": "https://www.anchorterminal.com/tools/leonardo-ai",
      "markdownUrl": "https://www.anchorterminal.com/tools/leonardo-ai.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/leonardo-ai.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/leonardo-ai.json",
      "transports": [
        "http",
        "streamable-http"
      ],
      "remoteUrl": "https://cloud.leonardo.ai/api/rest/v2",
      "packages": [
        {
          "registry": "npm",
          "name": "@leonardo-ai/sdk"
        },
        {
          "registry": "pypi",
          "name": "leonardo-ai-sdk"
        }
      ],
      "auth": "api-key",
      "authNotes": "Bearer API key created on the API Access page of the web app. The hosted MCP server at https://mcp.leonardo.ai/v1/mcp takes the same key in an API-Key header.",
      "pricing": "usage",
      "pricingNotes": "Pay as you go from a prepaid dollar balance that doesn't expire, with optional auto top-up. No monthly fee. API billing is separate from web app subscriptions. Per-image prices aren't published as a table. Cost depends on model, resolution and output count, shown in the in-app pricing calculator and returned in a cost object on each generation. Custom plans on request (https://docs.leonardo.ai/docs/pricing-and-plans-faq).",
      "priceSummary": "Pay per use",
      "where": "hosted",
      "x402": {
        "level": "no",
        "evidence": "No x402 in the API docs (checked 2026-09-30).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": null,
        "npmWeekly": 20039,
        "pypiWeekly": 82,
        "asOf": "2026-09-30"
      },
      "docsUrl": "https://docs.leonardo.ai/docs/getting-started",
      "llmsTxt": "https://docs.leonardo.ai/llms.txt",
      "capabilities": [
        "image.generate",
        "image.edit",
        "image.upscale",
        "image.reference"
      ],
      "tags": [
        "hosted",
        "closed-source",
        "mcp",
        "llms-txt",
        "python",
        "typescript",
        "async-jobs",
        "webhooks",
        "commercial-licence"
      ],
      "lastRelease": "2026-04-21",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 37.8,
        "grade": "F",
        "agentReady": false,
        "rank": 433,
        "ranked": true,
        "rankOf": 452,
        "categoryRank": 9,
        "methodology": "0.3",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 54,
          "maintenance": 48,
          "payments": 0,
          "reliability": 30,
          "schema": 45,
          "security": 40,
          "transparency": 51
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-01"
        },
        "negative": 0,
        "verdict": "Own models plus FLUX, GPT Image, Ideogram, Nano Banana and Seedream behind one endpoint. No per-image price list outside the logged-in calculator.",
        "strengths": [
          "Own models plus FLUX, GPT Image, Ideogram, Nano Banana and Seedream behind one endpoint",
          "Pay as you go with a balance that doesn't expire and no monthly fee",
          "Every generation returns a cost object",
          "Official TypeScript and Python SDKs, published through npm trusted publishing",
          "Webhook callbacks as well as polling"
        ],
        "weaknesses": [
          "No per-image price list outside the logged-in calculator",
          "No status page and no security.txt",
          "Deprecation notice of 8 to 28 days with no stated policy",
          "No documented status code or backoff advice for limit errors",
          "TypeScript SDK last released on 21 April 2026"
        ],
        "agentNotes": [
          "Use `POST /api/rest/v2/generations` with a `model` name such as `lucid-origin`",
          "Read the `cost` object in each response to track spend, prices aren't published",
          "Send `quality`, not `mode`. `mode` was retired on 2026-05-04",
          "Set a webhook callback URL on the key instead of polling long jobs",
          "Check the deprecations page before relying on a third-party model, removals follow the provider"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 2,
        "avgRating": 2,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "F",
            "methodology": "0.3",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 37.8
          }
        ],
        "editorialScores": {
          "ergonomics": 54,
          "maintenance": 48,
          "payments": 0,
          "reliability": 30,
          "schema": 45,
          "security": 40,
          "transparency": 25
        },
        "provenanceScore": 76
      },
      "connect": {
        "http": "curl -X POST https://cloud.leonardo.ai/api/rest/v2/generations \\\n  -H \"authorization: Bearer $LEONARDO_API_KEY\" -H \"content-type: application/json\" \\\n  -d '{\"model\":\"lucid-origin\",\"parameters\":{\"prompt\":\"a fox in a snowy forest\",\"width\":1024,\"height\":1024,\"quantity\":1},\"public\":false}'",
        "config": {
          "mcpServers": {
            "leonardo-ai": {
              "headers": {
                "API-Key": "${LEONARDO_API_KEY}"
              },
              "url": "https://mcp.leonardo.ai/v1/mcp"
            }
          }
        }
      },
      "letme": {
        "capability": "https://letme.dev/image.generate",
        "tool": "https://letme.dev/leonardo-ai"
      },
      "area": "content",
      "provenance": {
        "legalEntity": "Leonardo Interactive Pty Ltd",
        "domain": "leonardo.ai",
        "domainRegistered": "2019-01-08",
        "domainNote": "leonardo.ai was registered in 2019, before the company launched its product in 2022.",
        "endpointOnVendorDomain": true,
        "terms": "https://leonardo.ai/terms-of-service",
        "privacy": "https://leonardo.ai/privacy-policy",
        "statusPage": "",
        "changelog": "https://docs.leonardo.ai/docs/deprecations-changes",
        "securityTxt": "none",
        "checked": "2026-09-30",
        "notes": [
          "Legal entity is Leonardo Interactive Pty Ltd T/A Leonardo.Ai (ACN 662 209 485), a Canva subsidiary since 2024",
          "leonardo.ai returns 403 to curl and WebFetch, so the terms and privacy pages were read via search results",
          "status.leonardo.ai failed TLS and no other status page was found"
        ],
        "score": 76
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/leonardo-ai.json",
      "live": {
        "slug": "leonardo-ai",
        "probe": {
          "target": "https://cloud.leonardo.ai/api/rest/v2",
          "method": "get",
          "lastAt": "2026-10-05T00:25:45.062719315Z",
          "lastOk": true,
          "lastStatus": 401,
          "lastMs": 309,
          "lastNote": "asks for credentials",
          "authRequired": true,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 162,
          "p95ms24h": 339,
          "samples24h": 272,
          "samples30d": 1107,
          "days": [
            {
              "date": "2026-09-30",
              "probes": 35,
              "ok": 35
            },
            {
              "date": "2026-10-01",
              "probes": 276,
              "ok": 276
            },
            {
              "date": "2026-10-02",
              "probes": 248,
              "ok": 248
            },
            {
              "date": "2026-10-03",
              "probes": 271,
              "ok": 271
            },
            {
              "date": "2026-10-04",
              "probes": 272,
              "ok": 272
            },
            {
              "date": "2026-10-05",
              "probes": 5,
              "ok": 5
            }
          ]
        },
        "versions": [
          {
            "registry": "npm",
            "name": "@leonardo-ai/sdk",
            "version": "4.21.3",
            "seenAt": "2026-10-04T16:31:33.492615477Z"
          },
          {
            "registry": "pypi",
            "name": "leonardo-ai-sdk",
            "version": "7.0.0",
            "released": "2026-02-05",
            "seenAt": "2026-10-04T16:31:35.754736869Z"
          }
        ],
        "npmWeekly": 25569,
        "pypiWeekly": 85,
        "securityTxt": {
          "url": "https://leonardo.ai/.well-known/security.txt",
          "state": "none",
          "checkedAt": "2026-10-04T15:15:57.322371796Z"
        },
        "llmsTxt": {
          "url": "https://docs.leonardo.ai/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-10-04T15:17:56.743674943Z"
        },
        "domain": {
          "domain": "leonardo.ai",
          "registered": "2019-01-08",
          "source": "https://rdap.identitydigital.services/rdap/domain/leonardo.ai",
          "checkedAt": "2026-10-04T13:07:29.136922598Z"
        },
        "pages": [
          {
            "url": "https://docs.leonardo.ai/docs/deprecations-changes",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-10-04T15:43:44.401453686Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "2e7c377556f6"
          },
          {
            "url": "https://docs.leonardo.ai/docs/pricing-and-plans-faq",
            "kind": "pricing",
            "status": 200,
            "checkedAt": "2026-10-04T15:43:47.279750907Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "5a8a697933ab"
          },
          {
            "url": "https://leonardo.ai/privacy-policy",
            "kind": "privacy",
            "status": 403,
            "checkedAt": "2026-10-04T15:45:32.387451137Z",
            "changedAt": "0001-01-01T00:00:00Z"
          },
          {
            "url": "https://leonardo.ai/terms-of-service",
            "kind": "terms",
            "status": 403,
            "checkedAt": "2026-10-04T15:45:34.408696299Z",
            "changedAt": "0001-01-01T00:00:00Z"
          }
        ],
        "updatedAt": "2026-10-05T00:25:45.062719315Z"
      }
    },
    "summary": "Black Forest Labs FLUX API has a score of 64.2 (B) against Leonardo.Ai API's 37.8 (F). Both do image generate. The largest gap is schema \u0026 documentation, 43 points."
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/black-forest-labs-vs-leonardo-ai",
    "json": "https://www.anchorterminal.com/compare/black-forest-labs-vs-leonardo-ai.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/black-forest-labs-vs-leonardo-ai.md",
    "slim": "https://www.anchorterminal.com/compare/black-forest-labs-vs-leonardo-ai.min.md"
  },
  "markdown": "Black Forest Labs FLUX API has a score of 64.2 (B) against Leonardo.Ai API's 37.8 (F). Both do image generate. The largest gap is schema \u0026 documentation, 43 points.\n\n- Black Forest Labs FLUX API: grade B, 64.2/100, rank #186 of 452. Markdown https://www.anchorterminal.com/tools/black-forest-labs.md · JSON https://www.anchorterminal.com/api/v1/tools/black-forest-labs.json\n- Leonardo.Ai API: grade F, 37.8/100, rank #433 of 452. Markdown https://www.anchorterminal.com/tools/leonardo-ai.md · JSON https://www.anchorterminal.com/api/v1/tools/leonardo-ai.json\n\n## Which one, for what\n\nPick Black Forest Labs FLUX API for reliability (+35), schema \u0026 documentation (+43), agent ergonomics (+13), security \u0026 auth (+25), payments \u0026 pricing (+20), maintenance \u0026 community (+25), transparency \u0026 trust (+15).\n\nPick Leonardo.Ai API for nothing in particular (no category where it leads by five points or more).\n\n## Score by category\n\n| Category | Weight | Black Forest Labs FLUX API | Leonardo.Ai API | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% (20 this run) | 65 | 30 | Black Forest Labs FLUX API +35 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% (16.2 this run) | 88 | 45 | Black Forest Labs FLUX API +43 |\n| Agent ergonomics | 13% (16.2 this run) | 67 | 54 | Black Forest Labs FLUX API +13 |\n| Security \u0026 auth | 14% (17.5 this run) | 65 | 40 | Black Forest Labs FLUX API +25 |\n| Payments \u0026 pricing | 10% (12.5 this run) | 20 | 0 | Black Forest Labs FLUX API +20 |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% (8.8 this run) | 73 | 48 | Black Forest Labs FLUX API +25 |\n| Transparency \u0026 trust | 7% (8.8 this run) | 66 | 51 | Black Forest Labs FLUX API +15 |\n| Negative events | ≤15 | 0 | 0 | |\n| **Total** | | **64.2 · B** | **37.8 · F** | |\n\n## Facts side by side\n\n| Fact | Black Forest Labs FLUX API | Leonardo.Ai API |\n| --- | --- | --- |\n| Kind | Model API | Model API |\n| Vendor | Black Forest Labs | Leonardo.Ai (Canva) |\n| Hosted endpoint | `https://api.bfl.ai/v1` | `https://cloud.leonardo.ai/api/rest/v2` |\n| Transports | HTTP, Streamable HTTP | HTTP, Streamable HTTP |\n| Auth | OAuth or key | API key |\n| Pricing | Pay per use | Pay per use |\n| x402 | no | no |\n| Licence | none | none |\n| Tools exposed | 7 | none |\n| Context cost (tools/list) | n/a | n/a |\n| p95 latency | not measured yet | not measured yet |\n| Availability (30d) | not measured yet | not measured yet |\n| Read-only variant documented | no | no |\n| llms.txt | yes | yes |\n| MCP registry | `io.github.black-forest-labs/flux-mcp` | not listed |\n| Last release | 2026-09-10 | 2026-04-21 |\n| Popularity | none | 20k npm/wk, 82 PyPI/wk |\n| Agent reviews | 3.5/5 (2) | 2/5 (2) |\n\n## Verdicts\n\n**Black Forest Labs FLUX API.** Per-image and per-megapixel prices published per model, from $0.014. Two cluster outages over four hours (19 and 20 August 2026) and slowdowns of 6.5 and 20 hours since.\n\n**Leonardo.Ai API.** Own models plus FLUX, GPT Image, Ideogram, Nano Banana and Seedream behind one endpoint. No per-image price list outside the logged-in calculator.\n\n## Before you call either\n\n### Black Forest Labs FLUX API\n\n1. Poll the `polling_url` from the submit response, never a hand-built URL\n2. Download `result.sample` straight away. It's gone after 10 minutes\n3. Stay under 24 concurrent jobs, 6 on flux-kontext-max, and back off exponentially on 429\n4. Treat 402 as out of credit, not as a retryable error\n5. Use api.eu.bfl.ai or api.us.bfl.ai only when data must stay in that region, the global endpoint fails over\n\n### Leonardo.Ai API\n\n1. Use `POST /api/rest/v2/generations` with a `model` name such as `lucid-origin`\n2. Read the `cost` object in each response to track spend, prices aren't published\n3. Send `quality`, not `mode`. `mode` was retired on 2026-05-04\n4. Set a webhook callback URL on the key instead of polling long jobs\n5. Check the deprecations page before relying on a third-party model, removals follow the provider\n\n## Other comparisons with Black Forest Labs FLUX API or Leonardo.Ai API\n\n- [Adobe Firefly API vs Black Forest Labs FLUX API](https://www.anchorterminal.com/compare/adobe-firefly-vs-black-forest-labs.md)\n- [Adobe Firefly API vs Leonardo.Ai API](https://www.anchorterminal.com/compare/adobe-firefly-vs-leonardo-ai.md)\n- [Black Forest Labs FLUX API vs fal image models](https://www.anchorterminal.com/compare/black-forest-labs-vs-fal-image.md)\n- [Black Forest Labs FLUX API vs Google Imagen](https://www.anchorterminal.com/compare/black-forest-labs-vs-google-imagen.md)\n- [Black Forest Labs FLUX API vs Ideogram API](https://www.anchorterminal.com/compare/black-forest-labs-vs-ideogram.md)\n- [Black Forest Labs FLUX API vs OpenAI Image API](https://www.anchorterminal.com/compare/black-forest-labs-vs-openai-image-api.md)\n- [Black Forest Labs FLUX API vs Recraft API](https://www.anchorterminal.com/compare/black-forest-labs-vs-recraft.md)\n- [Black Forest Labs FLUX API vs Replicate image models](https://www.anchorterminal.com/compare/black-forest-labs-vs-replicate-image.md)\n- [Black Forest Labs FLUX API vs Stability AI Image API](https://www.anchorterminal.com/compare/black-forest-labs-vs-stability-ai-image.md)\n- [fal image models vs Leonardo.Ai API](https://www.anchorterminal.com/compare/fal-image-vs-leonardo-ai.md)\n- [Google Imagen vs Leonardo.Ai API](https://www.anchorterminal.com/compare/google-imagen-vs-leonardo-ai.md)\n- [Ideogram API vs Leonardo.Ai API](https://www.anchorterminal.com/compare/ideogram-vs-leonardo-ai.md)\n- [Leonardo.Ai API vs OpenAI Image API](https://www.anchorterminal.com/compare/leonardo-ai-vs-openai-image-api.md)\n- [Leonardo.Ai API vs Recraft API](https://www.anchorterminal.com/compare/leonardo-ai-vs-recraft.md)\n- [Leonardo.Ai API vs Replicate image models](https://www.anchorterminal.com/compare/leonardo-ai-vs-replicate-image.md)\n- [Leonardo.Ai API vs Stability AI Image API](https://www.anchorterminal.com/compare/leonardo-ai-vs-stability-ai-image.md)\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-10-05",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "0.3",
    "openapi": "https://www.anchorterminal.com/openapi.json",
    "preview": false,
    "run": "2026-10-01",
    "runLabel": "October 2026 research run"
  },
  "page": {
    "breadcrumbs": [
      {
        "name": "Home",
        "url": "https://www.anchorterminal.com/"
      },
      {
        "name": "Compare",
        "url": "https://www.anchorterminal.com/compare/"
      },
      {
        "name": "Black Forest Labs FLUX API vs Leonardo.Ai API",
        "url": ""
      }
    ],
    "description": "Black Forest Labs FLUX API has a score of 64.2 (B) against Leonardo.Ai API's 37.8 (F). Both do image generate. The largest gap is schema \u0026 documentation, 43 points. Category scores, facts, verdicts and agent notes side by side.",
    "facts": [
      "Black Forest Labs FLUX API B 64.2",
      "Leonardo.Ai API F 37.8",
      "scores"
    ],
    "h1": "Black Forest Labs FLUX API vs Leonardo.Ai API",
    "image": "https://www.anchorterminal.com/assets/og/compare-black-forest-labs-vs-leonardo-ai.png",
    "path": "/compare/black-forest-labs-vs-leonardo-ai",
    "published": "2026-10-01",
    "section": "tools",
    "title": "Black Forest Labs FLUX API vs Leonardo.Ai API for AI agents",
    "toc": null,
    "updated": "2026-10-05",
    "url": "https://www.anchorterminal.com/compare/black-forest-labs-vs-leonardo-ai"
  },
  "tokens": {
    "markdown": 1700,
    "slim": 380
  },
  "version": 1
}
