Ship on EastX in 5 minutes
From signup to your first model call — one doc covers it all. Every endpoint is OpenAI-compatible, so migration cost is zero.
Overview · 5 steps end-to-end
Sign up → top up → create key → call → track usage
Sign up
Email + password or one-click Google — instantly active
Top up wallet
USDT on 5 chains or credit card / Apple Pay / Google Pay
Create API Key
Set name, RPM, balance cap — shown only once
Call a model
OpenAI-compatible SDK, zero migration, 110+ models
Track usage
Real-time balance, transactions, stats by model / key
1. Sign up
Email + password or Google — done in 30 seconds
Email signup
- Fill in email + password (8+ chars) on the portal signup page
- The system auto-generates your invite code (8 chars) plus a public code (e.g.
AB123456) - You can sign in straight away — we recommend verifying your email once
Google one-tap
- Click "Continue with Google" on the signup page
- Pick an account on the Google consent screen
- The system creates an account with your Google email
- If the same email is already registered, the accounts auto-merge
2. Top up your wallet
Multi-chain USDT + card — pick whichever fits
USDT multi-chain top up
A permanent dedicated address per chain: TRC20 / ERC20 / BSC / Arbitrum / Solana.
Card / mobile wallets
Credit card, debit card, Apple Pay, Google Pay. Cross-border via Antom.
Referral commission
Default L1 5% / L2 2% two-tier commission credited in real time on every spend by your invitees (final rate depends on the tenant you signed up under).
The real portal /recharge screen
What you actually see after logging in:
Top up
How to pick among the 5 chains
| Chain | On-chain fee | Confirmation | Who it fits |
|---|---|---|---|
| TRC20 | ~$1 | 1-3 min | Daily retail top ups — cheapest, default pick |
| ERC20 | $3-15 | 3-10 min | Larger amounts, security-sensitive flows |
| BSC | ~$0.30 | 1-3 min | Binance ecosystem users |
| Arbitrum | ~$0.50 | 1-3 min | L2 users, technical crowd |
| Solana | ~$0.01 | 30s | When you want the fastest credit |
3. Create an API Key
Create as many as you want — each with its own limits
- 1Go to /keys and click "Create Key"
Name (required), optional RPM cap, optional cumulative spend cap, optional expiry.
- 2Copy the full key immediately and save it
Key format:
sk-eastx-XXXXXXXX.... Shown only once at creation — once you close the dialog it's gone for good. - 3Wire it into your SDK or env var
We recommend an env var like
EASTX_KEY— don't hard-code, don't commit.
4. Call your first model
OpenAI-compatible — change only the base_url in your existing code
Chat completions
curl https://api.eastx.ai/v1/chat/completions \
-H "Authorization: Bearer $EASTX_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-haiku-4-5",
"messages": [{"role":"user","content":"Hello, EastX!"}]
}'Python OpenAI SDK
from openai import OpenAI
client = OpenAI(
base_url="https://api.eastx.ai/v1",
api_key="sk-eastx-...",
)
resp = client.chat.completions.create(
model="claude-haiku-4-5",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)Text embeddings
curl https://api.eastx.ai/v1/embeddings \
-H "Authorization: Bearer $EASTX_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"text-embedding-v4","input":"Hello world"}'Image generation
curl https://api.eastx.ai/v1/images/generations \
-H "Authorization: Bearer $EASTX_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"qwen-image-plus","prompt":"red apple","size":"1024x1024"}'5. Track usage and balance
Real-time bills + multi-dimensional stats + referral commission
/dashboard
Current balance, this month’s spend, last 30 days of calls, average latency, last 5 calls, trend chart.
/usage
Pick a date range, see total calls, total tokens, total spend; sliced by day / model / key.
/referral
Your invite code + link. L1 5% + L2 2% credited in real time.
Animated demo · End-to-end top up
Auto-looped: from picking a chain to funds landing
Error codes cheatsheet
Use this table to find the fix
| HTTP | Error code | Cause + fix |
|---|---|---|
| 401 | missing_key / invalid_key | Authorization header missing, key typo, or a character dropped while copying |
| 402 | insufficient_balance | Balance too low — top up |
| 402 | cap_reached | This key hit its cumulative cap — create a new one or raise the cap |
| 403 | account_suspended | Account suspended by risk control — contact support |
| 403 | disabled | Key disabled — enable it or create a new one |
| 404 | model_not_found | Model name typo or retired — check /models for the live list |
| 429 | rate_limit_exceeded | Hit the per-key RPM cap |
| 503 | upstream_unavailable | Upstream temporarily down — retry or switch to a fallback model |
Start now
Ship your first model call in 5 minutes. Pay only for what you use.