Provider slug:
fal-ai. Requires Backend v1.16.2+ in Model Catalog.Quick Start
@<provider-slug>/<model-id> in requests.Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
🚀 Introducing Agent Gateway — governance, observability, and control for your AI agents.  Register for live webinar ↗
Integrate fal.ai models with Portkey’s AI Gateway via an OpenAI-compatible API.
fal-ai. Requires Backend v1.16.2+ in Model Catalog.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)
@<provider-slug>/<model-id> in requests.Was this page helpful?
