Welcome back

Sign in to your XaioAI account

Don't have an account? Create one
API Service Online

The Premium Gateway to Every AI Model

One API key. Unlimited AI. Access GPT-4, Claude, Llama, Gemini and more through XaioAI's unified endpoint — faster, cheaper, and OpenAI-compatible.

4+
AI Models
99.9%
Uptime SLA
<100ms
Avg Latency
$4.99
Starting Price
Quick Start
// Works with any OpenAI-compatible SDK
const client = new OpenAI({
  baseURL: "https://XaioAI.com/api/v1",
  apiKey:  "xaioai_your_key_here"
});

const res = await client.chat.completions.create({
  model:    "gpt-4",
  messages: [{ role: "user", content: "Hello!" }]
});
console.log(res.choices[0].message.content);

Access Every Leading Model

OpenAI, Anthropic, Meta, Google — all through one endpoint with a unified billing system.

Built for Developers

OpenAI Compatible
Drop-in replacement. Just change the baseURL — all your existing OpenAI code works instantly.
Secure by Design
Your API keys are encrypted. Regenerate anytime. Per-request usage tracking with full audit logs.
Low Latency
Optimized routing through OpenRouter's infrastructure ensures the fastest possible response times.
Credit System
Buy once, use anytime. Credits never expire on lifetime plans. Pay with USDT (BEP20).

Ready to get started?

Create your account, purchase a plan, grab your API key, and start making requests in under 60 seconds.

All Available Models

Every model is accessible via OpenAI-compatible API. Pricing is in credits per 1K tokens.

Simple, Transparent Pricing

No hidden fees. Pay once, keep your credits. Start with our test plan for just $4.99.

All payments processed via USDT BEP20 (BSC)

Getting Started
API Reference
SDKs

XaioAI API Reference

XaioAI provides a unified, OpenAI-compatible API to access the world's best language models. With a single API key, you can route requests to GPT-4, Claude, Llama, Gemini, and more.

The API is fully compatible with the OpenAI SDK — simply point the baseURL to XaioAI's endpoint and you're ready to go.

Base URL
https://XaioAI.com/api/v1

Authentication

All API requests require an API key sent in the Authorization header as a Bearer token.

HTTP Header
Authorization: Bearer xaioai_your_api_key_here

You can find your API key in your Dashboard under the API Keys section. Keep it secret — never expose it in client-side code.

Quick Start

Get up and running in under a minute. Install the OpenAI SDK and point it at XaioAI's base URL.

Chat Completions

POST /api/v1/chat/completions

Create a chat completion. This endpoint is fully compatible with OpenAI's Chat Completions API.

Request Body

ParameterTypeRequiredDescription
modelstringrequiredModel ID (e.g. gpt-4)
messagesarrayrequiredArray of message objects
max_tokensintegeroptionalMax tokens in response
temperaturefloatoptionalSampling temperature (0-2)
streambooleanoptionalStream response chunks

List Models

GET /api/v1/models

Returns a list of all active models available on XaioAI.

Usage Endpoint

GET /api/v1/usage

Returns your API usage statistics including total tokens consumed and credits remaining.

Python SDK

Python
# pip install openai
from openai import OpenAI

client = OpenAI(
    base_url="https://XaioAI.com/api/v1",
    api_key="xaioai_your_key_here"
)

response = client.chat.completions.create(
    model="gpt-4",
    messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)

Node.js SDK

JavaScript
// npm install openai
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://XaioAI.com/api/v1",
  apiKey:  "xaioai_your_key_here"
});

const res = await client.chat.completions.create({
  model:    "claude-3",
  messages: [{ role: "user", content: "Explain AI in 3 sentences" }]
});
console.log(res.choices[0].message.content);

cURL

cURL
curl https://XaioAI.com/api/v1/chat/completions \
  -H "Authorization: Bearer xaioai_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "llama-3",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'
All Systems Operational

XaioAI Status

API Gateway
Chat completions, models endpoint
Operational
Authentication
Login, register, JWT tokens
Operational
OpenRouter Proxy
Model routing & response relay
Operational
Payment Processing
USDT BEP20 payment confirmation
Operational
User Dashboard
Profiles, usage stats, API keys
Operational

Supported Models Status

Dashboard
Welcome back!
Credits Remaining
Total Requests
Total Tokens
Active Plan
Requests — Last 7 Days
Recent API Calls
Loading...
Admin Panel
XaioAI backend management
Total Users
Total Revenue
Total Requests
Pending Payments
Pending Payments
All Payments
Users
Models Management