Codex CLI

Codex CLI works with the platform key through the OpenAI-compatible endpoint.

One-click setup with our desktop client
Download the XycAi client to install and configure everything automatically — no manual steps needed.
Set up now →

1. Install

npm install -g @openai/codex

2. Configure

export OPENAI_BASE_URL="https://apicdn.xyc.ai/v1"
export OPENAI_API_KEY="your-api-key"

3. Use

codex

Tips