Quick setup
Open the kRouter dashboard at http://localhost:20128
Go to Providers → click Black Forest Labs
Paste your API key, click Save
Test the connection
Use in your IDE
Point any OpenAI-compatible client at kRouter using your local API key.
# Endpoint
http://localhost:20128/v1
# API key (from Dashboard → API Keys)
sk-krouter-XXXX
# Model
bfl/<model-id>How Black Forest Labs billing works with kRouter
Black Forest Labs is pay-per-token. You bring your own API key and kRouter routes to it, so you keep your own rate limits and billing relationship. kRouter authenticates it via apikey. 6 models are routable as bfl/<model>.
Through kRouter, Black Forest Labs serves image generation, exposed on /v1/images/generations. Requests reach it through the same local OpenAI-compatible endpoint as every other provider, so switching to or from Black Forest Labs is a one-line model change in your client rather than a rewrite.
Black Forest Labs models & pricing
These are the model ids kRouter routes to. This provider does not publish per-token rates.
| Model | Route as |
|---|---|
| FLUX Pro 1.1 | bfl/flux-pro-1.1 |
| FLUX Pro 1.1 Ultra | bfl/flux-pro-1.1-ultra |
| FLUX Pro | bfl/flux-pro |
| FLUX Dev | bfl/flux-dev |
| FLUX Kontext Pro (Edit) | bfl/flux-kontext-pro |
| FLUX Kontext Max (Edit) | bfl/flux-kontext-max |
Black Forest Labs links
Black Forest Labs FAQ
Is Black Forest Labs free through kRouter?
Black Forest Labs is pay-per-token: you bring your own API key and are billed by Black Forest Labs at their rates. kRouter adds nothing on top and is free and MIT-licensed.
How do I use Black Forest Labs with Claude Code or Cursor?
Connect Black Forest Labs in the kRouter dashboard, then point your tool at kRouter's local endpoint (http://localhost:20128/v1) with a kRouter API key. Any OpenAI-compatible client works, and models are addressed as bfl/<model>.
Which Black Forest Labs models can kRouter route to?
6 models, including FLUX Pro 1.1, FLUX Pro 1.1 Ultra, FLUX Pro. Every one is addressed as bfl/<model> from any client.
What happens when Black Forest Labs is rate limited?
kRouter detects the limit, parks that account until its real reset time, and fails over to your next connected account or provider — so the request still completes instead of erroring.