> For the complete documentation index, see [llms.txt](https://docs.xxooapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xxooapi.com/xxooapi-wen-dang.md).

# xxooAPI 文档

xxooAPI 中转服务使用指南 —— Claude Code / Codex / Cursor 零门槛接入

## xxooAPI 使用指南

欢迎使用 xxooAPI —— Claude Code 超强平替，稳定、实惠、开箱即用的 AI API 中转服务。

无论你是刚接触终端 AI 工具的新手，还是已经在用 Claude Code / Codex 的开发者，本文档都会带你一步一步从注册走到能正常使用。

## 什么是 xxooAPI

xxooAPI 把 **Claude Code、OpenAI Codex、Cursor、VS Code (Continue / Cline)、JetBrains、Gemini CLI** 等主流 AI 编码工具接入同一条稳定线路，提供统一的配置方式、透明计费与使用体验。

* **统一中转**：一个 API 地址 `https://www.xxooapi.com`，同时支持全部主流工具
* **无需梯子**：国内直连，企业级服务器集群转发
* **透明计费**：1 RMB = 1 USD 额度，约官方 1.4 折
* **账号安全**：封号风险由 xxooAPI 承担，6 条独立上游线路毫秒级故障切换
* **多平台**：Windows / macOS / Linux 全覆盖

## 文档导航

按以下顺序阅读，适合零基础用户完整跑通：

1. [**新手入门**](/xin-shou-ru-men-xxooapi.md) —— 什么是 Claude Code、Codex、终端、API，为什么需要 xxooAPI
2. [**注册与充值**](/zhu-ce-yu-chong-zhi.md) —— 注册账号、套餐选择、创建 API Key
3. [**安装配置**](/an-zhuang-pei-zhi.md) —— CC Switch + Node.js + Claude Code / Codex 一站式安装
4. [**入门使用手册**](/ru-men-shi-yong-shou-ce.md) —— 第一次启动、切换模型、整理对话、看 Token 明细
5. [**故障排查**](/gu-zhang-pai-cha.md) —— 用豆包/AI 一步步排查代理、权限、网络报错
6. [**常见问题**](/chang-jian-wen-ti.md) —— 计费、退款、稳定性、企业服务

## 快速开始（已有基础）

如果你熟悉终端工具，直接：

1. 前往 <https://xxooapi.com/login> 注册并充值
2. 在 [API 密钥](https://xxooapi.com/console/token) 页面创建 Key
3. 将 Base URL 配置为 `https://www.xxooapi.com`，密钥贴入工具配置
4. 开始使用

遇到问题？先翻 [故障排查](/gu-zhang-pai-cha.md)，再翻 [FAQ](/chang-jian-wen-ti.md)，仍未解决请发邮件到 <support@xxooapi.com>。

[新手入门\ \ 如果你是第一次接触 Claude Code、Codex、终端 AI 工具，从这里开始](/xin-shou-ru-men-xxooapi.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.xxooapi.com/xxooapi-wen-dang.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
