Skip to content

chore(cost-map): add six fal_ai iris-z endpoints, end the H3 Max promotion and apply the flux-3-max keyframes one - #52159

Closed
devin-ai-integration[bot] wants to merge 3 commits into
mainfrom
litellm-providers/price-sync-fal-ai
Closed

devin-ai-integration[bot] wants to merge 3 commits into
mainfrom
litellm-providers/price-sync-fal-ai

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fal's model list now carries eight speridlabs/iris-z endpoints that the cost map does not have. This adds the six that Fal bills per megapixel, each priced from its own page https://fal.ai/models/<endpoint id>/llms.txt, fetched raw with a cache buster on 2026-11-17. The rows use the same shape as the existing per megapixel fal_ai rows such as fal_ai/fal-ai/flux/dev. output_cost_per_image is the price of the default 1 MP output and output_cost_per_pixel is that price divided by 1048576, the convention those sibling rows already follow. source on each row is the endpoint's fal.ai page.

Every page opens its Pricing section with "Billing is calculated per megapixel of the generated image, rounded up to the next whole megapixel", and the quote column holds the sentence that states the number.

Key Kind output_cost_per_image output_cost_per_pixel Quote
fal_ai/speridlabs/iris-z/depth-to-image page 0.14 1.33514404296875e-07 "A square output at the 1024 or 512 resolution tier is at most 1 MP and costs $0.14; outputs above 1 MP count as 2 MP and cost $0.28"
fal_ai/speridlabs/iris-z/small/depth-to-image page 0.05 4.76837158203125e-08 "A square output at the 1024 or 512 resolution tier is at most 1 MP and costs $0.05; outputs above 1 MP count as 2 MP and cost $0.10"
fal_ai/speridlabs/iris-z/small/text-to-image page 0.03 2.86102294921875e-08 "Any image up to 1 MP, such as 1024x1024 or 512x512, costs $0.03; sizes above 1 MP, up to the 1280x1024 maximum, count as 2 MP and cost $0.06"
fal_ai/speridlabs/iris-z/small/text-to-rgbd page 0.05 4.76837158203125e-08 "Any image up to 1 MP, such as 1024x1024 or 512x512, costs $0.05; sizes above 1 MP, up to the 1280x1024 maximum, count as 2 MP and cost $0.10"
fal_ai/speridlabs/iris-z/text-to-image page 0.1 9.5367431640625e-08 "Any image up to 1 MP, such as 1024x1024 or 512x512, costs $0.10; sizes above 1 MP, up to the 1280x1024 maximum, count as 2 MP and cost $0.20"
fal_ai/speridlabs/iris-z/text-to-rgbd page 0.14 1.33514404296875e-07 "Any image up to 1 MP, such as 1024x1024 or 512x512, costs $0.14; sizes above 1 MP, up to the 1280x1024 maximum, count as 2 MP and cost $0.28"

mode is image_generation for all six. Fal's list gives category text-to-image for the three text endpoints and image-to-image for the two depth-to-image endpoints, so the depth-to-image rows also carry /v1/images/edits and supports_vision: true like the existing image-to-image rows. The text-to-rgbd pages say "the depth map and depth array are included", so there is no separate charge for the depth output.

Cross-check with https://api.fal.ai/v1/models/pricing returned the same six base prices with unit megapixels.

Promotion changes

https://fal.ai/pricing.md changed and now lists the H3 Max endpoints at $0.05 per second and the H3 Max Turbo endpoints at $0.025 per second, their standard 480p rates. Each endpoint's own page https://fal.ai/models/<endpoint id>/llms.txt, fetched raw with a cache buster on 2026-11-17, says the November promotion ended on November 15, so these five rows move from the 30% off rates to the standard rates under ruling fal-ai-promotional-rates-apply-until-promotion-ends. The same ruling puts flux-3-max/keyframes-to-video on the 50% promotional rate its page now states through November 22. The row was on the regular rate, and its two flux-3-max siblings already carry the promotional one. Each row's metadata.comment is rewritten to match.

Key Kind 480p 768p 1080p output_cost_per_second Quote
fal_ai/minimax/h3-max/image-to-video page 0.05 0.08 0.16 0.08 (768p default) "From November 16, 2026, standard rates are $0.05, $0.08, and $0.16 per second at 480p, 768p, and 1080p, respectively"
fal_ai/minimax/h3-max/text-to-video page 0.05 0.08 0.16 0.08 (768p default) same sentence on its own page
fal_ai/minimax/h3-max/camera-controls page 0.05 0.08 0.16 0.05 (480p default) same sentence on its own page
fal_ai/minimax/h3-max-turbo/image-to-video page 0.025 0.04 0.08 0.04 (768p default) "From November 16, 2026, standard rates are $0.025, $0.04, and $0.08 per second at 480p, 768p, and 1080p, respectively"
fal_ai/minimax/h3-max-turbo/text-to-video page 0.025 0.04 0.08 0.04 (768p default) same sentence on its own page
Key Kind 720p 1080p output_cost_per_second Quote
fal_ai/blackforestlabs/flux-3-max/keyframes-to-video page 0.085 0.145 0.085 (720p default) "From November 8, 2026 at 00:00 UTC through November 22, 2026, the 50% promotion brings the rate to $0.085 per second at 720p and $0.145 per second at 1080p" and "Regular rates of $0.17 per second at 720p and $0.29 per second at 1080p resume on November 23, 2026 at 00:00 UTC"

The default resolution on each row is the one the row already used. The rest of the changed pricing page agrees with the catalog rows it names, and the rows that look different are the page's base unit against a row's default resolution or audio setting, checked on each endpoint's own page.

Left out

speridlabs/iris-z and speridlabs/iris-z/small are depth estimation endpoints billed per ensemble member, a unit no fal_ai cost field holds. Their pages say "Billing is calculated per ensemble member. Each member costs $0.01, so a default single-member request costs $0.01 and a 10-member ensemble costs $0.10", and the pricing API reports them as 0.01 per units.

Delisted by the provider

None

Details

Link to Devin session: https://app.devin.ai/sessions/ea837d8d24a64d30a663c3ec0b828bc1
Open in Devin Desktop: https://app.devin.ai/desktop/session/ea837d8d24a64d30a663c3ec0b828bc1?variant=devin
Requested by: @kerry-berri

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@veria-ai

veria-ai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

PR overview

The PR adds pricing entries for six fal_ai speridlabs/iris-z image endpoints to the model cost map.

One pricing issue remains open: an authenticated caller with Fal passthrough access can submit a supported larger image while only the flat per-image rate is recorded against their budget. The documented request records $0.10 despite a $0.20 provider charge, allowing callers to underconsume their tracked budget and leave the operator covering the difference. No issues have been addressed yet.

Open issues (1)

Fixed/addressed: 0 · PR risk: 5/10

Reviews

"litellm_provider": "fal_ai",
"metadata": {"notes":"fal bills speridlabs/iris-z/text-to-image at $0.1 per megapixel, rounding each image up to the nearest megapixel. The per-pixel rate is used when Fal reports the output size, and the flat per-image price prices the default 1 MP output like the sibling flux entries"},
"mode": "image_generation",
"output_cost_per_image": 0.1,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Medium: Flat fallback enables underpriced passthrough submissions

Adding output_cost_per_image makes this model pass fal_ai_proxy_route()'s pricing gate, but fal_ai_passthrough_cost() only multiplies that flat rate by num_images, ignoring image_size and output_cost_per_pixel. An authenticated caller permitted to use Fal passthrough can POST to /fal_ai/speridlabs/iris-z/text-to-image with image_size: {"width":1280,"height":1024} and a prompt, recording $0.10 against their budget although Fal charges $0.20 for that supported size. (fal.ai)

Keep these megapixel-priced models blocked on passthrough until its accounting supports rounded output dimensions, including settlement when dimensions are unknown at submission; the regular image calculator's rounding does not protect this path.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These rows follow the shape of the existing per megapixel fal_ai rows. Passthrough accounting for output size is outside this catalog sync and needs a code change

@codspeed

codspeed Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

1 warning

⚠️ 2 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

✅ 45 untouched benchmarks


Comparing litellm-providers/price-sync-fal-ai (2f0aa06) with main (42f901a)

Open in CodSpeed

@codecov

codecov Bot commented Nov 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@kerry-berri
kerry-berri enabled auto-merge (squash) November 17, 2026 02:10
@devin-ai-integration devin-ai-integration Bot changed the title chore(cost-map): add six fal_ai speridlabs/iris-z image endpoints chore(cost-map): add six fal_ai iris-z endpoints, end the H3 Max promotion and apply the flux-3-max keyframes one Nov 17, 2026
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

Superseded by the rolling registry PR #52162, which carries these fal_ai rows after re-checking each price against fal.ai pages.

auto-merge was automatically disabled November 17, 2026 13:17

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant