AI Image Generation Cost Calculator
Pick a resolution and a monthly volume. See per-image and monthly cost side-by-side for DALL-E 3, Imagen 3, Flux Pro, Stable Diffusion 3.5, Ideogram, and Recraft V3 — in USD and LKR. Every per-image price is cited from the vendor's own pricing page.
How it works
For each model you pick, the calculator looks up the per-image USD price the vendor publishes for that resolution and quality tier, then multiplies by your images-per-day and days-per-month. The LKR figure uses whichever USD→LKR rate you typed in (default: the most recent Central Bank of Sri Lanka daily indicative rate). Nothing is sent to a server — the entire pricing table is bundled into the page and all math runs locally.
The formula is intentionally boring:
per_image_usd = price_lookup[model][resolution][quality] per_day_usd = per_image_usd × images_per_day monthly_usd = per_day_usd × days_per_month per_image_lkr = per_image_usd × usd_to_lkr_rate monthly_lkr = monthly_usd × usd_to_lkr_rate
Where a model does not support the chosen resolution or quality (DALL-E 3 at 512×512, Imagen 3 in HD, any non-Flux-Ultra model at 2048×2048), price_lookup returns null. The row is greyed out and labelled with the supported set — the calculator never invents a price.
Stability AI is the only vendor that bills in credits rather than dollars. The pricing table converts using the published $0.01/credit rate (so SD 3.5 Large at 6.5 credits = $0.065/image). The page exposes a cross-check that recomputes the per-image cost from credits and confirms it matches the table: credit/USD cross-check passes.
Midjourney is intentionally excluded — it bills by subscription tier (Basic, Standard, Pro, Mega), not by per-image API call. See midjourney.com/explore?tab=plans for current plans. Self-hosted GPU rentals (RunPod, Vast.ai, Lambda) are also out of scope because the cost model is hourly hardware time, not per-image inference. The same applies to video generation — Veo, Sora, Runway, and Kling all price per second or per clip and will get a dedicated tool.
Worked-example self-test (computed live on this page) — each row reconciles the formula above with the hand-derived numbers in the code header:
- DALL-E 3 standard 1024×1024, 20/day × 30 → expected $24.00, got $24.00
- Flux Pro 1.1 1024×1024, 200/day × 30 → expected $240.00, got $240.00
- SD 3.5 Large 1024×1024, 50/day × 30 → expected $97.50, got $97.50
- DALL-E 3 HD 1024×1792, 10/day × 30 → expected $36.00, got $36.00
- Zero images on any model → expected $0.00, got $0.00
Worked examples
Frequently asked questions
Sources & references
- OpenAI — API Pricing (DALL-E 3 standard and HD)
- Google AI for Developers — Pricing (Imagen 3 / Imagen 3 Fast)
- Stability AI — Platform Pricing (SD 3.5 Large / Turbo / Medium)
- Black Forest Labs — Quick-Start API Pricing (Flux Pro 1.1, Ultra, Dev)
- Ideogram Developer — API Pricing (Ideogram 2.0 / 2.0 Turbo)
- Recraft — API documentation (Recraft V3)
- Central Bank of Sri Lanka — Daily indicative exchange rates (USD→LKR)
Pricing was last cross-checked against each vendor's pricing page on 2026-05-12. The table is reviewed quarterly and whenever a vendor announces a tier change. Spotted a stale row? Email the address below — most fixes ship within 24 hours.
Related tools
Comments & feedback
Spotted a bug or want an improvement? Tell us — our team reviews every comment, and good ideas get built. Comments are public and anonymous.
Found a price that has moved, or an edge case the table doesn't cover?
Email me at [email protected] — most fixes ship within 24 hours.