LangChain (gateway)
LangChain (gateway)
Route LangChain’s 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
Switch models
Change the model parameter on ChatOpenAI to use another OpenAI model through the same gateway-backed endpoint.
ChatOpenAI is LangChain’s OpenAI-compatible chat adapter. This page avoids showing Claude or Gemini inside that OpenAI-named adapter; use the Respan API or OpenAI SDK gateway pages for provider-neutral Claude and Gemini examples.
See the full model list.
Respan parameters
Pass additional Respan parameters via extra_body for gateway features.
See Respan params & metadata for the full list.