verboo code

Guide

Use the OpenAI SDK

Keep the familiar interface and point the client to the Verboo Code base URL.

On this page

Install the package

Python or Node.js
pip install openai
# ou
npm install openai

Configure 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

  1. Replace the secret with VERBOO_API_KEY.
  2. Configure the Verboo Code base URL.
  3. Query /models and replace model with the desired ID.
  4. Validate advanced fields with the selected model.