All models

GPT Image 2

OpenAI
ImageReleased Apr 21, 2026
gpt-image-2
OpenAI's next-generation multimodal image model with native reasoning, up to 4K resolution, near-perfect text rendering, and high-fidelity multilingual support.
Input
$5.00
per 1M tokens
Output
$30.00
per 1M tokens
Cache read
$1.25
per 1M tokens

Pricing

USD per 1M tokens
Fee itemPrice
Input$5.00
Input, cache read$1.25
Image input$8.00
Image input, cache read$2.00
Image output$30.00
Video input$5.00
Video input, cache read$1.25
Audio input$5.00
Audio input, cache read$1.25
Prices are in USD. A request is billed at the prices in force when it is made.

Call it from your code

Keep the official SDK you already use: give it the LobeBase base URL and a LobeBase API key.
OpenAI API
Base URL
https://api.lobebase.com/v1
curl https://api.lobebase.com/v1/images/generations \
  -H "Authorization: Bearer $LOBEBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-image-2",
    "prompt": "A watercolor lighthouse at dawn"
  }'
Set LOBEBASE_API_KEY to your API key, then run the example.

Every leading model. One API key.

Sign in, add credit and change one line of config. Pay for what you use, no subscription.

Get an API key