GPT + 15 other models in one API

GPT-5.4 API
+ smart routing to save 90%

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 calls

GPT-5.4

OpenAI latest flagship. 272K context, top benchmarks.

$3.25/ M input
$19.50/ M output

Model ID: openai/gpt-5.4

GPT-4o Mini

Fast everyday model. 128K context, great for simple tasks.

$0.20/ M input
$0.78/ M output

Model ID: openai/gpt-4o-mini

Same OpenAI SDK, more models

Change one line. Access GPT + Claude + DeepSeek + 13 more.

Python
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.

Why not just use OpenAI directly?

16 models, one key

GPT + Claude + DeepSeek + Qwen + 12 more. No managing separate accounts.

Smart routing saves 90%

Route simple tasks to $0.13/M Qwen Plus or $0.01/M GLM-4 Flash instead of $3.25/M GPT-5.4.

Auto-failover

If OpenAI goes down, requests auto-route to Claude or DeepSeek. 99.9% uptime.

WeChat Pay

Pay with credit card, WeChat Pay, or Alipay. No USD-only restriction.

Try GPT-5.4 + 15 models

50 free API calls. No credit card. One line change from OpenAI.

Get free API key