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

# Codex CLI

> 配置 OpenAI Codex CLI 使用 EzTokens

Codex CLI 是开源的终端编码助手。配置其使用 EzTokens 作为模型后端。

## 配置

```bash theme={null}
export OPENAI_BASE_URL=https://api.eztokens.ai/v1
export OPENAI_API_KEY=$EZTOKENS_API_KEY
```
