Pydantic AI (gateway)
Pydantic AI (gateway)
Route Pydantic AI model calls through the Respan gateway to use 250+ models from different providers. Only your RESPAN_API_KEY is needed.
Setup
Anthropic provider
If you use Pydantic AI’s Anthropic provider, point it at the Anthropic-compatible Respan gateway route and keep using the Respan key as the runtime secret.
Python
Switch models
Change the model string or RESPAN_MODEL value to another gateway model ID.
See the full model list.