> For AI agents: the complete documentation index is available at https://docs.reelway.ai/llms.txt, the full documentation bundle is available at https://docs.reelway.ai/llms-full.txt.

# Open WebUI

[Open WebUI](https://github.com/open-webui/open-webui) 支持「OpenAI 兼容连接」:把 Reelway 推理面挂为后端即可在 Open WebUI 中使用 Reelway 的 LLM。

## 配置

只需两个值:

| 项          | 值                                                                      |
| ---------- | ---------------------------------------------------------------------- |
| API 端点 URL | `https://api.reelway.ai/v1`                                            |
| API 密钥     | 你的 Reelway API Key([控制台创建](https://dashboard.reelway.ai/console/keys)) |

在 Open WebUI 的 **设置 → 外部连接(OpenAI API)** 中填入以上两项并保存;模型列表会自动拉取(对应 `GET /v1/models`)。界面名称与入口随 Open WebUI 版本略有差异,以你的版本为准。

## 验证

回到对话页,选择拉取到的模型发送一条消息;失败时先在 Open WebUI 的连接测试或用 curl 验证:

```bash
curl https://api.reelway.ai/v1/chat/completions \
  -H "Authorization: Bearer $REELWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"qwen3.6-35b-a3b-gguf-iq4xs","messages":[{"role":"user","content":"ping"}]}'
```

## 注意

- 计费走你的 Reelway 余额;为 Open WebUI 服务端使用独立 [API Key](https://docs.reelway.ai/api-reference/api-keys.md) 便于限额与审计。
- 嵌入(embedding)等其他能力不在 Reelway 推理面范围内,请保留 Open WebUI 原有配置。
