Langflow (gateway)
Langflow (gateway)
Langflow is Python-only. Route its underlying LLM calls through the Respan gateway to use 250+ models from different providers. Only your Respan API key is needed — no separate provider keys required.
Setup
Point Langflow at the gateway
Set the OpenAI environment variables before starting Langflow. Its OpenAI components (built on langchain-openai) read these automatically, so every OpenAI-component call routes through Respan.
No real OpenAI key needed — the Respan gateway handles provider authentication. Leave the API key field blank on your flow’s OpenAI component so it falls back to these env vars.
Run an exported flow programmatically (optional)
run_flow_from_json runs a flow you have already exported from the Langflow UI (Share → Export). Export the flow to a .json file first, then:
The flow’s OpenAI components use the same OPENAI_API_KEY / OPENAI_BASE_URL env vars, so calls route through Respan.
Switch models
Change the model in your flow’s OpenAI component to another model available through the gateway, for example gpt-5.5 or gpt-5-mini.
See the full model list.