$LLMAI Docs

Documentation

Everything you need to build with the LLMAI API gateway.

Getting Started with LLMAI

LLMAI is an AI model gateway that gives your application access to models from multiple providers through a single, OpenAI-compatible HTTP endpoint. Register once, load your account balance, and call any supported model using the same request format.

Customers typically save over 65% on AI API costs compared to going direct to providers — one API key, all models, a fraction of the cost.

🎁 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

SectionWhat You'll Learn
QuickstartRegister, fund your account, and fire your first request
API OverviewEndpoint URLs, authentication headers, request/response schemas
ModelsFull catalog of supported models with slugs and per-token rates
BillingHow prepaid balances work and how deductions are calculated
IntegrationsStep-by-step setup for SDKs, CLI tools, and editors
TroubleshootingDiagnose 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": "gpt-5.4",
    "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: Save over 65% vs going direct to providers

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.

Join us on Telegram →

Join us on Discord →

On this page