News for hackers. Stuff that matters.
Re:OpenAI releases image generation in the API by badmonster on Thursday April 24, 2025 @05:36PM (#43787769)
Usage of gpt-image-1 is priced per token, with separate pricing for text and image tokens:

Text input tokens (prompt text): $5 per 1M tokens Image input tokens (input images): $10 per 1M tokens Image output tokens (generated images): $40 per 1M tokens

In practice, this translates to roughly $0.02, $0.07, and $0.19 per generated image for low, medium, and high-quality square images, respectively.

that's a bit pricy for a startup.

Re:OpenAI releases image generation in the API by m4thfr34k on Thursday April 24, 2025 @10:11PM (#43789526)
Isn't there also a cost per image? The pricing page shows $0.25 for a high quality 1536x1024 image. 25 cents per image is ... steep lol
Re:OpenAI releases image generation in the API by BoorishBears on Friday April 25, 2025 @12:07AM (#43790022)
Cost per image is based on output tokens (because they're output tokens)