AIWave Quickstart: First API Call in 5 Minutes
You're a developer. You don't have time for documentation. Here's the fastest path from zero to your first Chinese AI API call — no Chinese phone number, no per-model registration, no monthly minimum.
🚀 5 Minutes. $5 Free. All Models.
One OpenAI-compatible endpoint. DeepSeek, GLM, Kimi, ERNIE, and 50+ more.
Sign Up Free →1 Sign Up (30 seconds)
Go to aiwave.live/console → click "Sign Up". Email + password. No phone number, no ID verification. You get $5 free credit immediately.
2 Get Your API Key (15 seconds)
In the console sidebar, go to Token Management → click Add Token. Copy your key (starts with sk-). Set your budget and model access preferences.
3 Install the OpenAI SDK
AIWave is 100% OpenAI-compatible. Use any OpenAI SDK or library.
# Python
pip install openai
# Node.js
npm install openai
4 Make Your First Call
Replace sk-your-key with your actual key. That's it.
Python
import openai
client = openai.OpenAI(
base_url="https://aiwave.live/v1",
api_key="sk-your-aiwave-key"
)
response = client.chat.completions.create(
model="deepseek-v4-pro",
messages=[{"role": "user", "content": "Hello AIWave!"}]
)
print(response.choices[0].message.content)
Node.js
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://aiwave.live/v1",
apiKey: "sk-your-aiwave-key"
});
const response = await client.chat.completions.create({
model: "deepseek-v4-pro",
messages: [{ role: "user", content: "Hello AIWave!" }]
});
console.log(response.choices[0].message.content);
cURL
curl https://aiwave.live/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-your-aiwave-key" \
-d '{
"model": "deepseek-v4-pro",
"messages": [{"role": "user", "content": "Hello!"}]
}'
5 Swap Models — Change One Parameter
The power of AIWave: try any model by changing model.
| Model ID | Provider | Use Case |
|---|---|---|
deepseek-v4-pro | DeepSeek | Best all-rounder |
deepseek-reasoner | DeepSeek | Chain-of-thought reasoning |
glm-5 | Zhipu | Cheapest, good quality |
kimi-k2 | Moonshot | 200K context window |
ernie-4.0 | Baidu | Best Chinese text |
Advanced: Streaming, Vision, and Function Calling
AIWave supports the full OpenAI API surface:
- Streaming: Set
stream: truein your request - Vision: Pass
image_urlcontent blocks (GLM-5, DeepSeek V4) - Function calling: Standard
toolsparameter - JSON mode:
response_format: {"type": "json_object"}