EAIPS 中转代理网关

dp.eaips.net 是 Azure OpenAI 的中转代理服务器,用于统一管理和转发 Azure 模型 API 请求。

概述

EAIPS(dp.eaips.net)是一个自建的 Azure OpenAI API 中转代理网关。它作为中间层,将客户端请求转发到实际的 Azure OpenAI 端点,解决了 API Key 管理和端点迁移的灵活性问题。当原始 Azure 端点 Key 失效时,可以通过 EAIPS 中转使用新的统一密钥恢复服务。

关键点

  • 域名dp.eaips.net
  • API 路径/openai/v1(标准 OpenAI 兼容格式)和 /chat/completions(直接格式)
  • 密钥格式sk-fin...-001 等格式,不同 key 路由到不同的后端 Azure 资源
  • 命名规范:在 OpenClaw 中统一使用 eaips-{区域} 格式(如 eaips-swedeneaips-eastus2

技术细节

已配置的中转 Provider

Provider 名密钥模型数说明
eaips-swedensk-fin...-00119新增的中转 provider
eaips-eastus2另一个 key16原 liwei-eastus2 迁移

eaips-sweden 可用模型(19 个)

  • GPT 系列:gpt-5.4, gpt-5.3-codex, gpt-5.2-codex, gpt-5.2-chat, gpt-5.2, gpt-5.1-codex-max, gpt-4.1, gpt-4o
  • 音频/转写:gpt-4o-transcribe-diarize, gpt-4o-transcribe, gpt-4o-audio-preview, gpt-audio
  • 图像/视频:gpt-image-1.5, sora-2
  • 第三方:DeepSeek-V3-0324, DeepSeek-V3.1, DeepSeek-V3.2-Speciale
  • 搜索/嵌入:embed-v-4-0, Cohere-rerank-v4.0-pro

路径格式差异

不同 API Key 可能需要不同的路径格式:

  • sk-fin...-001/openai/v1
  • 其他 key → 可能需要 /chat/completions(不带 /openai/v1 前缀)

测试新 key 时需要逐一尝试不同路径格式。

配置方式

~/.openclaw/openclaw.jsonmodels.providers 中添加:

{
  "eaips-sweden": {
    "baseUrl": "https://dp.eaips.net/openai/v1",
    "apiKey": "sk-fin...-001",
    "models": ["gpt-5.4", "gpt-4.1", "..."]
  }
}

迁移案例

liwei-eastus2 → eaips-eastus2

  1. liwei-eastus2 直连 liwei-m6u2eooi-eastus2.openai.azure.com/openai/v1 的 Key 失效(401)
  2. 将 baseUrl 改为 dp.eaips.net/openai/v1,使用 EAIPS 中转密钥
  3. 后端配置路由后恢复可用
  4. 重命名 liwei-eastus2eaips-eastus2,统一命名规范

相关页面