@VincentLogic: Codex 接第三方模型。最省事的配法:让 Codex 自己配自己。 跟它说一句"读一下 ~/.codex/config.toml,帮我加一个 DeepSeek 的自定义模型,别覆盖已有配置,API Key 从环境变量读"。它自己改完配置…
摘要
Codex can self-configure to integrate third-party models like DeepSeek and Ollama by reading and modifying its config file automatically.
查看缓存全文
缓存时间: 2026/06/22 11:43
Codex 接第三方模型。最省事的配法:让 Codex 自己配自己。
跟它说一句“读一下 ~/.codex/config.toml,帮我加一个 DeepSeek 的自定义模型,别覆盖已有配置,API Key 从环境变量读“。它自己改完配置文件自己检查语法,你什么都不用动。
本地 Ollama 也一样,一句话就接上了。配完之后下拉菜单切模型,小活用便宜的,大活切回 GPT。
相似文章
@Vinkyu567: https://x.com/Vinkyu567/status/2085693615150674221
本文介绍如何通过CC Switch将DeepSeek接入Codex,以便在Codex中使用DeepSeek的模型,同时保留Codex的插件和技能。
@DivyanshT91162: 有人开发了一个工具,将Kimi K3和DeepSeek直接放入Codex的模型选择器中。无需替换API,无需丢失你的…
Codex Router 是一个免费的开源工具,可将 Kimi K3 和 DeepSeek 模型添加到 Codex 的模型选择器中,而无需替换现有的 GPT 模型或配置。
@interjc: codex 官方支持接入第三方开源大模型了
Codex now supports integration with third-party open-source large language models via its App, CLI, and SDK, not just OpenAI models.
@anxue201: https://x.com/anxue201/status/2067477109816050119
一篇详细的配置指南,教用户如何通过开源代理工具CC Switch将OpenAI Codex接入DeepSeek等第三方模型,解决协议不兼容问题。
@touxnplayai: https://x.com/touxnplayai/status/2068596799888388373
This tutorial explains how to install Codex++ and configure a DeepSeek API key to unlock the full features of Codex AI tool in China, bypassing the need for a ChatGPT account or subscription.