OpenAI 是 Mirobody 海外集群 的默认 LLM 后端,覆盖 GPT-5 / GPT-4o / o-系列推理 / 嵌入。Documentation Index
Fetch the complete documentation index at: https://docs.mirobody.ai/llms.txt
Use this file to discover all available pages before exploring further.
官方资料:OpenAI Platform · 模型列表 · API Keys · Pricing
1. 注册并拿 Key
OpenAI Platform 注册
登录 platform.openai.com。组织(Organization)默认即可。
创建 Secret Key
在 API Keys 创建 secret key(
sk-...),仅显示一次,立即保存。2. 端点信息
| 项目 | 值 |
|---|---|
| Base URL | https://api.openai.com/v1 |
| 认证方式 | Authorization: Bearer sk-... |
| 区域 | 全球,按区域路由 |
| 兼容协议 | OpenAI 官方原生 |
3. 可调用模型
Mirobody provider | 底层 model id | 说明 |
|---|---|---|
general | gpt-5 / gpt-5-mini | GPT-5 系列,强通用 |
expert | gpt-5-pro 或 o3-pro | 深推理 |
| —(待 Mirobody 海外集群上线) | gpt-4o、gpt-4o-mini | 多模态(图像/语音) |
| — | o3 / o4-mini | 推理系列 |
| — | text-embedding-3-large / text-embedding-3-small | 嵌入 |
4. 在 Mirobody 请求中使用(海外集群)
自有 Base URL(Azure OpenAI / 自托管代理)
如果您使用 Azure OpenAI、自托管 LiteLLM 或其他兼容 OpenAI 协议的网关:https://api.openai.com/v1。
故障排查
invalid_api_key→ 检查sk-...是否被吊销,重新生成。insufficient_quota→ OpenAI 账户余额不足或超出月度限额。- 中国大陆请求超时 → 走不通;改用 DashScope / Volcengine。
- 区域受限 → OpenAI 部分模型对特定地区不可用(如 EU 某些预览版需 opt-in)。