Billing Headers for WebSocket Endpoints
Shared WebSocket endpoints on fal can now bill by declared unit counts instead of only by connection duration.
fal now lets shared fal WebSocket endpoints declare billing on their 101 upgrade response instead of being charged purely by connection duration. An endpoint can set x-fal-billable-units when the unit count is already known at connect time, or set x-fal-billable-units-webhook to 1 when the count is only known once the session ends, then report the total with a POST /requests/billable-units/{request_id} call. Endpoints that set neither header are still billed by duration, as before. More detail is in the announcement.
fal
A generative media platform and inference API for running fast image, video, and audio AI models at scale.
View fal →