FLUX API
5 FLUX models on one OpenAI-compatible API and one prepaid balance, billed per use at the official price.
FLUX models and prices 5
| Model | Price | Discount |
|---|---|---|
| FLUX 3 Imageblack-forest-labs/flux-3-image | $0.607 / image | — |
| FLUX.2 Klein 4Bblack-forest-labs/flux.2-klein-4b | $0.014 / output megapixel | — |
| FLUX.2 Maxblack-forest-labs/flux.2-max | $0.07 / output megapixel | — |
| FLUX.2 Flexblack-forest-labs/flux.2-flex | $0.06 / output megapixel | — |
| FLUX.2 Problack-forest-labs/flux.2-pro | $0.03 / output megapixel | — |
Prices as of November 5, 2026. Official price: the model maker's list price. Tier 1–3: OceanToken's standing discounts by cumulative top-up, not limited-time offers.
Same prompt, 8 models
One prompt, sent to each model through the OceanToken API on November 1, 2026. Every image is that model’s own output, only resized.
Prompt: “A matte white ceramic coffee mug with gentle steam rising, on a light oak table beside a sunny window, soft natural light, minimal clean product photography, no text, no logo”
Call the FLUX API
Any OpenAI-compatible SDK works: set the base URL to https://api.oceantoken.ai/v1, use your OceanToken key and the model id as written.
from openai import OpenAI
# Your API Key from the OceanToken console
client = OpenAI(base_url="https://api.oceantoken.ai/v1",
api_key="YOUR_API_KEY")
result = client.images.generate(
model="black-forest-labs/flux-3-image",
prompt="A lighthouse on a cliff at dawn")
print(result.data[0].url or "image returned as base64")Why use FLUX on OceanToken
- One API key and one prepaid balance for nearly 500 models from 73 publishers.
- OpenAI-compatible: change the base URL and the key, and keep your code.
- Prepaid, with no subscription and no platform fee. Each API key can have its own spending limit.
FLUX compared
Nano Banana 2 Lite vs FLUX 3 Image · Seedream 5.0 Flash vs FLUX 3 Image · GPT Image 2.5 Sunburst vs FLUX 3 Image · FLUX 3 Image vs Qwen Image 3 · Seedream 5.0 Pro vs FLUX 3 Image · GPT Image 2 vs FLUX 3 Image · FLUX 3 Image vs Recraft V4.1 Flash · FLUX 3 Image vs MAI-Image-2.6 · All comparisons
Frequently asked questions
How much does the FLUX API cost?
On OceanToken FLUX 3 Image costs $0.607 / image. The lowest-priced FLUX model is FLUX.2 Klein 4B, at $0.014 / output megapixel. Every model is billed per use from a prepaid balance, with no subscription.
Are these the official FLUX models?
Yes. You call each model by its own name and get that model. Every model page shows the official price next to ours before you call it.
How do I call the FLUX API?
Create an API key in the OceanToken console, set the base URL to https://api.oceantoken.ai/v1 and use the model id, for example black-forest-labs/flux-3-image. The OpenAI SDKs and any OpenAI-compatible client work.
Do I need a subscription to use FLUX?
No. You add credits by card, and each request is billed at the model’s price. Purchased credits are valid for 12 months.
Other model APIs
Nano Banana API · Seedream API · GPT Image API · Qwen Image API · Grok Imagine API · Recraft API · MAI Image API · Kimi API · MiniMax API · Claude API · GPT API · Gemini API · Grok API · Mistral API · Llama API · Gemma API · Nemotron API · Hunyuan API · Seed API · Sonar API · Command API · Nova API · Veo API · Kling API · Wan API · Hailuo API · Whisper API · Voyage API







