Staying under 220 prompt text tokens and {"size":"976x704", "quality":"low"} fascinate us on the cheap.
No artifacts, not a preview: pure impressive demonstration that “mini” models can be left behind now by using gpt-image-2 if you want quick and high-quality even with API’s low quality.
Elite entrants are in the $0.004 club: only 20 tokens of input.
Noticing that “preview” at cheap prices isn’t the terrible warped output of previous gpt-image models, it’s for fun. So post away - no tricks or token count deception are needed to get pretty good pics.
(budget hint: batch API 20-token calls: 500 images for a dollar)
(compression hint: look at how words are tokenized to optimize to single-token concepts; lower-case, spacing)
in n=6 for multiple images (which are billed as though they were separately performed, no cache discount, no input benefit), we can also see the visual frequency of “the pattern” symptom that arises from the same input and API call in different degrees in images.
You are competing in an art contest. You have themes with minimal descriptions as options you can choose from. You must select the most promising description from those below. The resulting image shall be dazzling and beyond the expectations of judges, so consider the composition of these possible candidates and go forward with robust and fulfilling presentation of the best idea you want to make as a hyper-realism image.
Massive canyon city carved into red cliffs, bridges, waterfalls, sunset
Venice carnival on another planet, floating masks, purple canals, twin suns
Dreamlike rainforest temple, colossal flowers, hummingbirds, hidden golden staircase
Shipwreck cathedral on the ocean floor, sunbeams, sharks, pearl altar
Glass desert with mirrored dunes, lone rider, enormous fractured moon
Castle above the clouds, dragon shadows, dawn trumpets, waterfalls falling into sky
Ancient observatory atop a colossal tortoise, constellations reflected in lake
Moonlit samurai duel in cherry blossom blizzard, giant koi spirits
The cheapest area you can have delivered is approaching 3:1 ratio range
The cheapest of all is 1440x480 = 54 tokens of output (or 480x1440)
The value for area gets better larger though; quality needs evaluation for your tokens.
Not as bad an aspect ratio as my spreadsheet image: match the dimension row and column to see the tokens of an image. The cheapest gives us:
QUARTER-PENNY CHALLENGE is:
$0.0025 - 0.00162 for that 54 tokens = $0.00088
So you have $0.00088 left for input tokens @ 480x1408px
At 0.000005 per input token: \frac{0.00088}{0.000005} = 176
You can use 170 input tokens within the remaining budget minus overhead.
That’s the tricky thing: if you use the Responses API and the image tool, not the “generate” endpoint, you only see token usage for the chat, and not the extra billing for images and double billing for a chat’s image input to the chat model. The AI gets to make complete choice in the cost if you don’t lock it down to one specific size and quality with tool parameters.
From what I can see in the official OpenAI Playground, for me the usage is reported under Responses and Chat Completions for everything I’ve ever tested, including image generation. So even when I lock size/quality for gpt-image-2, the dashboard still shows that activity there. (This is what it shows for me on my dashboard, not claiming anything universally)
In Images in OpenAI playground, you can choose between these tool parameters (plus advanced settings):
If you choose size:auto, apparently the model can choose something else even when the prompt includes a resolution. In @sergeliatko example, the prompt asked for 780x640px, but the supplied image was 1384x1136, probably because size was still auto.
I tested in the official OpenAI Playground with:
model: gpt-image-2
size: 1024x1024
quality: low
prompt: Sparkling shell with a pearl
The Usage dashboard reported it under Responses and Chat Completions, with:
input: 12 tokens
output: 196 tokens
Using the listed gpt-image-2 pricing:
text input: 12 × $5 / 1M = $0.00006
image output: 196 × $30 / 1M = $0.00588
Total: about $0.00594, so basically $0.006. (No this does not meet the budget $0.005, but that’s the closet I can come with official OpenAI Playground).