Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.portkey.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

fal.ai provides fast inference for 1000+ models including LLMs, image, video, and audio generation.
Provider slug: fal-ai. Requires Backend v1.16.2+ in Model Catalog.

Quick Start

from portkey_ai import Portkey

portkey = Portkey(api_key="PORTKEY_API_KEY")

response = portkey.chat.completions.create(
    model="@fal-ai/fal-ai/flux/schnell",
    messages=[{"role": "user", "content": "Hello!"}]
)

print(response.choices[0].message.content)
Add a fal.ai provider in Model Catalog with your fal.ai API key, then reference it as @<provider-slug>/<model-id> in requests.
Last modified on May 27, 2026