Developer Docs

Connect to multi-model APIs with an OpenAI-compatible interface.

Docs are organized around the real integration flow: Base URL, API key, model names and error handling for SDKs, tools and custom apps.

Quickstart

In any SDK or tool that supports a custom Base URL, point requests to the aliapi.me unified endpoint and use a project API key.

baseURL: "https://api.aliapi.me/v1"
apiKey: "YOUR_API_KEY"
model: "gpt-4o-mini"

Authentication

All requests use Bearer tokens. Create separate keys for projects, environments and teams so quota, suspension and audit trails stay clean.

Authorization: Bearer YOUR_API_KEY

Model Names

The model directory lists available models, capabilities and recommended use cases. Start with one model, then expand to Claude, Gemini, DeepSeek and Qwen.

Error Handling

401 usually points to key or Base URL issues. 429 usually means quota, rate limit or upstream throttling. Use console logs for status, latency and token usage.