一个 API Key
调用全球主流大模型One API key
for the world’s leading models
兼容 OpenAI 协议的大模型网关。GPT、Claude、Gemini、Grok、DeepSeek 统一接入,按 Token 透明计费,改一行 base_url 即可迁移。An OpenAI-compatible model gateway. GPT, Claude, Gemini, Grok and DeepSeek behind one endpoint, transparent per-token pricing, migrate by changing one base_url.
快速开始Quick start
三行代码接入Integrate in three lines
已经在用 OpenAI SDK?只要替换 base_url 和 api_key,就能调用列表里的任意模型。Already on the OpenAI SDK? Swap base_url and api_key and call any listed model.
- Base URL:
https://api.elysia.ltd/v1Base URL:https://api.elysia.ltd/v1 - 鉴权:
Authorization: Bearer sk-…Auth:Authorization: Bearer sk-… - 令牌在控制台「令牌」页面创建Create tokens in Console → Tokens
curl https://api.elysia.ltd/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ELYSIA_API_KEY" \
-d '{
"model": "gpt-6-sol",
"messages": [{"role": "user", "content": "Hello!"}],
"stream": false
}'# pip install openai
from openai import OpenAI
client = OpenAI(
base_url="https://api.elysia.ltd/v1",
api_key="sk-...", # 在控制台「令牌」页创建 / create in Console → Tokens
)
resp = client.chat.completions.create(
model="gpt-6-sol",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)// npm i openai
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.elysia.ltd/v1",
apiKey: process.env.ELYSIA_API_KEY,
});
const resp = await client.chat.completions.create({
model: "gpt-6-sol",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(resp.choices[0].message.content);# 任何兼容 OpenAI 的工具 / any OpenAI-compatible tool
OPENAI_BASE_URL=https://api.elysia.ltd/v1
OPENAI_API_KEY=sk-...为什么选择 ElysiaWhy Elysia
为开发者打造的模型网关A model gateway built for developers
兼容 OpenAI 接口OpenAI-compatible
直接使用官方 OpenAI SDK,只需把 base_url 改成 api.elysia.ltd/v1,现有代码无需改动。Use the official OpenAI SDKs. Point base_url at api.elysia.ltd/v1 — no other code changes.
一个 Key,多家模型One key, many models
OpenAI、Anthropic、Google、xAI、DeepSeek 等模型统一用一个令牌调用,切换模型只改 model 字段。Call OpenAI, Anthropic, Google, xAI, DeepSeek and more with one token — switch by changing the model field.
按 Token 透明计价Transparent per-token pricing
每个模型的输入 / 输出单价公开可查,数据来自网关价格接口。Per-model input/output rates are public, taken from the gateway’s pricing endpoint.
用量与日志看板Usage dashboard & logs
控制台按请求记录模型、Token 数与扣费,支持导出数据,花费一目了然。The console logs model, tokens and cost for each request, with data export.
令牌精细管控Fine-grained tokens
可创建多个令牌,分别设置额度、过期时间与可用模型,便于团队和项目隔离。Create multiple tokens with their own quota, expiry and model allow-list per project or teammate.
文本与图像Text & images
支持 /v1/chat/completions(含流式输出)与 /v1/images/generations 图像生成接口。Supports /v1/chat/completions (incl. streaming) and /v1/images/generations.
热门模型Popular models
模型与价格Models & prices
开通流程How it works
三步开始使用Get started in three steps
选择套餐并付款Choose a plan
在定价页选择套餐,通过 Stripe 安全支付(USD)。Pick a plan on the pricing page and pay securely with Stripe (USD).
开通账号We enable your account
我们为结账邮箱开通 api.elysia.ltd 账号,并邮件确认。We enable an api.elysia.ltd account for your checkout email and confirm by email.
登录并创建令牌Sign in & create a token
登录控制台创建 API 令牌,填入代码或客户端即可调用。Sign in to the console, create an API token, and drop it into your code or client.
生态Ecosystem
兼容你常用的客户端Works with the clients you use
任何支持自定义 OpenAI Base URL 的应用都能接入;以下客户端在控制台令牌页支持一键导入或直接配置。Any app with a custom OpenAI base URL works; these are supported from the console token page.
FAQ
常见问题Frequently asked questions
什么是 Elysia API?What is Elysia API?
Elysia API 是一个兼容 OpenAI 的大模型网关(中转站),底层平台运行在 api.elysia.ltd。你可以用同一个 API Key 调用多家厂商的模型,并在控制台查看用量与扣费。Elysia API is an OpenAI-compatible model gateway running at api.elysia.ltd. One API key reaches models from multiple providers, with usage and billing in the console.
怎么开通账号?可以自助注册吗?How do I get an account? Can I self-register?
目前不开放自助注册。请在定价页通过 Stripe 购买套餐,我们会为结账邮箱开通账号;也可以联系我们申请。开通后在 api.elysia.ltd/login 登录并创建令牌。Self-registration is closed. Buy a plan on the pricing page via Stripe and we enable an account for your checkout email, or contact us. Then sign in at api.elysia.ltd/login and create a token.
哪个套餐包含 API 调用?Which plan includes API access?
Flow 套餐包含开发者 API(https://api.elysia.ltd/v1)。Focus 与 Studio 为托管应用使用。如需其他方案请联系我们。Flow includes developer API access at https://api.elysia.ltd/v1. Focus and Studio cover the hosted app. Contact us for anything else.
模型价格怎么计算?How are model prices calculated?
按 Token 计费,输入与输出分别计价,单位为美元 / 百万 Token。各模型单价见模型页,数据来自 api.elysia.ltd;部分模型按上下文长度分档计价。实际扣费以控制台日志为准。Usage is billed per token, input and output separately, in USD per 1M tokens. See Models (from api.elysia.ltd); some models use context-length tiers. The console log is authoritative.
支持哪些客户端?Which clients work?
任何支持自定义 OpenAI Base URL 的工具都可以使用,例如 Cherry Studio、Lobe Chat、DeepChat、CC Switch、OpenCat 等。控制台的令牌页面还提供部分客户端的一键导入。Any tool that accepts a custom OpenAI base URL — e.g. Cherry Studio, Lobe Chat, DeepChat, CC Switch, OpenCat. The console’s token page offers one-click import for several of them.
如何付款、取消和退款?How do payment, cancellation and refunds work?
套餐以美元计价,通过 Stripe 支付。可随时取消,已付周期内继续可用;首次购买或续费 14 天内可申请退款,详见退款政策。账单与发票可在账单管理中查看。Plans are billed in USD via Stripe. Cancel anytime; access continues to the end of the paid period. Refunds within 14 days of a payment — see the refund policy. Invoices are in billing management.
准备好开始了吗?Ready to build?
选择套餐,开通后即可用一个 Key 调用所有模型。已有账号?直接登录控制台。Pick a plan and reach every model with one key. Already have an account? Sign in.