Guide
Use the OpenAI SDK
Keep the familiar interface and point the client to the Verboo Code base URL.
Install the package
Python or Node.js
pip install openai
# ou
npm install openaiConfigure the client
Python · openai
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["VERBOO_API_KEY"],
base_url="https://code.verboo.ai/router/v1",
)
response = client.chat.completions.create(
model="<MODEL_ID>",
messages=[{"role": "user", "content": "Explain why low latency matters for developer tools."}]
)
print(response.choices[0].message.content)Two values change
Use a Verboo Code API key and set base_url/baseURL to https://code.verboo.ai/router/v1. Calls continue through client.chat.completions.
Migrate an OpenAI integration
- Replace the secret with VERBOO_API_KEY.
- Configure the Verboo Code base URL.
- Query /models and replace model with the desired ID.
- Validate advanced fields with the selected model.