Saurlax AI 上手指南

Jun 06, 2026 · 554 字

目前 Saurlax AI 提供各种免费模型和限量的 GPT 系列模型。大部分模型使用正常的 /v1/chat/completions 接口调用即可。GPT 系列模型需要使用 v1/responses 接口调用,且仅限在 Codex APP/CLI/插件内使用。

配置 Codex

首先打开用户目录(如 Windows 为 C:\Users\<username>),找到或新建 .codex 文件夹,在其中创建 config.toml 文件,内容如下:

model_provider = "custom"
model = "gpt-5.4"
model_reasoning_effort = "medium"

[model_providers.custom]
name = "custom"
wire_api = "responses"
requires_openai_auth = true
base_url = "https://ai.saurlax.com/v1"

然后创建 auth.json 文件,内容如下:

{
  "OPENAI_API_KEY": "your_saurlax_ai_api_key"
}

粤ICP备2025414119号 粤公网安备44030002006951号

© 2026 Saurlax · Powered by Astro