Skip to main content
OpenAI Codex CLI works with abliteration.ai via the OpenAI-compatible endpoint.

Install

npm install -g @openai/codex

Configure

Codex reads OPENAI_BASE_URL and OPENAI_API_KEY:
export OPENAI_BASE_URL=https://api.abliteration.ai/v1
export OPENAI_API_KEY=$ABLIT_KEY

codex "refactor the tests in this repo"
  • abliterated-model — tuned for code edits
  • abliterated-model — larger context, slower

Notes

  • Policy rules attached to your API key apply to every Codex turn.
  • For headless / CI runs, use codex exec with --approval-mode auto.