Token Proxy

高性价比 AI API 代理服务,一个 Key 调用所有主流大模型

全模型覆盖

GPT-4o、Claude 4、Gemini 2.5、DeepSeek R1 等,持续更新

OpenAI 兼容

标准 OpenAI 接口格式,SDK / 第三方客户端即插即用

按量计费

用多少扣多少,余额不足自动提示,透明可查

快速开始

接口地址

https://shiyiaierer.top/api/v1/chat/completions

Python

from openai import OpenAI

client = OpenAI(
    base_url="https://shiyiaierer.top/api/v1",
    api_key="sk-你的APIKey"
)

response = client.chat.completions.create(
    model="gpt-4.1-mini",
    messages=[{"role": "user", "content": "你好"}]
)
print(response.choices[0].message.content)

curl

curl https://shiyiaierer.top/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-你的APIKey" \
  -d '{"model":"gpt-4.1-mini","messages":[{"role":"user","content":"你好"}]}'