SDKs & Tools
SAPI is fully compatible with the OpenAI SDK. Just change the base_url.
Official SDKs
python
Third-Party Compatibility
LangChain
Set openai_api_base to SAPI endpoint
Cursor
Override OpenAI base URL in settings
VSCode Copilot
Use custom OpenAI-compatible endpoint
OpenWebUI
Add SAPI as an OpenAI API connection