Quickstart
From zero to your first successful API response in a few minutes.
Before You Begin
You'll need an LLMAI account and a funded balance. The whole process takes less than five minutes.
1. Register Your Account
Visit console.llmai.dev and create a free account. Email and password is all that's required — no payment details needed to sign up.
2. Fund Your Balance
LLMAI runs on a prepaid credit system. Navigate to Billing inside the console and deposit an initial amount. Ten dollars is more than enough to explore every available model. Your credit never expires.
3. Create an API Key
Open API Keys in the console sidebar and click New Key. Give it a name, then copy the generated value immediately — it will only be shown once. Keys follow the format sk-llmaai-....
Keep your key private. Treat it the same way you would a database password — never check it into version control.
4. Send a Request
Paste your key into the command below and run it:
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": "In one sentence, what is LLMAI?"
}
]
}'5. Read the Response
A successful call returns a JSON payload in the standard chat completions format:
{
"id": "chatcmpl-abc123",
"object": "chat.completion",
"model": "gpt-5.4",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "LLMAI is a unified API gateway that lets you access multiple AI models through a single endpoint."
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 16,
"completion_tokens": 20,
"total_tokens": 36
}
}The usage object tells you exactly how many tokens were consumed — and therefore how much was deducted from your balance.
Where to Go Next
- Models — browse every available model with its slug and per-token price
- Billing — understand exactly how balance deductions are calculated
- OpenAI SDK — use LLMAI from Python or Node.js in minutes
- Cursor IDE — wire LLMAI into your code editor