> ## Documentation Index
> Fetch the complete documentation index at: https://docs.poixe.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 接口地址（Base URL）

Poixe AI 提供 **主接口** 与 **副接口** 两类 Base URL。它们的容量差异不大，主要区别在于 **高可用性 / 是否经过 CDN / 超时限制**。

> **什么是高可用（High Availability）？**\
> 高可用指的是：当某条线路、某台服务器或某个节点出现故障时，服务仍能通过自动切换/冗余继续提供访问，尽量减少不可用时间。

## 主接口（推荐）

用于大多数场景：更稳定、更适合生产环境。

**Base URL：**

```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
https://api.poixe.com/
```

**特点**

* **高可用**（面向生产使用）
* 接入 **Cloudflare CDN**（更稳定的全球访问与防护能力）

**限制**

* 存在 **120 秒强制超时**（由 Cloudflare CDN 产生）

* 当你的请求可能超过 120 秒（例如超长输出、慢工具链、长时间流式等），建议改用副接口。

## 副接口（无 CDN，长连接更友好）

当你需要更长的请求时长（例如长时间流式、复杂任务）可使用副接口。

**Base URL（可直接复制）：**

```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
https://api-eu-central-1-dc8.poixe.com
```

```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
https://api-eu-central-1-dc15.poixe.com
```

**特点**

* **没有 120 秒强制超时**（不经过 CDN）
* 理论请求超时上限约 **600 秒**（以客户端/网络环境为准）

**限制**

* **非高可用**：单点接口，偶发不可达时需要你在客户端自行切换到另一个副接口。

## 选择建议

* **默认使用主接口**：更稳、更适合生产环境。
* 如果你明确遇到 **120 秒超时** 或需要更长时长：改用 **副接口**，并在客户端实现 **备用切换**（dc8 / dc15 互切）。

## 常见注意事项

* Base URL 只需要配置到你所使用协议的请求地址中；不同协议只影响 **鉴权字段与请求结构**，不影响这里的域名选择。
* 建议在配置时保留末尾 `/` 的一致性（尤其是主接口）。
