Tool Integration
OpenAI SDK
Use the OpenAI SDK with Tenzen AI
OpenAI SDK compatibility
Change base_url / baseURL and api_key / apiKey only.
Python
from openai import OpenAI
client = OpenAI(
base_url="https://your-tenzen.example.com/v1",
api_key="YOUR_TENZEN_API_KEY",
)TypeScript
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://your-tenzen.example.com/v1",
apiKey: "YOUR_TENZEN_API_KEY",
});Frameworks
LangChain, LlamaIndex, Vercel AI SDK, and any client that allows a custom OpenAI base URL work the same way—point the base URL at Tenzen AI and use valid model IDs from your console.
