统一接口
通过统一 Base URL 接入 OpenAI Compatible 与 Claude 协议,减少多工具重复配置。
AI API Gateway
面向开发者和小团队,通过统一接口接入常用大模型。支持 OpenAI Compatible 与 Claude 协议,适配 Codex、Claude Code、Cursor 等工具,价格、余额和调用记录清晰可查。
xXapi 面向开发者与小团队提供 AI API 聚合与分发服务,用户可通过统一 API 接口接入平台支持的模型线路。
xXapi provides an AI API aggregation gateway for developers and small teams. Users can access supported model routes through a unified API interface.
Model Hub
不同模型和分组的价格、倍率、固定费用会影响最终消耗。进入控制台即可查看当前可用模型和计费说明,适合先评估成本再接入。
Platform
只要工具支持自定义 Base URL 和 API Key,就可以按文档配置。适合个人开发者、小团队、自动化脚本和服务端应用统一管理模型调用。
通过统一 Base URL 接入 OpenAI Compatible 与 Claude 协议,减少多工具重复配置。
在模型广场查看可用模型、分组和价格,根据任务选择适合的模型线路。
余额、模型倍率和请求记录可在控制台查看,便于按项目核对实际消耗。
遇到 401、429、503、断流或模型不可用时,可结合调用记录和文档定位问题。
Billing
使用前可以先查看模型价格和分组说明,使用后可以通过调用记录核对请求状态、消耗和余额变化。建议为不同项目创建独立 Key,方便后续排查和管理。
打开模型广场Security
xXapi 是 AI API 聚合网关,不是 OpenAI、Anthropic 或其他模型厂商的官方服务。
正式使用前,建议先用小额额度验证模型、工具配置、流式输出和错误处理。
禁止违法、欺诈、骚扰、钓鱼、凭据窃取、绕过安全限制等用途。
Workflow
先完成账号注册与邮箱验证,进入控制台首页查看最新公告、服务说明和支持方式,确认使用规则后再开始接入。
在模型广场查看可用模型、分组倍率和计费说明,再根据 Codex、Claude Code、Cursor 或服务端应用选择对应文档。
建议按项目或工具单独创建 Key,先用低成本请求验证 Base URL、模型名称、流式输出、错误处理和余额扣费是否符合预期。
测试后查看调用记录、状态码、消耗明细和余额变化。确认链路稳定后,再逐步接入自动化脚本或生产环境。
Newbie Assistant
推荐先从 Codex 桌面端开始,只配置 URL、API Key 和模型名称,先跑通一次请求。
先安装 Codex 桌面端。如果你已有可用智能体,也可以让它协助完成配置。
Install Codex desktop first. If you already have an agent, ask it to help finish the setup.
注册并登录控制台,在 API Key 页面创建一个独立密钥,建议按工具或项目单独命名。
Register, log in, and create a separate API key in the console. Name it by tool or project.
Codex / OpenAI Compatible 场景通常使用 https://xxapi.cloud/v1;Claude 协议场景使用 https://xxapi.cloud/。Key 使用控制台生成的 sk- 密钥,模型先用 gpt-5.5 测试。
For Codex / OpenAI Compatible clients, use https://xxapi.cloud/v1. For Claude protocol clients, use https://xxapi.cloud/. Use your sk- key from the console and start with gpt-5.5.
保存配置后完全退出 Codex 再重新打开,发送一个简单问题,确认能正常返回。
After saving, fully quit and reopen Codex, then send a simple prompt to confirm it works.
401 通常检查 Key 和 URL;模型不可用时检查模型名称和权限;配置不生效时确认配置文件位置并完全重启客户端。
For 401, check key and URL. For unavailable models, check model name and access. If config does not apply, verify file location and restart the client.
仅为计费核算、服务稳定性、异常排查和风险控制记录必要调用信息,例如请求时间、模型名称、消耗、状态码和错误类型。
Only necessary call information is recorded for billing, stability, troubleshooting, and risk control, such as request time, model name, usage, status code, and error type.
用户提交的 prompt、输出内容和调用数据不会用于模型训练、数据转售、商业画像、广告投放或与 API 服务无关的用途。
User prompts, outputs, and call data are not used for model training, data resale, commercial profiling, advertising, or purposes unrelated to the API service.
请勿提交密码、私钥、身份证件、商业机密等高度敏感信息,除非你明确拥有合法授权且业务确有必要。
Do not submit passwords, private keys, identity documents, trade secrets, or other highly sensitive information unless you have proper authorization and a clear need.
重复充值、异常扣费、明确计费错误,或经核实的线路异常导致失败但已扣费,可提交核查。
Duplicate charges, abnormal charges, clear billing errors, or verified route failures that were charged can be submitted for review.
已实际消耗的额度、赠送额度、活动优惠、已开票金额或支付通道相关费用,通常不支持直接退款,具体以核查结果为准。
Consumed quota, gift balance, promotions, invoiced amounts, and payment-channel-related fees are usually not directly refundable, subject to review.
注册并登录后,请在控制台首页公告中查询支持方式,并提交订单信息、请求时间、模型名称和错误详情。
After signing up and logging in, check the console home announcements for support information, then provide order details, request time, model name, and error details.
Technical Docs
选择你要查看的接入文档,文档将在新页面打开。
Model Pricing
模型可用性、倍率、价格和线路状态以控制台模型广场展示为准。
不同模型、分组、倍率、缓存命中和固定费用会影响最终消耗。使用前请先在模型广场确认。
Models, groups, rates, cache behavior, and fixed fees may affect cost. Check the marketplace before use.
先小额测试,确认模型名称、输出质量、日志记录和余额变化,再进入正式任务。
Start with a small test, verify model name, output quality, logs, and balance changes before production tasks.
Policies
以下内容为公开摘要,完整条款以登录/注册页勾选确认的协议文档为准。
您需要对账号下的全部行为负责,包括 API Key 使用、请求内容、生成结果、账单消耗以及遵守适用法律和上游模型服务商政策。
You are responsible for all activity under your account, including API key usage, request content, generated outputs, billing, and compliance with applicable laws and provider policies.
如检测到滥用、安全风险、支付异常、政策违规或禁止用途,服务访问可能被暂停或终止。
Access may be suspended or terminated if abuse, security risks, payment issues, policy violations, or prohibited use are detected.
禁止用于违法、滥用、欺诈、恶意软件、钓鱼、垃圾信息、凭据窃取、非法监控、骚扰、冒充他人,或绕过安全与地区限制的行为。
Prohibited uses include illegal, abusive, fraudulent, malware, phishing, spam, credential theft, illegal surveillance, harassment, impersonation, and attempts to bypass safety or geographic restrictions.
AI 生成内容可能不准确或不完整,法律、医疗、金融等重要场景需要人工审核后再使用。
AI-generated outputs may be inaccurate or incomplete. Legal, medical, financial, and other important use cases require human review.
本服务不向位于中国大陆的用户开放,也不向受制裁、出口管制、上游服务限制或其他法律限制的地区开放。用户需要自行确认所在地允许使用本服务。
The service is not available to users located in mainland China or in jurisdictions subject to sanctions, export controls, provider restrictions, or other legal limitations. Users are responsible for ensuring use is permitted in their location.
可用范围可能因法律要求、上游服务政策、风险控制或业务决策发生变化。
Availability may change due to legal requirements, upstream provider policies, risk controls, or business decisions.
xXapi 是 API 网关和路由层,不拥有或控制全部底层模型。请求可能由第三方模型服务商处理,模型可用性、价格、速率限制、上下文长度、延迟和功能支持可能随模型和线路变化。
xXapi acts as an API gateway and routing layer. It does not own or control all underlying models. Requests may be processed by third-party providers, and availability, pricing, rate limits, context length, latency, and features may vary by model and route.
计费可能受到 Token 消耗、模型选择、缓存用量、路由配置和其他服务费用影响,实际以控制台展示和调用记录为准。
Billing may depend on token usage, model selection, cache usage, routing configuration, and other service fees. Console display and request records are the source of truth.
Creative Workbench
选择要打开的创作工具。工作台将在新页面打开,首页不会嵌入外部页面内容。