Skip to content
Console

OpenAI · Anthropic · Gemini compatible

爱玩Ai API Docs

One unified AI API gateway — one key, every model

Your first request
curl https://api.aiwanai.cc/v1/chat/completions \  -H "Authorization: Bearer sk-your-key" \  -H "Content-Type: application/json" \  -d '{"model": "deepseek-v4-pro", "messages": [{"role":"user","content":"Hi"}]}'{
  "id": "chatcmpl-9z…",
  "model": "deepseek-v4-pro",
  "choices": [{ "message": { "role": "assistant", "content": "Hello!" } }]
}

Point your Base URL here and use an sk- key from the console

Base URL
https://api.aiwanai.cc
One site-wide endpoint, usable globally
Authentication
Authorization: Bearer <token>
Create an sk- key under Console → API Keys
Protocols
OpenAI · Anthropic · Gemini
Point the official SDKs here to call every vendor

Coding tools

Claude Code, Codex CLI, DeepSeek + OpenCode / ZCode, plus one-click import via CC Switch and XiaoBaiSwitch. Open the coding guides

SDK integration

Point the official OpenAI SDK and Anthropic SDK at this site; one interface for every vendor’s models. OpenAI SDK · Anthropic SDK

Platform tour

Wallet, usage logs, key safety, and groups — what each console page is for. Read the platform tour

Get a key first

Sign up in the console, create an sk- key, point your Base URL here, then send the first request. Use the error-code guide if you get stuck.