Flux.2 [klein] TL5

TL5 §203Open weights

Fast text-to-image generation and multi-reference editing with a compact 4B model

Pricing

Prices for this trust level. Prices are per MPx.

Trust levels for this model
Trust Level Region Context Max outputInput / MPxOutput / MPx§203
TL5 DE 128K — - - 0.005 € 0.006 $ §203

USD prices are converted from EUR at the ECB reference rate of 1 EUR = 1.1014 USD (2026-11-16). EUR prices are authoritative.

Prices as of 16.11.2026.

About this model

FLUX.2 [klein] is Black Forest Labs' open-weight family of image generation and editing models. Its 4B rectified-flow transformers combine text-to-image generation, edits to existing images, and multi-reference image composition in a single architecture. The distilled models generate images in four inference steps and target low-latency interactive experiences; Black Forest Labs reports sub-second processing on high-end GPUs, with speed depending on hardware. Applications include rapid visual prototyping, design iteration, creative content production, style transfer, and reference-guided edits. The 4B variant prioritizes speed and consumer-GPU accessibility and is licensed under Apache 2.0.

API

Model ID flux2-klein OpenAI compatibleAnthropic compatible

Base URL https://api.aki.io/v1

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_AKI_API_KEY",
    base_url="https://api.aki.io/v1",
)

response = client.images.generate(
    model="flux2-klein",
    prompt="A lighthouse on the German coast",
    size="1024x1024",
)
print(response.data[0].url)
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: "YOUR_AKI_API_KEY",
  baseURL: "https://api.aki.io/v1",
});

const response = await client.images.generate({
  model: "flux2-klein",
  prompt: "A lighthouse on the German coast",
  size: "1024x1024",
});
console.log(response.data[0].url);
curl https://api.aki.io/v1/images/generations \
  -H "Authorization: Bearer $AKI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "flux2-klein",
    "prompt": "A lighthouse on the German coast",
    "size": "1024x1024"
  }'

Frequently Asked Questions

How much does Flux.2 [klein] TL5 cost?
Output image: 0.005 € per MPx. Prices are exclusive of VAT.
What is the context window of Flux.2 [klein] TL5?
Flux.2 [klein] TL5 supports up to 128K tokens.
Which trust levels are available for Flux.2 [klein] TL5?
Flux.2 [klein] TL5 is available at TL5 (Germany Sovereign, DE).
Is Flux.2 [klein] TL5 open weights?
Yes. The model weights are available on Hugging Face under the linked license.
Is Flux.2 [klein] TL5 available with zero data retention?
Yes. Flux.2 [klein] TL5 is served at TL5 (Germany Sovereign) with zero data retention and no model training.
How do I use Flux.2 [klein] TL5 with the OpenAI SDK?
Use the model ID flux2-klein with the OpenAI-compatible endpoint at https://api.aki.io/v1.

Start Building with Flux.2 [klein] TL5