---
title: "Codex"
description: "Configure Codex authentication modes, Responses upstreams, reasoning, and session history."
version: "en"
---

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

# Codex

Codex uses both `config.toml` and `auth.json`. OcHub manages them as one
connection without pretending that an API key is an official login. Choose a
guide below.

- **Configure Codex** — Choose an authentication mode, configure a Responses upstream, manage models
and reasoning, official login, history, MCP, and skills.

[Read the guide](/codex/configure)

- **Advanced Codex pitfalls** — Launch Codex with native Fast and Ultra, keep ChatGPT login while using a model
provider, and understand compaction, WebSocket, and local session history.

[Read the guide](/codex/advanced)

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