✳ainav.

guides

Price a Replicate or fal image or video run

A unit map for Replicate and fal media APIs — per image, per megapixel, per video second, or per GPU second, including when idle is billed — with worked examples under stated assumptions. Live fal-ai/flux/dev pricing is per megapixel; a docs API example that used unit “image” is not treated as the current price list. GPU and idle time are attributed to Replicate private/deployments or fal Serverless, not to Replicate public models. Not a quality test and not a cheapest-vendor claim.

Price a Replicate or fal image or video run

A media-model API is rarely billed like a chat token. Replicate and fal both charge for successful generations, but the unit on the official page might be an output image, a megapixel, a second of video, or a second of GPU time — including, in some products, idle time. This article is a unit map plus worked examples under stated assumptions. It is not a quality test, not a “cheapest image API” ranking, and not a remake of How to Evaluate AI Image Tools Before You Subscribe or of Pricing Pages Decoded: Freemium vs Credit Packs for AI Tools.

How this article was written

Official Replicate and fal pricing, billing, and model pages were opened first-hand on 10 November 2026 (Asia/Shanghai) and rechecked on 1 December 2026 (Asia/Shanghai). No accounts were created and no predictions were run. Dollar totals below are example arithmetic from official unit prices. Where a duration or an output size is required, it is labeled as an assumption, not a measured run. One official contradiction on fal’s FLUX.1 [dev] unit is left visible rather than smoothed over.

Two products, several units

On Replicate, official billing docs distinguish:

  • Public models: you pay only for the time the model is active processing your request. Setup and idle time are free. You share a hardware pool, so cold boots can happen. Some public models are instead billed by input and output — the official pricing page lists examples such as black-forest-labs/flux-dev at $0.025 per output image and black-forest-labs/flux-schnell at $3.00 per thousand output images. Video examples on the same page include wavespeedai/wan-2.1-i2v-480p at $0.09 per second of output video.
  • Private models and deployments: you pay for setup, idle, and active time on dedicated instances (fast-booting fine-tunes are an official exception: active time only).
  • Hardware rates when a model is billed by time, from the official pricing page: for example gpu-l40s at $0.000975/sec ($3.51 per hour) and gpu-h100 at $0.001525/sec ($5.49 per hour). Use the hardware named on that model’s “Run time and cost” section, not a rate from a different SKU.
  • Failed and canceled runs: for all models, a failed run is not charged. If you cancel an official-model run, you may still be charged for time already used. Private models and deployments bill instance time as usual, including failed and canceled runs. Models that call other models bill the root run and the downstream calls; a failure still bills elapsed time plus downstream work already done.

On fal, official docs split two products that must not be priced as one:

  • Model APIs: prepaid credits, billed per successful output. The unit is per image, per megapixel, per video second, per video, or sometimes per request. Server errors (HTTP 500+) and queue wait time are not charged. Prices live on the model page, at fal.ai/pricing, and on https://fal.ai/models/<id>/llms.txt.
  • Serverless GPUs (your own runners): billed per second while the runner is alive — SETUP, IDLE (including keep_alive), RUNNING, DRAINING, and TERMINATING. PENDING scheduling and Docker image pulls are not billed. Multi-GPU is gpu_count × duration. Official list price for an H100 on the fal pricing page is $4.50 per hour, which is $0.00125 per second by arithmetic (4.50 ÷ 3,600). The same page also lists discounted “as low as” rates (for H100, as low as $2.49 per hour). This article uses the official list price unless you have a confirmed discount.

Do not take one model’s unit and apply it to the whole platform.

Worked examples (not receipts)

Example 1 — per output image on Replicate. Official unit for black-forest-labs/flux-dev on the Replicate pricing page: $0.025 per output image. Assumption: 1,000 successful images, one output each, no failed retries that later succeed as extra images. Arithmetic: 1,000 × 0.025 = $25.00. This is not a quality comparison and not a measured batch.

Example 2 — per megapixel on fal, same-looking model name. The live official file https://fal.ai/models/fal-ai/flux/dev/llms.txt, opened the same day, lists $0.025 per megapixels for fal-ai/flux/dev. That is not the same unit as Replicate’s per-output-image price, even though the number 0.025 appears in both places. A second official source — the Model API pricing docs — shows an example pricing-API payload of "endpoint_id": "fal-ai/flux/dev", "unit_price": 0.025, "unit": "image". That snippet is a documented response shape, not a substitute for the live unit on this endpoint or version. This article uses the live model file for the unit and does not treat the docs example as the current price list. Re-query the pricing API or the model page before you budget. Assumption, if and only if each successful image is 1.0 megapixel: 1,000 × 0.025 = $25.00. If each image is 2.0 megapixels, the same rate is $50.00. The official default image_size is landscape_4_3; this article does not invent that size’s pixel count.

Example 3 — hardware-seconds on a Replicate public model. Official gpu-l40s rate: $0.000975/sec. Assumption, not a timed run: 8 seconds of active processing on a public model that bills by hardware time (setup and idle free). Per prediction: 8 × 0.000975 = $0.0078. For 1,000 such successful runs: $7.80. If you instead run the same model as a deployment, official docs say you also pay setup and idle; this example does not invent an idle duration, so it stops at the public-model case. Always prefer the estimate on that model’s page over this assumed 8 seconds.

Example 4 — fal video, per second of output. Official sources opened on 1 December 2026 no longer match the 10 November 2026 marketing-table rates. The official pricing.md file lists minimax/h3-max/text-to-video at $0.05 per second and minimax/h3-max-turbo/text-to-video at $0.025 per second. The live model files at https://fal.ai/models/minimax/h3-max/text-to-video/llms.txt and https://fal.ai/models/minimax/h3-max-turbo/text-to-video/llms.txt add resolution tiers: from 16 November 2026, standard rates are $0.05 / $0.08 / $0.16 per second at 480p / 768p / 1080p for H3 Max text-to-video, and $0.025 / $0.04 / $0.08 per second at those same resolutions for Turbo. Promotional discounts documented on those files ended before this recheck. Both official model files list a default resolution of 768P. Assumption: 100 successful videos, 5 seconds of output each, no 5xx errors. Arithmetic at the 480p / pricing.md listed rate: 100 × 5 × 0.05 = $25.00 for H3 Max, and 100 × 5 × 0.025 = $12.50 for Turbo. At the official default 768p standard rate, the same assumption is 100 × 5 × 0.08 = $40.00 and 100 × 5 × 0.04 = $20.00. Those are different endpoints, not a discount on one model. A third official row, minimax/h3-max/reference-to-video, is still $0.05 per second at 480p on the live model file (with $0.08 / $0.16 at 768p / 1080p) — and is also a different endpoint; do not reuse that figure as the text-to-video price. The HTML table on fal.ai/pricing still showed the older $0.03 and $0.015 per-second figures on this recheck; this article budgets from the live model files and pricing.md, not from that stale table.

Example 5 — fal Serverless, list H100, including idle. Official H100 list: $4.50 per hour, or $0.00125/sec (4.50 ÷ 3,600). Assumption: one H100 runner stays alive for 600 seconds (10 minutes), including idle keep_alive time, then shuts down. Arithmetic: 600 × 0.00125 = $0.75. This is the opposite shape of Model API billing, where queue time is free and idle runners are not part of a per-output price.

What to open on the model page before you wire it

For each endpoint you plan to call, official docs already tell you where the durable facts live. On Replicate, open the model’s “Run time and cost” section for the hardware SKU and any time estimate, and open that model’s license separately from the platform pricing page. On fal, open https://fal.ai/models/<endpoint_id>/llms.txt (and, if you automate budgets, the official pricing API) and write down the unit first — image, megapixel, video second, or GPU second — then the number. If two official surfaces disagree, as they did for fal-ai/flux/dev on 10 November 2026 and again for MiniMax H3 Max rates on 1 December 2026 (HTML pricing table versus pricing.md and the live model files), budget against the live model file — and against the stricter or less favorable reading — until the surfaces agree.

None of those checks require a paid prediction. Once a unit and a rate are written down, the examples above are just arithmetic you can redo when the official number changes.

Licenses, credits, and what this article does not settle

fal Model APIs and, for many Replicate accounts, usage draw down prepaid credits. Replicate also documents arrears billing and occasional early charges when usage first crosses a limit. “Free limits” on Replicate officially mean you can run select models for free until you are asked to set up billing; this article does not invent a remaining-free-run count.

Output rights are not a platform-wide slogan you can lift from a directory blurb. The fal flux/dev official model file says the model “is suitable for personal and commercial use,” which is that page’s wording, not a substitute for the model license. Replicate’s hardware and pricing pages tell you to read the estimate and terms on the model page; model licenses can differ from the platform terms. This article did not treat a community card as a commercial-use grant.

Re-read the live model file the day you budget. If the unit is “image” on one official page and “megapixel” on another, do not pick the number that makes the spreadsheet tidier.