OpenAI SDK
OpenAI SDK
The official OpenAI SDKs can call every model on this site — just change base_url and api_key.
Python
Node.js / TypeScript
Environment variables
The SDKs read these variables by default, so your code doesn't need to change:
Other frameworks
LangChain, LlamaIndex, the Vercel AI SDK and similar frameworks accept a custom OpenAI-compatible base URL — set it to https://zzq.si/v1.