API Key

创建 Key,开始调用。

新 Key 创建后立刻可用。同一个 Key 通用于 Claude Code、Codex CLI、SDK 和 curl。 需要环境变量或示例时,直接查看 接入文档

创建新的 API Key

只需要 Key 名称即可。若不填额度,默认先给一个可用初始值。

Quick Start

Key 创建后立刻可用

export OPENAI_BASE_URL=https://trustapi.app/api/v1
export OPENAI_API_KEY=sk-trustapi-xxx

curl https://trustapi.app/api/v1/chat/completions \
  -H "Authorization: Bearer sk-trustapi-xxx" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-5.4","messages":[{"role":"user","content":"ping"}]}'

现有 Key

已创建的 Key

第 1 页
名称 状态 模型组 Key 额度 创建时间 动作
--