Skip to main content

AI Image Generation API Comparison 2026: Pricing, Quality, Value

As of November 20, 2026, GPT Image 2.5 low (~$0.006), Recraft ($0.007) and FLUX 3 Klein ($0.009) cost least at 1K; FLUX 3 Image beats 2.6 at high and up.

LaoZhang AI TeamPublishedUpdated 42 min read
On this page
Conceptual image API comparison connecting GPT Image 2.5, Nano Banana 2.1 and FLUX.2 pro choices to task fit, saved files and cost per accepted image.

Prices, model IDs and leaderboard scores below are as of November 20, 2026, unless a row gives another date. OpenAI now tells new integrations to use GPT Image 2.6 (gpt-image-2.6-sunburst or gpt-image-2.6-flare), which bills at the same token rates as 2.5 but uses more output tokens per image at low and medium quality. Black Forest Labs added FLUX 3 Image Klein, a cheaper model on the same request format as FLUX 3 Image, and ByteDance's Seedream 5.5 now sells at $0.020 per image up to 1.5K. Several older IDs are gone or going: DALL-E 3 shut down on May 12, Imagen 4 left the Gemini API on August 17, gpt-image-1 shut down on October 23, gpt-image-1.5 and gpt-image-1-mini stop on December 1, and gpt-image-2 stops on February 10, 2027.

For the lowest bill at about one megapixel, start with GPT Image 2.5 at low quality (about $0.006 per 1024×1024 image in output tokens), Recraft V4.1 Flash V2 ($0.007) or FLUX 3 Image Klein ($0.009). If you're choosing between GPT Image 2.6 and FLUX 3 Image, resolution decides the cost: at 1K, FLUX 3 Image's $0.048 sits between 2.6 at medium (about $0.044) and high (about $0.053), while at 3840×2160 FLUX 3 Image bills $0.607 against about $0.100 for 2.6 at high. Build new code on 2.6, 2.5 or a non-OpenAI model rather than on an ID that already has a shutdown date.

Best, Cheapest, and Best-Value AI Image API as of November 2026

Best quality: GPT Image 2.6 Sunburst is first on the Artificial Analysis text-to-image leaderboard (AA-Image-T2I v2.1, November 20, 2026) at 1261, ahead of GPT Image 2.5 Sunburst (1230) and GPT Image 2.6 Flare (1227). Artificial Analysis scored all three at max quality, which costs about $0.211 per 1024×1024 image; no score exists for the cheaper settings. On LM Arena's October 7, 2026 snapshot, which predates 2.6, GPT Image 2.5 Sunburst was first at 1425.

Cheapest per image: at roughly one megapixel, GPT Image 2.5 at low quality is the cheapest first-party option without a shutdown date, at about $0.006 per 1024×1024 image (output tokens only), followed by Recraft V4.1 Flash V2 at $0.007 and FLUX 3 Image Klein at $0.009. GPT Image 2.6 at low costs about $0.025, four times 2.5, because it produces 824 output tokens instead of 196. Two older OpenAI models list as low or lower but are on their way out: gpt-image-1-mini at low is $0.005 until it shuts down on December 1, 2026, and gpt-image-2 at low is $0.006 until February 10, 2027.

Best value at a usable quality: Nano Banana 2.1 (gemini-nano-banana-2.1) costs $0.0336 per 1K image, $0.0168 on Google's Batch API, and ranks eighth on Artificial Analysis' text-to-image board (1177). Seedream 5.5 (dola-seedream-5-5-261028) is cheaper at $0.020 up to 1.5K, ranks 14th on the same board (1134) and eighth on Artificial Analysis' editing board.

Nano Banana Pro (Gemini 3 Pro Image) is not cheap: it costs $0.134 per 1K or 2K image and $0.24 at 4K on the Gemini API, four times Nano Banana 2.1 at 1K, and it scores below 2.1 on Artificial Analysis (1119 vs 1177). Google's pricing page no longer lists a Batch price for it. No Gemini image model has a free API tier.

Within a single model, the quality setting moves the bill more than your choice of provider. GPT Image 2.5 runs from about $0.006 at low to about $0.211 at max on the same 1024×1024 image, roughly 36 times.

Every AI Image API You Need to Know in 2026

The lineup below covers the image models you can call today through each vendor's own API, with the IDs you put in the request.

OpenAI. gpt-image-2.6-sunburst and gpt-image-2.6-flare are the current models, and OpenAI's image generation guide says to use them for new integrations. They bill at the same token rates as gpt-image-2.5-sunburst and gpt-image-2.5-flare (snapshots dated September 8, 2026), which remain available: $5 per million text input tokens, $8 per million image input tokens and $30 per million image output tokens. gpt-image-2 still works at per-image prices by quality and size, but OpenAI deprecated it on November 10, 2026 and shuts it down on February 10, 2027. For request code on the new model, see GPT Image 2.6 API: Model IDs, Python and curl Code, Error Fixes; for the 2.5 cost math in more depth, including quality settings and editing charges, see GPT Image 2.5 Sunburst pricing; for implementation details of the previous model, see the GPT-Image-2 API guide.

Google. The Gemini API sells four image models under the Nano Banana name: Nano Banana 2.1 (gemini-nano-banana-2.1), Nano Banana 2 (gemini-3.1-flash-image), Nano Banana 2 Lite (gemini-3.1-flash-lite-image) and Nano Banana Pro (gemini-3-pro-image, also called Gemini 3 Pro Image). Nano Banana 2 has been deprecated since October 6, 2026, with no shutdown date announced, and Google names 2.1 as its replacement. Prices are per image and depend on output resolution. Gemini API pricing page. The Nano Banana 2.1 API pricing guide covers the newest model, and Nano Banana API cost: Lite, Nano Banana 2, Pro compares the rest of the family.

Black Forest Labs. FLUX 3 Image is the flagship, priced by output size from $0.041 (768×768) to $0.607 (4k). Since October 15, 2026, FLUX 3 Image Klein has been sold on the BFL API with the same request format at $0.008 to $0.036 per image, and released as open weights. The FLUX.2 line has [pro], [max], [flex] and the small [klein] 4B and 9B models; FLUX.2 [dev] is open weights and isn't sold on the BFL API. Older FLUX1.1 [pro] ($0.04), FLUX1.1 [pro] Ultra ($0.06) and the Kontext editing models ($0.04 [pro], $0.08 [max]) are still listed. BFL API pricing. For a closer look at two of the FLUX.2 models, see FLUX.2 Flex vs Pro: Which Model Is Worth Using?.

ByteDance. Seedream 5.5 (dola-seedream-5-5-261028), launched November 9, 2026, joins Seedream 5.0 Pro (dola-seedream-5-0-pro-260628), Flash (dola-seedream-5-0-flash-260915) and Lite (seedream-5-0-lite-260128) on BytePlus ModelArk, alongside Seedream 4.5 and Seedream 4.0. Seedream 5.5 returns native transparent PNGs and takes up to 10 reference images, but its largest size is 2K. SeedEdit 3.0 still has a $0.03 price row, yet BytePlus deactivated it on January 22, 2026. Failed or moderated images are not billed. BytePlus ModelArk pricing. For a side-by-side with OpenAI's newest model, see Seedream 5.5 vs GPT Image 2.6: Transparent PNG Test, Edits, Cost.

xAI. grok-imagine-image costs $0.02 at 1K or 2K. grok-imagine-image-2.0 is priced by resolution and quality, from $0.04 at 1K low to $0.08 at 2K medium, plus $0.01 per input image; its default quality is low for generation and medium for edits, so a 1K edit is billed at the $0.06 medium rate, plus the input image, unless you set the quality yourself. grok-imagine-image-quality ($0.05) was retired on November 2, 2026: xAI now serves requests to that ID with grok-imagine-image-2.0 at low quality. xAI pricing.

Alibaba Cloud Model Studio. Prices for the Singapore region: qwen-image-3.0-pro ($0.04 at 1k, $0.075 at 2k), qwen-image-3.0 ($0.03), qwen-image-2.1-turbo ($0.016), z-image-turbo ($0.015 with prompt rewriting turned off, $0.03 with it on), wan2.7-image-pro ($0.075) and wan2.7-image ($0.03). New Singapore accounts get small free quotas of 10 to 100 images per model. Alibaba Cloud Model Studio pricing.

Recraft and Stability AI. Recraft V4.1 Flash V2, which replaced V4.1 Flash in November 2026, is $0.007 per raster image at 1K, and V4.1 is $0.035, with vector output at $0.08 (Recraft API pricing). Stability AI lists Stable Image Ultra at $0.08, SD 3.5 Large at $0.065, SD 3.5 Large Turbo at $0.04, SD 3.5 Medium at $0.035, Core at $0.03, SD 3.5 Flash at $0.025 and SDXL from $0.009, plus 25 free credits for new accounts (Stability AI platform pricing).

Tencent. Hy-Image-3.5-preview costs ¥0.15 per image at 1K or 2K and ¥0.2 at 4K on TokenHub, priced in yuan only. The older HY-Image-v3.0 (Hunyuan Image 3.0) went offline on September 15, 2026 (status as of October 10, 2026).

Ideogram, Microsoft and Midjourney. Ideogram 4.0 has Turbo, Default and Quality tiers; check Ideogram's pricing page for the API rate before budgeting, since it isn't in the tables below. Microsoft's MAI-Image-2.7 ranks fourth on Artificial Analysis' text-to-image board and first on its editing board as of November 20, 2026, but its API pricing isn't covered here. Midjourney has no public API, and its guidelines say automating interactions with the service is strictly prohibited.

For a consumer-side ranking of image apps rather than APIs, see best AI image generators.

Retired and retiring models: gpt-image-1 shut down October 23

If your code still calls one of these, plan the switch now. Dates come from the OpenAI deprecations page, the Gemini API deprecations page and BytePlus's model deprecation notice, as of November 20, 2026.

ModelStatusMove to
SeedEdit 3.0, seededit-3-0-i2i-250628Deactivated January 22, 2026, though a $0.03 price row remainsseedream-4-0-250828 (BytePlus's recommendation); the automated replacement is seedream-4-5-251128
dall-e-3, dall-e-2Shut down May 12, 2026gpt-image-2.6-* or gpt-image-2.5-*
Imagen 4 Fast / Standard / UltraShut down on the Gemini API August 17, 2026gemini-nano-banana-2.1 (Google's named replacement)
HY-Image-v3.0 (Hunyuan Image 3.0)Offline since September 15, 2026 (status as of October 10, 2026)Hy-Image-3.5-preview
gemini-3.1-flash-image (Nano Banana 2)Deprecated October 6, 2026; no shutdown date announcedgemini-nano-banana-2.1
gpt-image-1 (1024²: $0.011 / $0.042 / $0.167)Shut down October 23, 2026gpt-image-2.5-* (OpenAI's named replacement) or gpt-image-2.6-*
grok-imagine-image-quality ($0.05)Retired November 2, 2026; requests now run on grok-imagine-image-2.0 at low qualitygrok-imagine-image-2.0 with an explicit quality
gpt-image-1.5 ($0.009 / $0.034 / $0.133)Shuts down December 1, 2026gpt-image-2.6-sunburst or gpt-image-2.6-flare
gpt-image-1-mini ($0.005 / $0.011 / $0.036)Shuts down December 1, 2026same
chatgpt-image-latestShuts down December 1, 2026same
gpt-image-2, gpt-image-2-2026-04-21 ($0.006 / $0.053 / $0.211)Deprecated November 10, 2026; shuts down February 10, 2027same
gemini-2.5-flash-imageDeprecated; shuts down March 15, 2027gemini-3.1-flash-lite-image (Google's named replacement) or gemini-nano-banana-2.1

Two names from early-2026 comparisons were never real model names: "Flux 2 Pro v1.1" and "Flux 2 Schnell". The actual BFL models are FLUX.2 [pro] and FLUX1.1 [pro]; the cheap "schnell" model is FLUX.1 [schnell], an open-weights model you can run on hosts such as Replicate. Ideogram 2.0 has been replaced by Ideogram 4.0. Whether Imagen 4 is still available on Vertex AI is not stated in the Gemini API documentation.

Imagen 4, GPT Image 1.5 and Grok Imagine: what they cost now

Of the four image APIs most often compared in early 2026, two still run at their old prices (Gemini 3 Pro Image and Grok Imagine), one is gone (Imagen 4) and one has a shutdown date (GPT Image 1.5). Status and prices as of November 20, 2026:

Early-2026 modelStatusPrice per image nowCurrent alternative
Gemini 3 Pro Image (Nano Banana Pro), gemini-3-pro-imageAvailable$0.134 (1K or 2K), $0.24 (4K); Google's pricing page no longer lists a Batch priceNano Banana 2.1 at $0.0336 per 1K image, which scores higher on Artificial Analysis (1177 vs 1119)
Imagen 4 Fast / Standard / UltraShut down on the Gemini API August 17, 2026Nonegemini-nano-banana-2.1: $0.0336 at 1K, $0.0168 on Batch
GPT Image 1.5, gpt-image-1.5Shuts down December 1, 2026$0.009 low, $0.034 medium, $0.133 high (1024²)GPT Image 2.6 Sunburst or Flare (OpenAI's named replacement): ~$0.025, ~$0.044, ~$0.053 at the same settings; GPT Image 2.5: ~$0.006, ~$0.013, ~$0.053
Grok Imagine, grok-imagine-imageAvailable$0.02grok-imagine-image-2.0 at $0.04 (1K, low) to $0.08 (2K, medium); the $0.05 grok-imagine-image-quality ID was retired on November 2, 2026 and now runs as 2.0 at low quality

GPT Image 2.5 costs less than GPT Image 1.5 at all three shared quality settings. GPT Image 2.6, the replacement OpenAI names, costs more than 1.5 at low and medium and far less at high, so a 1.5 workload that runs at medium gets about 28% more expensive on 2.6 ($0.034 to about $0.0435) unless you move it to 2.5 medium. On LM Arena's October 7, 2026 snapshot, GPT Image 2.5 Sunburst scored 1425 against 1.5's 1237. The $0.02 tier that Imagen 4 Fast and Grok Imagine shared now belongs to Grok Imagine alone. xAI's model list priced three image IDs on October 10; since grok-imagine-image-quality ($0.05) was retired on November 2, 2026, xAI's price table lists two. The grok-imagine-image-pro at $0.07 quoted in early-2026 comparisons is not among them, and xAI now routes requests to that name to 2.0 at low quality.

At 10,000 images a month, that set now costs $200 on Grok Imagine Image (10,000 × $0.02), $400 on Grok Imagine Image 2.0 at 1K low, $340 on GPT Image 1.5 at medium until it shuts down, and $1,340 on Gemini 3 Pro Image at 1K or 2K. GPT Image 2.5 at medium comes to about $132 for the same volume, and GPT Image 2.6 at medium about $435.

The Real Cost: AI Image API Pricing Compared

Selected October 10, 2026 Standard image API prices with explicit quality or resolution settings, separating OpenAI image-output token estimates from additional request costs.

This chart shows Standard prices as of October 10, 2026 and predates GPT Image 2.6, FLUX 3 Image Klein and Seedream 5.5; the table below is current as of November 20, 2026. OpenAI figures estimate image-output tokens; prompts, reference inputs and other request components may add cost.

Every price here is the vendor's standard list price in US dollars for a single generated image at about one megapixel (1024×1024, "1K" or "1k"), unless the row says otherwise. Token-billed models also charge for your prompt and any input images.

Per-Image API Pricing Table

ModelAPI IDStandard price per imageBatch priceNotes
GPT Image 2.6 Sunburst / Flaregpt-image-2.6-sunburst, gpt-image-2.6-flare~$0.025 low, ~$0.044 medium, ~$0.053 high, ~$0.094 xhigh, ~$0.211 maxPricing page lists $15/1M output (half); model pages still mark Batch unsupportedOutput tokens measured November 5, 2026, 1024²; 3840×2160: ~$0.047 low, ~$0.100 high
GPT Image 2.5 Sunburst / Flaregpt-image-2.5-sunburst, gpt-image-2.5-flare~$0.006 low, ~$0.013 medium, ~$0.053 high, ~$0.094 xhigh, ~$0.211 maxImage output at $15/1M (about half)Output-token estimate, 1024²
GPT Image 2gpt-image-2$0.006 low, $0.053 medium, $0.211 high—1024×1536: $0.005 / $0.041 / $0.165; shuts down February 10, 2027
Nano Banana 2.1gemini-nano-banana-2.1$0.0336 (1K), $0.0504 (2K), $0.113 (4K)$0.0168 / $0.0252 / $0.0567Replacement for Imagen 4 and Nano Banana 2
Nano Banana 2gemini-3.1-flash-image$0.067 (1K); $0.045 (0.5K), $0.101 (2K), $0.151 (4K)Not publishedDeprecated October 6, 2026
Nano Banana 2 Litegemini-3.1-flash-lite-image$0.0336 (1K)$0.0168
Nano Banana Pro (Gemini 3 Pro Image)gemini-3-pro-image$0.134 (1K or 2K), $0.24 (4K)Not publishedModel page still lists Batch as supported
FLUX 3 ImageBFL, /v1/flux-3-image$0.048 (1k); $0.041 (768²), $0.07 (1.5k), $0.10 (2k), $0.607 (4k)—Custom sizes above about 4 MP bill at $0.607
FLUX 3 Image KleinBFL, /v1/flux-3-image-klein$0.009 (1K); $0.008 (768²), $0.011 (1.5K), $0.014 (2K), $0.036 (4K)—Also open weights (5.6B); editing costs the same
FLUX.2 [pro]BFLFrom $0.03 for the first megapixel—+$0.015 per extra output or reference megapixel
FLUX.2 [max] / [flex]BFLFrom $0.07 / $0.05 per megapixel—
FLUX.2 [klein] 4B / 9BBFL$0.014 + $0.001 per MP / $0.015 + $0.002 per MP—$0.014 and $0.015 at 1 MP
Seedream 5.5dola-seedream-5-5-261028$0.020 (up to 1.5K), $0.035 (2K)—No 4K; +$0.008 per input image
Seedream 5.0 Prodola-seedream-5-0-pro-260628$0.045 (up to 1.5K), $0.09 above—Failed or moderated images free; $0.003 per input image after the first
Seedream 5.0 Flash / Litedola-seedream-5-0-flash-260915, seedream-5-0-lite-260128$0.018 / $0.035—Seedream 4.5: $0.04
Grok Imagine Imagegrok-imagine-image, -2.0 (-quality retired November 2, 2026)$0.02 / $0.04–$0.08—2.0: $0.04 at 1K low, up to $0.08 at 2K medium
Qwen Image 3.0 Proqwen-image-3.0-pro$0.04 (1k), $0.075 (2k)—Singapore region
Recraft V4.1 Flash V2 / V4.1Recraft$0.007 / $0.035—V4.1 vector: $0.08
Stable Image Ultra / CoreStability AI$0.08 / $0.03—SD 3.5 Flash: $0.025

A dash means the vendor's pricing page lists no separate batch rate; BFL and xAI bill Batch requests at standard prices. "Not published" means Google's pricing page no longer shows a Batch rate for that model. Vendor pricing pages: OpenAI image generation pricing, OpenAI image generation guide, Gemini API pricing page, BFL API pricing, BytePlus ModelArk pricing, xAI model list, Alibaba Cloud Model Studio pricing, Recraft API pricing, Stability AI platform pricing.

laozhang.ai, an OpenAI-compatible platform, lists flat per-call prices in its default group for several of these models as of November 20, 2026: gpt-image-2.6-sunburst-vip, gpt-image-2.6-flare-vip and gpt-image-2.6-web at $0.03, gpt-image-2 and the gpt-image-2.5-sunburst-vip / -flare-vip IDs at $0.03, gemini-3-pro-image at $0.09, gemini-3.1-flash-image at $0.055, gemini-nano-banana-2.1 at $0.045, flux-2-pro at $0.03, seedream-5-0-pro-260628 at $0.12 and seedream-5-5-261028 at $0.035. FLUX 3 Image and Klein are not listed. That is below the official list for Nano Banana Pro, Nano Banana 2 at 1K, GPT Image 2 at medium or high, GPT Image 2.6 at medium or high and GPT Image 2.5 at high quality; equal for FLUX.2 [pro] and for Seedream 5.5 at 2K; and above the official price for Nano Banana 2.1 at 1K ($0.0336), Seedream 5.0 Pro ($0.045–$0.09), Seedream 5.5 up to 1.5K ($0.020), GPT Image 2.6 at low (about $0.025), GPT Image 2.5 at low or medium and GPT Image 2 at low. The GPT Image 2.6 per-call IDs accept quality up to high; the VIP IDs return native 4K but don't produce SVG. For the other models, the listing does not say whether a call's price changes with resolution or covers more than one image.

Disclosure: laozhang.ai is our own service. Its prices are platform pricing, not an independent comparison.

GPT Image 2.6 API pricing: same $30 per 1M tokens, 4× the tokens at low

GPT Image 2.6 Sunburst and Flare bill at exactly the 2.5 rates on the OpenAI API pricing page as of November 20, 2026: $5 per million text input tokens, $8 per million image input tokens and $30 per million image output tokens. What changed is how many output tokens an image uses at low and medium quality. Measured on OpenAI's own API on November 5, 2026 (one prompt set, one run per setting, 1024×1024), 2.6 produced 824 output tokens at low, 1,449 at medium, 1,756 at high, 3,122 at xhigh and 7,024 at max, with Flare and Sunburst within a few tokens of each other; OpenAI's own cost calculator shows 823 tokens for 2.6 low at that size. The per-image output cost works out as:

  • low: 824 × $30 / 1,000,000 ≈ $0.0247 (2.5 used 196 tokens, ≈ $0.0059)
  • medium: 1,449 × $30 / 1,000,000 ≈ $0.0435 (2.5 used 439 tokens, ≈ $0.0132)
  • high: 1,756 × $30 / 1,000,000 ≈ $0.0527, the same as 2.5

So moving a workload from 2.5 to 2.6 costs 4.2 times as much at low and 3.3 times at medium, and nothing extra from high upward. The same November 5 run measured 664, 1,132 and 1,353 tokens at 1536×1024 for low, medium and high (about $0.020, $0.034 and $0.041), and 1,559 at low and 3,337 at high for 3840×2160 (about $0.047 and $0.100). The two 2.6 models cost the same but don't run at the same speed: at 1024×1024 high, Flare returned an image in 12 seconds and Sunburst in 59 seconds in the same test.

OpenAI's pricing page now also lists a Batch rate for both 2.6 models ($4 per million image input tokens and $15 per million image output tokens, half the standard rate), but as of November 20, 2026 the gpt-image-2.6-sunburst and gpt-image-2.6-flare model pages still mark the Batch endpoint as unsupported. Confirm that Batch accepts 2.6 before you budget a job at half price. For every quality setting and size, see GPT Image 2.6 Pricing: Sunburst & Flare, $0.02–$0.21 per Image; for whether to upgrade an existing 2.5 integration, see GPT Image 2.6 vs 2.5: Same Price at High, 4× the Cost at Low.

GPT Image 2.5 API pricing: $30 per 1M image output tokens

GPT Image 2.5 has no flat per-image price. OpenAI bills Sunburst and Flare at $5 per million text input tokens, $8 per million image input tokens and $30 per million image output tokens; the Batch API charges $15 per million image output tokens. A 1024×1024 image uses about 439 output tokens at medium quality and 1,756 at high, which gives the per-image estimates in the table:

  • medium: 439 × $30 / 1,000,000 ≈ $0.0132
  • high: 1,756 × $30 / 1,000,000 ≈ $0.0527
  • high on Batch: 1,756 × $15 / 1,000,000 ≈ $0.0263

Add your prompt. A 200-token prompt costs 200 × $5 / 1,000,000 = $0.001, which is small at high quality but adds about 17% to a $0.006 low-quality image. Editing calls also pay $8 per million tokens for each input image, about $0.0084 for a 1024×1024 reference. For the full breakdown by quality setting, see GPT Image 2.5 Sunburst pricing.

Gemini API image generation pricing: Nano Banana 2.1, 2, Lite and Pro

Google charges each Gemini image model per output image, and the price climbs with resolution. At 1K, Nano Banana 2.1 and Nano Banana 2 Lite both cost $0.0336, Nano Banana 2 costs $0.067 and Nano Banana Pro costs $0.134. Pro charges the same $0.134 at 2K, which makes 2K the better deal on that model if you need the pixels. At 4K the prices are $0.113 (2.1), $0.151 (Nano Banana 2) and $0.24 (Pro). The Batch API halves the price of Nano Banana 2.1 and Nano Banana 2 Lite; as of November 20, 2026, Google's pricing page no longer shows Batch rates for Nano Banana 2 and Nano Banana Pro, even though their model pages still list Batch as supported. Nano Banana 2 is deprecated, so new work at 1K costs half as much on 2.1.

There is no free API tier for image output on any of these models. Gemini API keys are free to create, but image calls need a project on a paid tier. More detail: Gemini 3 Pro Image API pricing, Nano Banana Pro pricing, the Gemini API pricing guide, and an older Gemini 3 Pro Image API pricing and speed test with generation-time measurements.

Cheapest image generation API at about one megapixel

Sorted by standard price for a single ~1 MP image, as of November 20, 2026:

  1. GPT Image 2.5 at low quality: ~$0.006 (plus prompt tokens)
  2. Recraft V4.1 Flash V2: $0.007
  3. FLUX 3 Image Klein: $0.009 ($0.008 at 768×768)
  4. GPT Image 2.5 at medium quality: ~$0.013
  5. FLUX.2 [klein] 4B: $0.014, and Alibaba z-image-turbo: $0.015 with prompt rewriting off
  6. Alibaba qwen-image-2.1-turbo: $0.016
  7. Nano Banana 2.1 or Nano Banana 2 Lite on Google's Batch API: $0.0168
  8. Seedream 5.0 Flash: $0.018
  9. Grok Imagine Image and Seedream 5.5 (up to 1.5K): $0.02

GPT Image 2.6 at low (about $0.025) misses this list because it uses about four times the output tokens of 2.5 at low. gpt-image-1-mini at low ($0.005) and gpt-image-2 at low ($0.006) would sit at the top, but they shut down on December 1, 2026 and February 10, 2027. Among the top ten on Artificial Analysis' text-to-image board, Nano Banana 2.1 on Batch ($0.0168) is the cheapest at a published price; the GPT Image entries there were scored at max quality (about $0.211), so a cheap GPT Image setting is not the configuration that ranked. Below about $0.006, hosted open-weights models are what's left: as of October 10, 2026, FLUX.1 [schnell] on Replicate ran about $0.003 per image, and Cloudflare Workers AI gave 10,000 free Neurons a day for FLUX models. The free AI image generation API comparison works out how many images those free allowances buy.

FLUX 3 Image Klein is the cheapest FLUX API and a real option, not just a download. BFL sells it at POST /v1/flux-3-image-klein for $0.009 per 1K image, with the same request fields as FLUX 3 Image (prompt, up to 10 reference images, bounding boxes) plus seed, steps and output_format, and editing costs the same as generation. The same 5.6B model is open weights under the FLUX Kommunity License, which allows free commercial use only for individuals and companies with under $5 million in annual revenue; larger organizations need BFL's API or a self-hosting license. The catch is quality: Klein ranks 31st on Artificial Analysis' text-to-image board (1042) against 21st for FLUX 3 Image (1116), and the quality figures for Klein here come from that board, not from a hands-on test.

Volume Cost Projections

Monthly cost at a fixed price per image, before prompt tokens and without any volume discount, as of November 20, 2026:

Model and settingPrice per image1,000 images10,000 images100,000 images
GPT Image 2.5, low (1024²)~$0.0059$5.90$59$590
Recraft V4.1 Flash V2$0.007$7$70$700
FLUX 3 Image Klein, 1K$0.009$9$90$900
GPT Image 2.5, medium~$0.0132$13.20$132$1,320
Nano Banana 2.1, 1K, Batch$0.0168$16.80$168$1,680
Seedream 5.0 Flash$0.018$18$180$1,800
Seedream 5.5, up to 1.5K$0.020$20$200$2,000
GPT Image 2.6, low (1024²)~$0.0247$24.70$247$2,470
FLUX.2 [pro], 1 MP$0.03$30$300$3,000
Nano Banana 2.1, 1K$0.0336$33.60$336$3,360
Grok Imagine Image 2.0, 1K low$0.04$40$400$4,000
GPT Image 2.6, medium (1024²)~$0.0435$43.50$435$4,350
FLUX 3 Image, 1k$0.048$48$480$4,800
GPT Image 2.5 or 2.6, high~$0.0527$52.70$527$5,270
Nano Banana 2, 1K (deprecated)$0.067$67$670$6,700
Nano Banana Pro, 1K or 2K$0.134$134$1,340$13,400
GPT Image 2.5 or 2.6, max (1024²)~$0.211$211$2,110$21,100

A worked mix: a catalog app that drafts 10,000 images a month on Nano Banana 2.1 Batch (10,000 × $0.0168 = $168) and renders 1,000 finals on GPT Image 2.6 at high quality (1,000 × $0.0527 = $52.70) spends about $220.70 before prompt tokens. Running all 11,000 images on GPT Image 2.6 high would cost 11,000 × $0.0527 = $579.70, and on Nano Banana Pro 11,000 × $0.134 = $1,474.

Consumer Subscription Comparison

Consumer chat plans are billed separately from the APIs, and they don't promise a fixed number of images. In the US, Google's Gemini plans are Free ($0), AI Plus ($4.99 a month), AI Pro ($19.99) and AI Ultra ($99.99 or $199.99); image use counts against a compute-based allowance that refreshes every five hours under a weekly cap, with no images-per-day figure (Gemini subscription plans). ChatGPT plans are likewise separate from OpenAI API billing. If you need predictable cost per image in an app, the API tables above are the numbers to budget with.

GPT Image 2.6 vs FLUX 3: FLUX 3 is cheaper at 1K high, 2.6 at 4K

Choose FLUX 3 Image over GPT Image 2.6 when you render around one megapixel at the quality you'd otherwise buy as 2.6 high or above, or when an edit has to stay inside a marked area. Choose GPT Image 2.6 for 4K output, for SVG, GIF or transparent files, and for 1K drafts at 2.6 low or medium. FLUX 3 Image Klein undercuts both at every size, $0.009 at 1K and $0.036 at 4K, if its lower leaderboard score is acceptable for your images.

On quality, the gap is real but priced differently from how it looks. Artificial Analysis' text-to-image board of November 20, 2026 puts GPT Image 2.6 Sunburst at 1261 and FLUX 3 Image at 1116, and its editing board puts 2.6 Sunburst at 1211 and FLUX 3 Image at 1120. Every GPT Image score there was measured at max quality, which Artificial Analysis prices at $210.72 per 1,000 images against $48 for FLUX 3 Image; at high quality, 2.6 costs about $52.70 per 1,000 at 1024×1024, but no leaderboard scores that setting.

GPT Image 2.6 vs FLUX 3 cost per image at 1K, 2K and 4K

FLUX 3 prices are per output image by size tier; GPT Image 2.6 prices are output-token costs from the November 5, 2026 measurement on OpenAI's API, recomputed against BFL's list prices on November 20, 2026.

Output sizeGPT Image 2.6 lowGPT Image 2.6 mediumGPT Image 2.6 highFLUX 3 ImageFLUX 3 Image Klein
1024×1024 (1K)~$0.0247~$0.0435~$0.0527$0.048$0.009
2K tier (about 4 MP)not measurednot measurednot measured$0.10$0.014
3840×2160 (FLUX 4k tier)~$0.0468not measured~$0.1001$0.607$0.036

At 1K, FLUX 3 Image's $0.048 is 1.94 times 2.6 at low, 1.10 times 2.6 at medium and 0.91 times 2.6 at high, so the lines cross between medium and high. At 3840×2160 they split: FLUX 3 Image bills its 4k tier, $0.607, which is 6.1 times 2.6 at high and about 13 times 2.6 at low. That 4k tier covers about 16 MP, roughly twice the pixels of a 3840×2160 frame, and since October 22, 2026 any custom FLUX 3 size above about 4 MP is billed at it. Per 1,000 images, 2.6 high costs $52.68 at 1K and $100.11 at 3840×2160; FLUX 3 Image costs $48 and $607; Klein costs $9 and $36.

GPT Image 2.6 also charges for the request side. A 200-token prompt adds about $0.001, and each 1024×1024 reference image adds about $0.0084 at $8 per million image input tokens, so a 2.6 medium edit with one reference comes to about $0.0435 + $0.0084 + $0.001 ≈ $0.053, above FLUX 3 Image's $0.048 at 1K. FLUX 3 has no such add-ons: BFL's pricing page says reference images and prompts are included in the per-image price, up to the documented maximum of 10 references. GPT Image 2.6 at 2K was not measured, so the 2K row has no 2.6 figure.

Editing: bounding boxes in FLUX 3, markup in GPT Image 2.6

FLUX 3 Image uses one endpoint, POST https://api.bfl.ai/v1/flux-3-image, for both generation and editing, with 1 to 10 reference images. It has no mask, edit mode or strength setting; to confine an edit, you append bounding boxes to the prompt as a JSON list of [top, left, bottom, right] coordinates on a 0–1000 grid. BFL's FLUX 3 Image bounding-box editing guide says pixels outside the boxes "usually stay the same," while shadows, reflections or nearby lighting may still change, and resolution: "match_input" keeps the size of the first reference up to 4 MP. Klein takes the same request.

GPT Image 2.6 edits through OpenAI's /v1/images/edits endpoint with your prompt and up to 16 input images, each billed at the image-input rate. You can add an optional mask, but OpenAI's image generation guide says masking with GPT Image is "entirely prompt-based," so the mask guides the model rather than locking pixels. 2.6 also adds markup-guided edits, a transparent PNG overlay on the first image that can't be combined with a mask, billed at the same token rates as other edits with no extra fee. In a three-round edit chain on November 5, 2026 (one 1024×1024 image at high quality, sent through laozhang.ai's per-call gpt-image-2.6-*-vip IDs rather than OpenAI's API directly), both 2.6 models made all three requested changes and kept them, but areas that weren't meant to change came out about 4–5% darker after the third round. GPT Image 2.5 Sunburst stayed within about 1% on the same chain. That is one image and one chain per model, and the official API was not tested the same way.

Disclosure: laozhang.ai is our own service. Its prices are platform pricing, not an independent comparison.

The closest third-party test compares FLUX 3 with GPT Image 2.5, not 2.6. In Fuser's FLUX 3 Image vs GPT Image test, published October 2, 2026, FLUX 3 Image at 1K and GPT Image 2.5 Flare at high both rendered all 583 characters of a typography prompt. When asked to change one date line, FLUX 3 Image changed 12.9% of the pixels and GPT Image 2.5 changed 25.0%; when asked to swap a cup for a mug, FLUX 3 Image changed 0.4% of the area outside the cup and GPT Image 2.5 changed 7.7%. Each was a single run. If your edits must leave the rest of a product photo untouched across several rounds, start with FLUX 3 Image's boxes and compare the untouched areas after each round before you commit to either model.

Output formats: SVG, GIF and transparency are GPT Image 2.6 only

GPT Image 2.6 returns PNG, JPEG or WebP as base64, supports transparent backgrounds in PNG and WebP, and accepts custom sizes in multiples of 16 up to 3840 pixels per edge (655,360 to 8,294,400 pixels in total). It can also return SVG from /v1/images/generations with output_format: "svg", billed at the image model's rate plus the tokens of the model that writes the SVG (GPT Image 2.6 SVG Generator: Python Script, Output Checks, Cost), and animated GIFs with frame_count from 2 to 16, default 9, according to OpenAI's image generation guide as of November 20, 2026 (GPT Image 2.6 GIF API: Tested Request, Frame Limits and Cost).

FLUX 3 Image works asynchronously: you poll a polling_url, and the finished image's URL expires after one hour, so your code has to download it promptly. It accepts exact width and height from 256 to 6,256 pixels per side, up to 16.8 MP (4 MP when you send reference images), and Klein lets you pick jpeg (the default) or png. BFL's API reference lists no SVG, GIF or transparent-background option for either model. FLUX 3 Image also turns on grounding (web and image search) by default; set it to false for faster results that use only your prompt. If you need to run the model on your own hardware, only Klein has open weights.

Quality vs Price: Leaderboard Score per Cent for Each Image API

A higher price buys a higher leaderboard score only up to a point. Dividing each model's Artificial Analysis text-to-image score by its price in cents puts Recraft V4.1 Flash and FLUX 3 Image Klein far ahead on ratio, with Seedream 5.5 and Nano Banana 2.1 the best ratios among models in that board's top 15. The GPT Image models score highest but were scored at max quality, so their ratio is the lowest.

LM Arena and Artificial Analysis image leaderboards, October–November 2026

The two leaderboards are different tables on different scales. Artificial Analysis runs a text-to-image leaderboard (AA-Image-T2I v2.1) and a separate image editing leaderboard (AA-Image-Editing v2.1), both Elo scores from pairwise human preference votes with FLUX.2 [dev] fixed at 1000. Version 2.1 is a new scale, so earlier Artificial Analysis scores, such as the 1198 GPT Image 2.5 Sunburst had in October 2026, can't be compared with these. Its price column is the creator API's cost for 1,000 images at 1024×1024 with default settings, and for every GPT Image 2.5 and 2.6 entry that means max quality. As of November 20, 2026, the text-to-image board reads:

RankModel (setting Artificial Analysis scored)EloArtificial Analysis price per 1,000 images
1GPT Image 2.6 Sunburst (max)1261$210.72
2GPT Image 2.5 Sunburst (max)1230$210.72
3GPT Image 2.6 Flare (max)1227$210.72
4MAI-Image-2.71215$34.82
6GPT Image 2 (high)1193$211.00
7Kling Image 4.01181$63.00
8Nano Banana 2.11177$33.60
10Grok Imagine Image 2.01167$60.00
14Seedream 5.51134$20.00
18Nano Banana Pro1119$134.00
21FLUX 3 Image1116$48.00
24Qwen-Image-3.0-Pro1095$40.00
31FLUX 3 Image Klein1042$9.00
53FLUX.2 [pro]1005$30.00

On the editing board the order changes: MAI-Image-2.7 leads (1215), GPT Image 2.6 Sunburst and Flare are second and third (1211 and 1205), Seedream 5.5 is eighth (1159), Nano Banana 2.1 tenth (1152) and FLUX 3 Image 22nd (1120).

The LM Arena text-to-image leaderboard uses its own score. The figures below are its October 7, 2026 snapshot (6.6 million votes), which predates GPT Image 2.6, FLUX 3 Image Klein and Seedream 5.5, and positions may have moved since:

RankArena entryScore
1gpt-image-2.5-sunburst1425 (preliminary)
2gpt-image-2.5-flare1398 (preliminary)
3gpt-image-2 (medium)1383
4grok-imagine-image-2.0 (canvas)1334 (preliminary)
5mai-image-2.61332
6gemini-nano-banana-2.11328 (preliminary)
7reve-2.11302
12seedream-5.0-pro1255
13qwen-image-3.0-pro1255
16gemini-3-pro-image-2k1248
17gpt-image-1.51237
20ideogram-4.0-quality1205
29flux-2-max1162
32flux-2-pro1153
35hunyuan-image-3.01150

That snapshot also lists a dated grok-imagine-image-2.0 (20260801) entry at 1294 (rank 8). Scores from earlier leaderboard snapshots, such as the "Elo 1,264" figures quoted for GPT Image 1.5 in early 2026, can't be mixed with these numbers. Both text-to-image boards measure general preference across many prompts and don't isolate text accuracy or product photography; Artificial Analysis' editing board is the one that scores edits separately.

The Value Efficiency Formula

Value efficiency = leaderboard score ÷ price per image in cents. It is a rough ratio, not a quality measure, and it rewards cheap models heavily. Use it to shortlist, then test. The table below, recomputed on November 20, 2026, uses Artificial Analysis text-to-image v2.1 scores and the price Artificial Analysis lists for each entry, except Grok Imagine Image 2.0, which is shown at its $0.04 list price for 1K low.

ModelArtificial Analysis T2I v2.1 EloPrice usedScore per cent
Recraft V4.1 Flash950$0.0071,357
FLUX 3 Image Klein, 1K1042$0.0091,158
Seedream 5.5, up to 1.5K1134$0.020567
Nano Banana 2.1, 1K1177$0.0336350
FLUX.2 [pro]1005$0.03335
Nano Banana 2 Lite1110$0.0336330
Grok Imagine Image 2.0, 1K low1167$0.04292
Qwen Image 3.0 Pro, 1k1095$0.04274
FLUX 3 Image, 1k1116$0.048232
Nano Banana Pro1119$0.13484
GPT Image 2.6 Sunburst, max1261~$0.21160
GPT Image 2.5 Sunburst, max1230~$0.21158
GPT Image 2.6 Flare, max1227~$0.21158
GPT Image 2, high1193$0.21157

Example: 1177 ÷ 3.36 = 350 for Nano Banana 2.1. The GPT Image rows use the max-quality price because that is the setting Artificial Analysis scored; at high (about $0.053) the same arithmetic would give four times the ratio, but no score exists for that setting. The Recraft score is for V4.1 Flash; its V4.1 Flash V2 replacement at the same $0.007 isn't separately ranked. On Google's Batch API, Nano Banana 2.1 doubles to about 700.

Finding Your Sweet Spot: When the Top Score Is Worth Paying For

GPT Image 2.6 holds the top score, but only at max quality, about $0.211 per 1024×1024 image. If your images look right at a lower setting, GPT Image 2.5 at medium (about $0.013) is still the cheap way into OpenAI's models, and 2.6 at high (about $0.053) is the setting to pay for on images people will look at closely, such as hero shots or product pages. Nano Banana 2.1 gives a top-ten score at $0.0336, or $0.0168 on Batch, which makes it the default for bulk work at 1K, and Seedream 5.5 at $0.020 scores close behind with a stronger editing rank. Nano Banana Pro scores lower than 2.1 at four times the 1K price, so choose it for a specific strength you've confirmed on your own prompts rather than for general quality.

How to Cut Your Image API Costs: Batch, Quality and Resolution

Three settings change the bill more than switching vendors: batch mode, the quality setting and the output size.

Use batch pricing for anything that can wait. Google's Batch API halves the price of Nano Banana 2.1 and Nano Banana 2 Lite, but Google's pricing page no longer shows Batch rates for Nano Banana 2 and Pro. OpenAI's Batch API halves GPT Image 2.5 output tokens to $15 per million; the pricing page lists the same rate for 2.6, while the 2.6 model pages still mark Batch unsupported, so confirm it before you plan a 2.6 Batch job. Batch jobs run asynchronously, so they suit catalog backfills, nightly content jobs and dataset generation, not interactive features.

Pick the lowest quality setting that passes. On GPT Image 2.5, high costs four times medium at 1024² (about $0.053 vs $0.013). On GPT Image 2.6 the steps are flatter, about $0.025 low, $0.044 medium and $0.053 high, so moving from medium to high adds only about a fifth, while running the same job on 2.5 medium saves about 70%. Run a fixed set of your own prompts at each setting and compare how many results you'd actually use.

Generate at the size you display. Nano Banana 2.1 goes from $0.0336 at 1K to $0.113 at 4K, and FLUX 3 Image from $0.048 at 1k to $0.607 at 4k, which also applies to any custom FLUX 3 size above about 4 MP. GPT Image 2.6 grows more slowly with size, from about $0.053 at 1024×1024 to about $0.100 at 3840×2160 at high quality. If your page shows 1,024-pixel images, a 4K render is wasted money. Nano Banana Pro is the exception: 1K and 2K both cost $0.134, so take the 2K.

Count cost per usable image, not per call. Rerolls and failed generations are part of the price. Seedream on BytePlus doesn't bill failed or moderated images; token-billed models do bill whatever they produce. Caching results for repeated prompts also removes calls you've already paid for once.

Best AI Image API by Use Case

E-commerce product images. Draft and variant images on Nano Banana 2.1 ($0.0336, or $0.0168 on Batch) or Seedream 5.5 ($0.020 up to 1.5K, with native transparent PNGs); final hero shots on GPT Image 2.6 or 2.5 at high quality (about $0.053). For editing an existing product photo, GPT Image 2.6 and 2.5, the Nano Banana models, FLUX 3 Image (bounding-box edits, $0.048 at 1k), FLUX.2 [pro] (editing from $0.045) and Seedream 5.5 (up to 10 references) all accept input images. SeedEdit 3.0 still appears on BytePlus's price list but was deactivated on January 22, 2026.

Marketing and social content. Seedream 5.5 ($0.020 up to 1.5K) and Grok Imagine Image 2.0 ($0.04 at 1K low) rank higher on Artificial Analysis' text-to-image board than Seedream 5.0 Pro ($0.045) and Qwen Image 3.0 Pro ($0.04) at similar or lower prices. Test them against GPT Image 2.5 at medium (about $0.013), which costs less still but has no leaderboard score at that setting.

Logos, icons and text-heavy layouts. Recraft V4.1 can return vector output ($0.08), which you can edit afterward instead of regenerating, and GPT Image 2.6 can return SVG at its image rate plus the tokens of the model that writes the file. For raster images with text, the leaderboards don't measure text accuracy separately, so test the top models on your own copy; the Nano Banana Pro pricing guide compares Pro with 2.1 on exact text.

High-volume automated generation. At 100,000 images a month, GPT Image 2.5 low (about $590), Recraft V4.1 Flash V2 ($700), FLUX 3 Image Klein ($900), GPT Image 2.5 medium (about $1,320) and Nano Banana 2.1 Batch ($1,680) are the realistic first-party options. Seedream 5.0 Flash ($1,800) and Seedream 5.5 ($2,000) are the next step up.

Self-hosting or near-zero budget. FLUX 3 Image Klein, FLUX.2 [dev] and FLUX.1 [schnell] are open weights; Klein's license allows free commercial use only below $5 million in annual revenue. Run them yourself or use a host; see the free AI image generation API comparison for the free daily allowances.

Getting Started: Quick Integration Guide

API integration comparison showing setup steps for Google Imagen, OpenAI GPT Image, and API aggregators

This chart predates the October 10, 2026 update: Imagen 4 and gpt-image-1 are retired or retiring, Google has no free image API tier, and the "50–80% below official pricing" line no longer applies. The code and text below are current.

All three approaches below use an API key and a REST call. The samples show the request shape with current model IDs; they were not executed for this update, so check the response against each vendor's API reference before you ship.

OpenAI GPT Image 2.5: Setup and Code

Create an API key in the OpenAI platform dashboard and install the openai Python package. GPT Image models return base64 image data, and the response includes token usage you can compare with your cost estimate.

python
import base64
from openai import OpenAI

client = OpenAI()  # reads OPENAI_API_KEY
result = client.images.generate(
    model="gpt-image-2.5-sunburst",
    prompt="A product photo of wireless earbuds on white marble",
    quality="medium",
    size="1024x1024",
)
with open("earbuds.png", "wb") as f:
    f.write(base64.b64decode(result.data[0].b64_json))
print(result.usage)

Use the full ID gpt-image-2.5-sunburst or gpt-image-2.5-flare. Set quality and size explicitly; leaving them on auto makes the cost per image hard to predict. OpenAI image generation guide. The same call runs GPT Image 2.6 if you change model to gpt-image-2.6-sunburst or gpt-image-2.6-flare, at about 3.3 times the medium-quality cost; for 2.6's extra parameters and its error messages, see GPT Image 2.6 API: Model IDs, Python and curl Code, Error Fixes.

Google Nano Banana 2.1: Setup and Code

Create a key in Google AI Studio and install google-genai. Image models are called through generate_content, not the old Imagen generate_images method, and need a project on a paid tier.

python
from google import genai

client = genai.Client()  # reads GEMINI_API_KEY
response = client.models.generate_content(
    model="gemini-nano-banana-2.1",
    contents="A product photo of wireless earbuds on white marble",
)
for part in response.candidates[0].content.parts:
    if part.inline_data:
        with open("earbuds.png", "wb") as f:
            f.write(part.inline_data.data)

Code that still calls imagen-4.0-generate-001 stopped working on the Gemini API on August 17, 2026. For limits and what the free key does cover, see Gemini API free tier limits.

OpenAI-Compatible Gateways: One Key for Several Models

Several platforms expose many image models behind an OpenAI-style endpoint, so the OpenAI SDK works with a different base_url and the gateway's model ID. The trade-offs: model IDs and parameters differ from the vendor's own, billing may be a flat per-call price instead of tokens or resolution tiers, and new vendor features can arrive later. Compare the gateway's per-call price with the vendor's price at the quality and size you actually use.

python
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_GATEWAY_KEY",
    base_url="https://YOUR_GATEWAY_HOST/v1",
)
result = client.images.generate(
    model="MODEL_ID_FROM_GATEWAY_DOCS",
    prompt="A product photo of wireless earbuds on white marble",
)

Whichever approach you choose, add retries with exponential backoff for rate-limit errors, log latency and cost per request, and keep a second model configured so a vendor outage or a model shutdown doesn't stop your pipeline.

FAQ: AI Image Generation API Questions Answered

Which AI API is best for image generation?

For overall quality as of November 20, 2026, GPT Image 2.6 Sunburst: it leads Artificial Analysis' text-to-image board at 1261, scored at max quality (about $0.211 per 1024×1024 image). For quality per dollar, Nano Banana 2.1 at $0.0336 per 1K image ($0.0168 on Batch) ranks eighth on the same board, and Seedream 5.5 at $0.020 ranks 14th. The best API for your project is the one that produces the most usable images per dollar on your own prompts.

What is the cheapest image generation API?

As of November 20, 2026, GPT Image 2.5 at low quality (about $0.006 per 1024×1024 image), Recraft V4.1 Flash V2 ($0.007) and FLUX 3 Image Klein ($0.009 per 1K image) are the cheapest first-party APIs without a shutdown date; gpt-image-1-mini at low ($0.005) lists lower but shuts down on December 1, 2026. Of the top ten on Artificial Analysis' text-to-image board, Nano Banana 2.1 on Batch ($0.0168) is the cheapest with a published price. For hosted open-weights models and free daily allowances, see the free AI image generation API comparison.

How much does the GPT Image 2.5 API cost?

$5 per million text input tokens, $8 per million image input tokens and $30 per million image output tokens, for both Sunburst and Flare. A 1024×1024 image comes to about $0.006 at low, $0.013 at medium, $0.053 at high, $0.094 at xhigh and $0.211 at max quality, before the prompt. Batch halves the output-token price. GPT Image 2.6 has the same token rates but cost about $0.025 at low and $0.044 at medium in a November 5, 2026 measurement, with high and above unchanged. Details: GPT Image 2.5 Sunburst pricing.

What is Gemini 3 Pro Image API pricing?

Gemini 3 Pro Image (Nano Banana Pro, gemini-3-pro-image) costs $0.134 per image at 1K or 2K and $0.24 at 4K as of November 20, 2026. Google's pricing page no longer lists a Batch price for it, although its model page still says Batch is supported. There is no free API tier. See Gemini 3 Pro Image API pricing for per-tier detail.

Is the Google Imagen 4 API still available, and is it free?

No on both counts for the Gemini API: Imagen 4 Fast, Standard and Ultra shut down there on August 17, 2026, and Google names gemini-nano-banana-2.1 as the replacement. None of Google's current image models has a free API tier.

Does Grok Imagine have an API, and how much does it cost?

Yes. As of November 20, 2026, xAI's price table lists two image models: grok-imagine-image at $0.02 per image and grok-imagine-image-2.0, priced from $0.04 (1K, low) to $0.08 (2K, medium). A third ID, grok-imagine-image-quality ($0.05), was retired on November 2 and is now served by 2.0 at low quality, so code that still calls it is billed at the 2.0 rate. Grok Imagine Image 2.0 ranks tenth on Artificial Analysis' text-to-image board (1167). At 10,000 images a month the two cost $200 and $400 at 1K low. What the retirement changes on your bill and which settings to use: grok-imagine-image-quality Retired: Now 2.0 at Low, What to Set.

How much does it cost to generate 10,000 AI images per month?

At list prices as of November 20, 2026, about $59 on GPT Image 2.5 low, $90 on FLUX 3 Image Klein, $132 on GPT Image 2.5 medium, $168 on Nano Banana 2.1 Batch, $200 on Seedream 5.5, $336 on Nano Banana 2.1 standard, $435 on GPT Image 2.6 medium, $480 on FLUX 3 Image, $527 on GPT Image 2.5 or 2.6 high and $1,340 on Nano Banana Pro, all at about one megapixel. The full table is under Volume Cost Projections above.

Can I switch between AI image APIs without rewriting my code?

Partly. OpenAI-style endpoints let you swap base_url, key and model ID, but Google's own SDK uses generate_content with a different response shape, and parameters such as quality, size, aspect ratio and reference images differ by vendor. A thin wrapper function around your image calls keeps a switch to a few lines.

What are the rate limits for AI image generation APIs?

Limits are set per account and per model, and each vendor shows them in its console: Google in AI Studio for your project, OpenAI in your organization's limits settings. The old "15 requests per minute free" figure for Google image models doesn't apply, because image models have no free tier.

Making Your Choice: Test Two Models on Your Own Prompts

GPT Image 2.6 leads the leaderboard at max quality; GPT Image 2.5 is still the cheap OpenAI option at low and medium; FLUX 3 Image beats 2.6 on price around 1K at high quality and above, and FLUX 3 Image Klein is the cheapest FLUX; Nano Banana 2.1 and Seedream 5.5 are the value picks. gpt-image-1 stopped working on October 23, 2026, gpt-image-1.5, gpt-image-1-mini and chatgpt-image-latest follow on December 1, and gpt-image-2 on February 10, 2027.

Pick two candidates from the tables above, run 50 to 100 of your real prompts through each at the quality and size you'll ship, and divide the bill by the number of images you'd actually use. That figure, not the list price, is what to compare. Prices and leaderboard positions move every few weeks, so recheck the vendor pricing pages before a large commitment.

Sources20

External pages this guide links to, in the order they appear. Last updated Nov 20, 2026.

  1. 1.Artificial Analysis text-to-image leaderboardartificialanalysis.ai/image/leaderboard/text-to-image
  2. 2.image generation guidedevelopers.openai.com/api/docs/guides/image-generation
  3. 3.Gemini API pricing pageai.google.dev/gemini-api/docs/pricing
  4. 4.BFL API pricingdocs.bfl.ai/quick_start/pricing
  5. 5.BytePlus ModelArk pricingdocs.byteplus.com/en/docs/ModelArk/1544106
  6. 6.xAI pricingdocs.x.ai/developers/pricing
  7. 7.Alibaba Cloud Model Studio pricingalibabacloud.com/help/en/model-studio/model-pricing
  8. 8.Recraft API pricingrecraft.ai/docs/api-reference/pricing
  9. 9.Stability AI platform pricingplatform.stability.ai/pricing
  10. 10.Ideogram's pricing pageideogram.ai/pricing
  11. 11.OpenAI deprecations pagedevelopers.openai.com/api/docs/deprecations
  12. 12.Gemini API deprecations pageai.google.dev/gemini-api/docs/deprecations
  13. 13.model listdocs.x.ai/docs/models
  14. 14.OpenAI image generation pricingdevelopers.openai.com/api/docs/pricing
  15. 15.Gemini subscription plansgemini.google/us/subscriptions
  16. 16.BFL's pricing pagebfl.ai/pricing
  17. 17.FLUX 3 Image bounding-box editing guidedocs.bfl.ai/flux_3/flux3_image_layout
  18. 18.Fuser's FLUX 3 Image vs GPT Image testfuser.studio/articles/flux-3-image-vs-gpt-image
  19. 19.image editing leaderboardartificialanalysis.ai/image/leaderboard/editing
  20. 20.LM Arena text-to-image leaderboardarena.ai/leaderboard/text-to-image