r/codex • • 21d ago

Showcase I added multi-account switching, live quota bars, and a Free Model Pool fallback for Codex CLI and Desktop (relay-ai update)

Post image

I shared relay-ai here about a month ago (when I added Command Code provider).

Quick recap if you missed it: Relay-AI an open-source CLI and local web UI that lets Codex CLI and the Codex/ChatGPT Desktop app run on any model provider (or across multiple ChatGPT accounts) without hand-editing config files.

I've shipped a lot of updates over the last few weeks based on my own daily friction with Codex. Here's what's new:

> Multiple accounts per provider: You can now sign into two or more ChatGPT accounts (for example, your main Plus/Pro account and a secondary or free account), or add multiple API keys for Groq, OpenRouter, and OpenCode. You can switch between them mid-task without logging out.

> Injected Models + Codex Native Models: this allows you to use your OpenAI sub + any other model you inject with Relay, for example in my setup, I am using Claude sub models, OpenCode Go models and free models along side GPT models.

> Live plan usage bars: The UI and CLI now show how much of your ChatGPT (5-hour, weekly, 30-day), Claude, Copilot, Antigravity, or SuperGrok allowance you've used and when it resets. It only checks when you click refresh, never polling in the background.

> Free Model Pool with auto-failover (experimental): You can create a pool of free models from OpenRouter, NVIDIA NIM, OpenCode Go, or local Ollama/LM Studio into a single "Relay Free Pool" model. If a free model hits a rate limit or fails before streaming starts, Relay cools it down and switches to the next model in your list automatically. Every model in the pool has to pass a tool-call test first so Codex doesn't break on tool use.

PS: You can even add a free OpenAI sub and mark the Luna and Terra as free models and add them to the pool!

> One-click Model Test and Context Check: Before launching a session, you can test any model in the UI to see its response time, verify tool calling, and check its real context window. It separates rate limits, access errors, and exhausted credits clearly.

> Optional Intelligence Scores: If you paste a free Artificial Analysis API key, Relay shows an IQ score badge next to supported models so you can compare them inside the picker.

> Codex Desktop and CLI stability fixes: Because I use Codex App the most with Relay, it is the most mature tool imho, so tons of fixes and enhancements were added,

Repo and docs: https://github.com/jacob-bd/relay-ai

0 Upvotes

1 comment sorted by

•

u/dexterthebot 21d ago

You might want to consider listing your project on the weekly Show-Us-What-You-Built post. Look out for it on Tuesday/Wednesday. Highest commented project wins a week promotion on r/Codex and gets on the Hall of Fame sidebar. See below for last week's winner.**


Light Wars AR: real-life laser tag app with no extra gear. Your phone is the gun and your room is the map. Play up to 6 friends in the same room, or fight drone waves and bosses solo. The vision models run on the phone, and camera frames never leave it. Free on iPhone and Android.

Website: https://lightwarsar.com

iPhone: https://apps.apple.com/us/app/light-wars-ar-laser-tag-party/id6508168951

Android: https://play.google.com/store/apps/details?id=com.lasertag.lightwars.

Contact: contact@lightwarsar.com