Docs›Codex
AI CodingConnect CLōD to Codex
Use OpenAI Codex via CLōD's unified endpoint — cheaper inference, same API.
Overview
OpenAI Codex is an AI coding assistant. By pointing it to CLōD's OpenAI-compatible endpoint, you get access to Codex and 50+ other models with up to 60% cheaper inference via energy-aware routing.
Prerequisites
- • CLōD account — free at app.clod.io
- • Codex installed
- • CLōD API key (Dashboard → API Keys → Generate)
Setup
Step 1: Get your CLōD API key
Sign in at app.clod.io → API Keys → Generate Key. Store it safely.
Step 2: Configure Codex
CLōD is OpenAI-compatible. Set your environment variables before running Codex:
export OPENAI_API_KEY="your_clod_api_key"
export OPENAI_BASE_URL="https://api.clod.io/v1"
Or pass them inline:
OPENAI_API_KEY=your_clod_api_key OPENAI_BASE_URL=https://api.clod.io/v1 codex
Step 3: Select a model
Browse available models at app.clod.io/auth/models.
Available Models
CLōD supports 50+ models. For agentic tools, use models that support tool calling / function calling.
Browse models →