完全兼容 OpenAI API 格式,一个接口即可调用 Claude、GPT 等顶级模型。按量计费,开箱即用。
企业级 AI API 服务,为开发者和团队打造
标准 OpenAI API 格式,ChatGPT-Next-Web、LobeChat、Cherry Studio 等客户端直接接入,零迁移成本。
一个 API Key 调用 Claude Opus、Sonnet、Haiku 全系列模型,按需切换,统一计费。
按实际 Token 用量精确计费,支持 Prompt Caching 优惠价格,用多少付多少。
智能负载均衡,多节点容灾,流式响应首 Token 延迟极低,体验流畅。
全链路 HTTPS 加密,请求日志脱敏,API Key 独立隔离,数据安全有保障。
完整支持 Function Calling / Tool Use,轻松构建 AI Agent 和复杂工作流。
三步接入,开箱即用
# 流式对话 curl http://localhost:3456/v1/chat/completions \ -H "Authorization: Bearer sk-your-api-key" \ -H "Content-Type: application/json" \ -d '{ "model": "claude-sonnet-4-6", "messages": [{"role": "user", "content": "你好"}], "stream": true }'
from openai import OpenAI client = OpenAI( api_key="sk-your-api-key", base_url="http://localhost:3456/v1" ) response = client.chat.completions.create( model="claude-sonnet-4-6", messages=[{"role": "user", "content": "你好"}], stream=True ) for chunk in response: if chunk.choices[0].delta.content: print(chunk.choices[0].delta.content, end="")
import OpenAI from 'openai'; const client = new OpenAI({ apiKey: 'sk-your-api-key', baseURL: 'http://localhost:3456/v1' }); const stream = await client.chat.completions.create({ model: 'claude-sonnet-4-6', messages: [{ role: 'user', content: '你好' }], stream: true }); for await (const chunk of stream) { process.stdout.write(chunk.choices[0]?.delta?.content || ''); }
# ChatGPT-Next-Web / LobeChat / Cherry Studio 配置 API 地址: http://localhost:3456 API Key: sk-your-api-key 模型: claude-sonnet-4-6 # 步骤: # 1. 在控制台获取 API Key # 2. 打开客户端设置 → 自定义接口 # 3. 填入上方 API 地址和 Key # 4. 选择模型,开始对话