AgentSpec (gateway)
AgentSpec (gateway)
Route AgentSpec’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_id parameter on OpenAiConfig to use another OpenAI model through the same gateway-backed configuration.
AgentSpec’s OpenAiConfig(name="openai", ...) is provider-specific configuration. This page avoids showing Claude or Gemini under that provider name; use the Respan API or OpenAI SDK gateway pages for provider-neutral Claude and Gemini examples.
See the full model list.