Verified 2026-11-18 · rates follow the live catalog

Use Codex CLI with Openference — setup guide

Configure OpenAI Codex CLI to route through Openference. Responses API support, curated open models, and automatic failover built in.

Setup

  1. Create an API key in the dashboard.
  2. Set the base URL to https://api.openference.com/v1 for OpenAI-format clients, or https://api.openference.com for Anthropic-format clients.
  3. Set the key as your bearer token or ANTHROPIC_AUTH_TOKEN.
  4. Pick a model id from the list below.

Model ids worth starting with

The full catalog has live rates for every model, and pricing explains how plans and credits interact.

Model catalog · Pricing · Comparisons · Cost guides · Integration guides · FAQ
Guides: GLM coding plan alternative · Free AI API · LLM gateway · LLM proxy · Cheap AI API · OpenAI-compatible API
Model APIs: GLM API · DeepSeek API · Kimi API · Qwen API · MiniMax API