FLUX 3 Image on Vercel AI Gateway

FLUX 3 · Black Forest Labs

Serverless

Last refreshed 2026-10-07. Next refresh: weekly.

Why use FLUX 3 Image on Vercel AI Gateway?

Vercel AI Gateway offers FLUX 3 Image with competitive pricing. Vercel AI Gateway is a unified AI proxy providing a single OpenAI-compatible API endpoint to 275+ models from 25+ providers including Anthropic, OpenAI, Google, Meta, Mistral, DeepSeek, xAI, Alibaba, Amazon, ByteDance, Cohere, MiniMax, MoonshotAI, KwaiPilot, Black Forest Labs, Recraft, Voyage AI, NVIDIA, and more.

Compare FLUX 3 Image across 2 providers to find the best fit for your use case
Input / 1M
-
Output / 1M
-
Cache
Not sourced
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install openai
Auth
export AI_GATEWAY_API_KEY=...
Call
import os
from openai import OpenAI
client = OpenAI(
    api_key=os.environ["AI_GATEWAY_API_KEY"],
Model ID
bfl/flux-3-image

Request example

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AI_GATEWAY_API_KEY"],
    base_url="https://ai-gateway.vercel.sh/v1"
)
response = client.chat.completions.create(
    model="bfl/flux-3-image",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Gotchas

  • Use provider model ID "bfl/flux-3-image", not the LLMReference slug "flux-3-image".
  • creator/model-name e.g. kwaipilot/kat-coder-pro-v2
  • The examples expect AI_GATEWAY_API_KEY; rename it only if your application config maps the new variable.

Compare FLUX 3 Image Across Providers

ProviderInput (per 1M)Output (per 1M)
Black Forest Labs——
Vercel AI Gateway——

Pricing

TypeRate
Image input$1.00

Capabilities

Multimodal

About FLUX 3 Image

FLUX 3 Image is Black Forest Labs' image generation and editing product in the FLUX 3 family. One endpoint (POST https://api.bfl.ai/v1/flux-3-image) handles text-to-image and edits: up to 10 reference images, bounding-box layouts in the prompt, pixel-exact local edits, and resolution classes from 768sq through 4K (~16 MP) across 15 aspect ratios. First-party pricing (docs.bfl.ml): $0.041 (768sq), $0.048 (1k), $0.100 (2k), $0.607 (4k) per image. Commercial weights license is offered; open weights not published yet. Also listed on Vercel AI Gateway as bfl/flux-3-image.

Get Started

Model Specs

Released2026-10-05
ArchitectureDiffusion Transformer