relay-ai lets Codex use many models with less setup work

relay-ai is a routing tool for using different AI models and accounts with Codex Desktop, Codex CLI, and Claude Code. It can connect s, xAI or OpenAI OAuth , Gemini, and local models. Users do not need to manually edit settings files or fix conflicting .

The new update lets SuperGrok and ChatGPT Plus OAuth run at the same time as normal API keys. The sign-in flow opens automatically in the default browser. Its proxy catches Codex Desktop background requests that still point to fixed OpenAI model names and sends them to the currently active model instead, which helps prevent session crashes.

It also writes sizes and compaction limits into the config so Codex Desktop can start auto-compaction before it hits a hard limit.

Key points

  • Codex Desktop, Codex CLI, and Claude Code can use several s through one routing layer.
  • API keys, xAI/OpenAI OAuth , Gemini, and local models can be connected together.
  • Manual settings-file edits and environment-variable conflicts are reduced.
  • A proxy redirects fixed OpenAI model calls to the active model to reduce crashes.
  • s are written into config so auto-compaction can start before hard limits are reached.
Read original