Documentation
Everything you need to build with the LLMAI API gateway.
Model slugs in examples are illustrative. Confirm current availability in the live catalog and your account's /v1/models before use.
Getting Started with LLMAI
LLMAI is an AI model gateway that gives your application access to dozens of models across leading model families — including GPT-5.6 Sol and Terra; GLM 5.3 Flash; Claude Opus and Sonnet; Gemini 2.5 Pro and 3.x; DeepSeek V4; plus Kimi, MiniMax, Qwen, Gemma, MiMo, and Grok. All are available through a single OpenAI-compatible HTTP endpoint.
For current rates, context tiers, and exact API slugs, see the model catalog.
🎁 Free $2 trial credit available on request. Not ready to deposit? Contact us to request trial credit and test any model before you commit.
What's in These Docs
| Section | What You'll Learn |
|---|---|
| Quickstart | Register, fund your account, and fire your first request |
| API Overview | Endpoint URLs, authentication headers, request/response schemas |
| Models | Full catalog of supported models with slugs, capabilities, and pricing |
| Billing | How prepaid balances work and how deductions are calculated |
| Integrations | Step-by-step setup for SDKs, CLI tools, and editors |
| Troubleshooting | Diagnose and resolve the most common API errors |
Your First API Call
curl https://api.llmai.dev/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kimi-k2.7-code",
"messages": [{"role": "user", "content": "Hello!"}]
}'At a Glance
- Endpoint:
https://api.llmai.dev/v1 - Authentication:
Authorization: Bearer <your-key> - Protocol: OpenAI Chat Completions format — fully compatible with existing SDKs
- Payment model: Prepaid balance, deducted per request — no monthly subscriptions
- Cost: Per-model API token rates in the model catalog
Head to the Quickstart to be up and running in minutes.
Community
Have questions, want to share what you're building, or need a hand? Join the LLMAI community — the team and other developers are there.