prompt or image_size) and from SDK method parameters (like start_timeout or client_timeout). They apply at the infrastructure level — controlling retries, payload storage, media expiration, and routing.
Some of these headers have dedicated SDK parameters that set them automatically. For example, passing start_timeout=30 in the SDK sets X-Fal-Request-Start-Timeout: 30 under the hood. Others, like X-Fal-Store-IO, can only be set via the headers dict. This page documents all platform headers in one place. For headers that have SDK parameters, the corresponding method pages are linked.
X-Fal-Request-Start-Timeout (start_timeout)
Server-side time-to-start deadline in seconds. The clock starts when the request is submitted and covers queue wait, runner acquisition, and failed retry attempts. Once a runner successfully begins processing, the timeout stops and inference can run as long as it needs. If the deadline is reached before any runner starts processing, fal returns 504 with X-Fal-Request-Timeout-Type: user. To limit total client-side wait time (including processing), use client_timeout on subscribe() instead.
X-Fal-Runner-Hint (hint)
Routing hint that tells fal to try to route the request to a specific runner. Useful for session affinity — for example, keeping requests pinned to a runner that already has a LoRA adapter or conversation state loaded in memory. If the hinted runner is unavailable, fal routes to any available runner.
X-Fal-Queue-Priority (priority)
Queue priority for the request. Priority applies to the per-user per-endpoint queue. Therefore setting priority="low" on a shared model API (like fal-ai/flux/dev) deprioritizes your request relative to your other requests. Requests between users are fairly prioritized.
X-Fal-Object-Lifecycle-Preference
Control how long generated files are stored on fal’s CDN and who can access them.Data Retention & Storage
File Access Controls
X-Fal-Store-IO
Prevent fal from retaining request payloads (JSON inputs and outputs) in request history. Payloads are stored for 90 days by default and power the request history in your dashboard. Your account team can configure a different account default. An explicit per-request header takes precedence.This controls request-history payload storage only. CDN files have separate retention controls. The model deployment owner controls application logging. See Zero Data Retention (ZDR) for retention controls and ZDR coverage. If you deploy your own apps, see Serverless Data Retention & Storage.
X-Fal-No-Retry
Disable automatic retries for this request. By default, queue-based requests are retried for up to 10 total attempts on server errors (503, 504, connection errors).Reliability & Retries
X-Fal-Retry-Config
Set a separate retry limit for each retry condition, instead of the all-or-nothingX-Fal-No-Retry switch. The value is a JSON object that maps a retry condition (server_error, timeout, or connection_error) to an object with a retries count. retries is the number of additional attempts after the first, so retries: 3 allows up to 4 total attempts for that condition. This header only works on your own apps — it is ignored on shared or public model APIs.
Reliability & Retries
x-app-fal-disable-fallback
Disable automatic model fallbacks for this request. By default, fal may reroute requests to equivalent alternative endpoints if the primary is unavailable.Reliability & Retries
X-Fal-Tags
Attach your ownkey=value tags to the request. Use tags to attribute spend to a team, an environment, or a feature. fal reports usage and estimated cost against the tags it activates for your account.
Availability: Tag reporting must be enabled for your account. Contact your account team or support@fal.ai to request access, and name the tag keys and values to activate.
Request Tags
X-Fal-Workflow-Envelope
Add the endpoint and the request ID of each step to the result of a workflow. The result becomes{"output": ..., "nodes": ...}. The webhook payload contains the same result. fal reads this header only for workflows.
Step request IDs
fal_max_queue_length
Reject the request with429 if the endpoint’s queue already has more than this many requests waiting (across all callers). Useful for latency-sensitive applications that prefer to fail fast rather than wait in a long queue.
This parameter is passed as a query parameter on the URL, not as a header. The SDKs do not currently expose it as a named parameter; use the raw URL approach or pass it via
headers.cURL