开发者控制台

账户、余额、Key 与用量统一管理

Public SaaS / USD Wallet

Docs

接入方式

Base URL: https://your-domain.example/v1
Authorization: Bearer ak-live-***
支持邮箱: [email protected]

Quickstart

Node.js 示例

import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.AI_PROXY_KEY,
  baseURL: "https://your-domain.example/v1",
});

const response = await client.chat.completions.create({
  model: "gpt-4o-mini",
  messages: [{ role: "user", content: "你好" }],
});

console.log(response.choices[0]?.message?.content);

API

cURL 示例

curl https://your-domain.example/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $AI_PROXY_KEY" \
  -d '{
    "model": "gpt-4o-mini",
    "messages": [{"role": "user", "content": "介绍一下你自己"}]
  }'

Pricing

售卖模型

模型Provider输入价 / 百万输出价 / 百万最低预扣