BETA

Docs

OpenAI-compatible API

Set the client base URL to https://apily.pro/v1 and send chat requests to POST /v1/chat/completions.

Base URL
https://apily.pro/v1
Endpoint
POST /v1/chat/completions

Client with a custom base URL

index.js
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://apily.pro/v1",
  apiKey: "apily_your-api-key",
});

const response = await client.chat.completions.create({
  model: "gpt-5.6-sol",
  messages: [{ role: "user", content: "ping" }],
});
console.log(response.choices[0].message.content);

Chat completions reference