Getting Started

Migrate from OpenAI

Draven AI mirrors the OpenAI API's request and response shapes. Any client already built for OpenAI works by changing two things.

SettingValue
Base URLhttps://api.dravenai.lat/v1
API KeyYour sk-drv-... key from the console

Official SDKs

client = OpenAI(
    base_url="https://api.dravenai.lat/v1",  # was: default OpenAI URL
    api_key="sk-drv-your-api-key",           # was: sk-... (OpenAI key)
)
const client = new OpenAI({
  baseURL: "https://api.dravenai.lat/v1", // was: default OpenAI URL
  apiKey: "sk-drv-your-api-key",          // was: sk-... (OpenAI key)
});

Environment variable swap

Many OpenAI-compatible tools (LiteLLM, Open WebUI, LibreChat, Vercel AI SDK) read the base URL and key from environment variables. Setting these is often the only change needed:

.env
OPENAI_BASE_URL=https://api.dravenai.lat/v1
OPENAI_API_KEY=sk-drv-...

What to check after switching

Errors keep the same shape as OpenAI's ({ "error": { "message", "type", "param", "code" } }), so existing error-handling and retry logic doesn't need to change. See Errors.