FLUX.2 Klein 4B per token, in reais
Essentials Essentials shelf — for everyday volume at a lower price per token.
Input
R$ 12.45
per 1M tokens
Output
R$ 12.90
per 1M tokens
Model sheet
- API identifier
gpub-imagem
- Shelf
- Essentials
- Context window
- 128,000 tokens, counting what you send plus what the model answers in the same call
- Input price
- R$ 12.45 per 1M tokens
- Output price
- R$ 12.90 per 1M tokens
- Billing
- In Brazilian reais, per token consumed, drawn from the same balance that pays for GPU instances. No subscription, no minimum.
What changes when you pay in reais
Buying direct from the maker means paying in dollars plus two things that are not on their price list: Brazil's 3.5% IOF tax and your card issuer's FX spread, usually another 2% to 4% and never itemised. Here you are billed in reais, with neither.
The price in reais is also fixed: when the dollar rises, the maker price rises on your statement and this one does not.
How to use it on GPUBrasil
The API speaks the OpenAI format. Swap the base_url, use a gpub_live_ key and pass gpub-imagem as the model.
import base64
from openai import OpenAI
client = OpenAI(
base_url="https://gpubrazil.com/v1",
api_key="gpub_live_...",
)
r = client.images.generate(
model="gpub-imagem",
prompt="a tree-lined square at sunrise, watercolor style",
)
open("saida.jpg", "wb").write(base64.b64decode(r.data[0].b64_json))
The same endpoint works in Cursor, Cline, Continue, Zed, Aider, Open WebUI and LibreChat — they all accept an OpenAI-compatible endpoint.
Create an account →
See every model and price →
FAQ
- How much does FLUX.2 Klein 4B cost on GPUBrasil?
- R$ 12.45 per 1 million input tokens and R$ 12.90 per 1 million output tokens, billed in Brazilian reais. No subscription and no minimum purchase — you pay only for the tokens you use.
- How do I call FLUX.2 Klein 4B?
- The API is OpenAI-compatible. Point base_url at https://gpubrazil.com/v1, use a gpub_live_ key and pass gpub-imagem as the model. It works with the OpenAI SDK and with tools like Cursor, Cline, Continue, Zed and Open WebUI with no adaptation.
- What is the context window of FLUX.2 Klein 4B?
- 128,000 tokens, counting what you send plus what the model answers in the same call.
Similar models