Gengxi API Developer Docs

OpenAI-compatible clients

Connect SDKs and tools that support a custom OpenAI-compatible endpoint.

Connection settings

SettingValue
Base URLhttps://api.gengxi.ai/v1
AuthorizationBearer YOUR_API_KEY

Common endpoints

  • GET /models
  • POST /responses
  • POST /chat/completions

SDK-style example

typescriptCopy
const client = new OpenAI({
  baseURL: 'https://api.gengxi.ai/v1',
  apiKey: process.env.GENGXI_API_KEY,
})

const response = await client.responses.create({
  model: 'YOUR_MODEL',
  input: 'Hello',
})

Compatibility scope

This setup is intended for clients that allow a custom OpenAI-compatible endpoint. Available resources and fields still depend on the selected model, group, and compatibility route.