OpenAI Compatible · Multi-Model · Pay-as-you-go

Unified AI API,Pay-as-you-go, Scale freely

Access all major AI models through one platform. OpenAI-compatible endpoint, zero migration cost, fine-grained usage tracking, and flexible credit billing.

example.py
from openai import OpenAI
client = OpenAI(
api_key="sk-relay-xxxxxxxx",
base_url="https://api.airelay.dev/v1"
)
# No other changes needed ✓
99.9% SLA
50+ Models
Global Payments

Why Choose XiaoLongXia AI?

All-in-one AI API access so you can focus on your product

Multi-Model Aggregation
Access GPT-4o, Claude 3.5, Gemini Pro and more through a single API Key.
OpenAI Compatible
Fully compatible with the OpenAI API format. Just swap base_url — no code changes needed.
Streaming Output
Native SSE streaming for real-time token output with latency matching the original provider.
Usage Analytics
Granular token tracking per model and per day. Visualize costs at a glance.
Multiple API Keys
Create separate API Keys per project. Track usage independently and revoke anytime.
Flexible Billing
Subscription plans + credit top-ups. Pay with credit card via Stripe.

Transparent Pricing

Monthly plans or pay-as-you-go credits — your choice

Free

Great for personal trials

¥0
  • 100 credits/mo
  • All models
  • Standard rate limit
  • Community support
Most Popular

Basic

Perfect for individual developers

¥29/mo
  • 50,000 credits/mo
  • All models
  • Higher rate limit
  • Email support
  • Usage analytics

Pro

Ideal for small teams

¥99/mo
  • 200,000 credits/mo
  • All models
  • High rate limit
  • Priority support
  • Usage analytics
  • Multiple API Keys

After plan credits run out, usage automatically switches to pay-as-you-go (1 credit = ¥0.001)

No subscription needed? Top up credits directly

Credits never expire. 1 credit = ¥0.001. Pay only for what you use.

Start for free today

Get 100 free credits on sign-up. No credit card required. All major AI models supported.