flux-2-klein-9b - API in Egypt, billed in EGP

Live
black-forest-labs

The best quality-to-latency ratio, production apps model of the Flux 2 family. Frontier visual intelligence — state-of-the-art image generation and editing from Black Forest Labs

Modality

image

Region

US

Weights

Open weights

Published

13 Sept 2026

Pricing

Price

0.8539 EGP per 1024p image

The provider reports the exact charge on every response.

  • Priced per image unit, not per image: one unit is a 1024p image, and a default request costs 0.8539 EGP.
  • Charge = unit price x (width / 1024) x (height / 1024). Smaller images cost less; larger images and more steps cost more.
  • The exact charge is reported by the provider on every response and is what you pay.

Use it via the API

flux-2-klein-9b works with any OpenAI-compatible SDK — point the base URL at https://backend.sovereigneg.com/v1 and use your SovereignEG API key.

Run inference

OpenAI-compatible — POST /v1/images/generations — drop-in for any OpenAI SDK.

import base64
from openai import OpenAI

client = OpenAI(
    base_url="https://backend.sovereigneg.com/v1",
    api_key="YOUR_API_KEY",
)

response = client.images.generate(
    model="flux-2-klein-9b",
    prompt='Aerial night photo of the floodlit Giza pyramids under a starry sky, an Egyptian flag spread on the sand, and a glowing "SovereignEG" wordmark in a clean geometric typeface across the sky',
)

with open("image.png", "wb") as f:
    f.write(base64.b64decode(response.data[0].b64_json))

Frequently asked questions

Where is flux-2-klein-9b hosted?

flux-2-klein-9b is served from US (US-hosted inference).

Is flux-2-klein-9b an open-weights model?

Yes — flux-2-klein-9b is an open-weights model. You call it through the SovereignEG API like any other catalog model, with per-token EGP billing.

How do I use flux-2-klein-9b via the API?

flux-2-klein-9b is available through the OpenAI-compatible SovereignEG API: point your SDK's base URL at https://backend.sovereigneg.com/v1 and call /v1/chat/completions with model "flux-2-klein-9b" and your API key.