ZyyandCodex 83bf9fafb3 feat(settings): move OpenAI request options into platform settings
Persist request country, OAuth review model, residency, and account routing
as one runtime settings object. Migrate existing country and review values,
and apply routing headers from request snapshots and background policies.

Combine country and routing controls in the OpenAI platform settings page.
Remove residency and account routing from deployment configuration.

BREAKING CHANGE: Settings API and SDK callers must use openaiRequestSettings.
Existing residency and account routing values in YAML must be saved through
platform settings because deployment configuration no longer supplies them.

Co-authored-by: Codex <noreply@openai.com>
2026-11-27 15:46:34 +08:00
2026-11-25 21:14:28 +08:00

Codex Proxy RS

Codex Proxy RS

面向 Codex 的自托管多账号 AI 网关

CI Release GHCR License: Apache 2.0

快速预览 · 快速开始 · 文档 · 社区 · 贡献者 · Star History · 支持项目 · 许可证

Note

支持 OpenAI(Codex)、xAI(Grok)和 Google Antigravity 账号,以及兼容 OpenAI Responses 或 Anthropic Messages 的 API Key 服务,详见账号接入

快速预览

登录信息 默认值
地址 https://codex-proxy-rs.ainz.cc
账号 admin@cpr.local
密码 039c18de2aeac46d23ead7766bb07bbbe3747233c66a128e

快速开始

在已安装 Docker Engine、Docker Compose Plugin、curl 和 OpenSSL 的 Linux amd64/arm64 主机上运行

curl -fsSL https://raw.githubusercontent.com/zyycn/codex-proxy-rs/main/deploy/install.sh -o install.sh && bash install.sh

安装脚本选项 · macOS 发行包 · Windows 安装 · 已有部署升级

文档

主题 文档
部署与使用 部署、备份与恢复 · 客户端接入
接口集成 API 参考 · 模型目录 · 模型定价
使用插件 安装、配置与使用
开发插件 SDK 与合同 · 打包工具 · 官方示例
开发共用组件 组件库说明 · 组件参考 · Playground
开发宿主 开发与源码联调 · 系统架构 · 管理端主题 · 数据库迁移
参与协作 贡献、审查与验证

社区

问题反馈与功能建议请使用 GitHub Issues,填写要求见 贡献说明

感谢 LINUX DO 社区提供开放、友善的技术交流平台

贡献者

查看 GitHub 贡献者列表

Star History

Codex Proxy RS 的 GitHub Star 增长趋势

支持项目

如果 Codex Proxy RS 帮助到你了,欢迎请我喝杯咖啡 ☕

Support me on Ko-fi

WeChat appreciation code  Alipay QR code

许可证

本项目基于 Apache License 2.0 开源

S
Description
基于 Rust 的低风控、高性能、自托管多账号透明代理网关
Readme Apache-2.0
51 MiB
Languages
Rust 90.4%
Vue 5.5%
TypeScript 3.4%
PLpgSQL 0.5%
Ruby 0.1%