---
title: "Codex"
description: "配置 Codex 鉴权模式、Responses 上游、推理强度与会话历史。"
version: "zh"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ochub.org/zh/llms.txt
> Use this file to discover all available pages before exploring further.

# Codex

Codex 同时使用 `config.toml` 和 `auth.json`。OcHub 把两者作为一套连接配置管理，但
不会把 API Key 伪装成官方账号登录。请选择下方的指南。

- **配置 Codex** — 选择鉴权模式、配置 Responses 上游，管理模型与推理强度、官方登录、历史记录、MCP 和技能。

[阅读指南](/zh/codex/configure)

- **Codex 进阶与易踩坑** — 使用原生 Fast 与 Ultra 启动 Codex，在使用模型供应商的同时保留 ChatGPT 登录，并理解压缩、
WebSocket 与本地会话历史。

[阅读指南](/zh/codex/advanced)

Source: https://docs.ochub.org/zh/codex/index.mdx
