Most AI image tools charge a flat "credit" per image. When I wired four different models into imgtoimg-ai.net, that stopped making sense: the underlying cost per image is not flat at all.
Here are the numbers I measured on fal.ai (USD per image, Nov 2026):
| Model | Cost/image | Credits I charge |
|---|---|---|
| FLUX.2 Edit | $0.02 | 1 |
| GPT Image 2.6 | $0.04 | 3 |
| Nano Banana 2 | $0.08 | 4 |
| Seedream 5.0 Pro | $0.14 | 5 |
The spread is 7x. A flat credit would have meant losing money on Seedream and overcharging on GPT Image. I rebalanced twice before launch, Seedream went 3 to 5 credits and GPT 5 to 3, which brought the gross margin of the expensive and cheap ends into roughly the same band. The full table is public on the pricing page, because hidden "fair use" pricing is the thing I liked least about existing tools.
Three engineering notes from shipping it:
Free tier on Cloudflare Workers AI. FLUX.2 Klein gives every visitor 5 edits a day with no account. Daily quotas live in KV, keyed by UTC date, and only increment after an image actually returns, so a dropped connection no longer burns an edit.
Quota tokens are signed. Counting by IP alone was trivially bypassed by switching networks. I now take the highest used count across IP, a device cookie and a signed quota token, and verify the HMAC signature server-side. Forged tokens are ignored.
Do not put a multi-megabyte base64 image in a JSON response. Paid models used to succeed on fal.ai and then die on the way back to the browser. Now the fal file URL is returned and the browser fetches it directly; the client preloads it into a blob so Save works instantly, and on iPhone it goes through the share sheet straight to Photos.
Everything is two Cloudflare Workers: one serves the static assets and reports AI crawler hits, the other handles auth, quotas and model calls. Images and prompts are not retained.
The tool is free to try: https://imgtoimg-ai.net. I would be glad to hear how others are handling per-model unit economics.**