I've benchmarked 33 image generation models from 7 providers to compare cost and latency using the same prompt:
A photorealistic image of a golden retriever puppy sitting in a sunflower field at golden hour, with a soft bokeh background and warm light. Aspect ratio: 1:1, size: 1024x1024.
The benchmark includes both image-only and image-capable multimodal models available on Vercel AI Gateway.
If you don't have much time to analyze the full report:
- go straight to the winners
- compare images
- check out the cost chart
- or the latency chart
Full Results
July 10, 2026: added google/gemini-3.1-flash-lite-image, bfl/flux-2-max, recraft/recraft-v2, openai/gpt-image-1.5, openai/gpt-image-1-mini, and ByteDance Seedream models (seedream-4.0, seedream-4.5, seedream-5.0-lite); renamed google/gemini-3.1-flash-image-preview to its GA slug google/gemini-3.1-flash-image; prodia/flux-fast-schnell generates again. Full changelog
(click on a thumbnail to see the full image)
Total spent: $2.0351014
The latency here is wall time, measured by the benchmark script. The cost, however, is returned by the gateway, so it should be accurate.
Cost
Latency
Model Quirks
This benchmark includes provider-specific adaptations, because several models need custom params to work correctly:
- Black Forest Labs Flux models need explicit pixel
widthandheightinstead of relying onaspectRatio - Recraft and OpenAI image models require
sizerather thanaspectRatio recraft/recraft-v4-proneeds2048x2048for square output, not1024x1024- xAI Grok models support
aspectRatiobut notsize - Gemini image responses can contain duplicate files in
result.files, so the benchmark deduplicates them before saving - ByteDance Seedream models require
size(notaspectRatio) at a minimum of 3.69 MP, so they run at2048x2048, and takewatermark: falseto drop the "AI generated" badge they otherwise burn into the image prodia/flux-fast-schnell, the cheapest model, generates again after failing in the previous run - the earlier failure looks like a transient provider issue.
Winners
If you only optimize for cost, the three cheapest models in this benchmark are:
prodia/flux-fast-schnellat $0.0025bfl/flux-2-klein-4bat $0.014bfl/flux-2-klein-9bat $0.015
If you optimize for latency, the three fastest models are:
bfl/flux-2-klein-9bat 2.9sgoogle/gemini-3.1-flash-lite-imageat 3.6sbfl/flux-2-klein-4bat 4.2s
I personally think it all depends on your task and prompt. For my particular mass-scale case, I'm optimizing for both cost and speed, so choose among the winners.
DIY
If you want to run the benchmark yourself, add more models, or adjust the prompt - the script is easy to configure and run: kometolabs/ai-image-generation-cost-analysis
Support My Work
Preparing such research sometimes takes 2-5 full benchmark runs, which adds up. If it saved you time, consider sponsoring me on GitHub or Buy Me a Coffee.

