OpenAI SDK
The format matches OpenAI, so the official SDK works. Just point baseURL at the gateway address.
Creating a client
Client
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.SATULINK_API_KEY,
baseURL: "https://api-dev.satulink.ai/v1",
});import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["SATULINK_API_KEY"],
base_url="https://api-dev.satulink.ai/v1",
)<?php
use OpenAI;
$client = OpenAI::factory()
->withApiKey(getenv("SATULINK_API_KEY"))
->withBaseUri("https://api-dev.satulink.ai/v1")
->make();Usage example
Node.js
js
const completion = await client.chat.completions.create({
model: "deepseek-v-4.1-flash",
messages: [{ role: "user", content: "Halo!" }],
});
console.log(completion.choices[0].message.content);Python
python
completion = client.chat.completions.create(
model="deepseek-v-4.1-flash",
messages=[{"role": "user", "content": "Halo!"}],
)
print(completion.choices[0].message.content)Call the gateway from your server. Do not put an API key in the browser.
Still haven't found the answer? Try it directly in Playground or view the list of active models.

