Use GPT-5.4 for complex tasks, auto-route simple queries to DeepSeek ($0.34/M) or Qwen ($0.08/M). Same API key, one line change.
Start free — 50 API callsOpenAI latest flagship. 272K context, top benchmarks.
Model ID: openai/gpt-5.4
Fast everyday model. 128K context, great for simple tasks.
Model ID: openai/gpt-4o-mini
Change one line. Access GPT + Claude + DeepSeek + 13 more.
from openai import OpenAI
# Just change the base_url — everything else stays the same
client = OpenAI(
base_url="https://api.aipower.me/v1", # ← only change
api_key="YOUR_AIPOWER_KEY",
)
# GPT-5.4
r = client.chat.completions.create(
model="openai/gpt-5.4",
messages=[{"role": "user", "content": "Complex reasoning task..."}],
)
# Or save 91% with DeepSeek for simple tasks
r = client.chat.completions.create(
model="deepseek/deepseek-chat",
messages=[{"role": "user", "content": "Simple question"}],
)
# Or let AI pick the best model automatically
r = client.chat.completions.create(
model="auto", # Smart routing
messages=[{"role": "user", "content": "Any task"}],
)Sign up free → your API key auto-fills in all code examples. Copy & run instantly.
GPT + Claude + DeepSeek + Qwen + 12 more. No managing separate accounts.
Route simple tasks to $0.13/M Qwen Plus or $0.01/M GLM-4 Flash instead of $3.25/M GPT-5.4.
If OpenAI goes down, requests auto-route to Claude or DeepSeek. 99.9% uptime.
Pay with credit card, WeChat Pay, or Alipay. No USD-only restriction.
50 free API calls. No credit card. One line change from OpenAI.
Get free API key