Frontier Frontier shelf — one of the flagship models in the catalogue, for general text and reasoning work.
gemini-3.1-flash-imageBuying 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.
The API speaks the OpenAI format. Swap the base_url, use a gpub_live_ key and pass gemini-3.1-flash-image 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="gemini-3.1-flash-image",
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 →