Respan API
The Respan gateway provides an OpenAI-compatible API endpoint that gives you access to 250+ models from all major providers through a single API key and base URL. Every gateway request is automatically captured as a trace, so you get full observability without any SDK setup.
Set up Respan
Create an account at platform.respan.ai and grab an API key. For gateway, also add credits or a provider key.
Run npx @respan/cli setup to set up with your coding agent.
Gateway
Endpoints
Environment switching: Respan doesn’t support an env parameter in API calls. To switch between environments (test/production), use different API keys — one for your test environment and another for production. Manage keys in API Keys settings.
Setup
Switch models
Change the model parameter to use any supported provider through the same endpoint.
Browse the full model list to see all available models.
OpenAI-compatible parameters
All standard OpenAI chat completion parameters are supported.
Respan parameters
Pass Respan-specific parameters in the request body alongside OpenAI parameters. When using the OpenAI SDK, pass them via extra_body.