Original Reddit post

https://preview.redd.it/qxhelzxxk98h1.png?width=1024&format=png&auto=webp&s=5068c62f2983ce3a2d67e467dc91659be9c9a16c Why? I got tired of running out of usage with my favorite coding tools, Claude Code and Codex App (each has its own advantages imho). I also wanted to use other subscriptions I have, for example, OpenCode Go and xAI (via OAuth for X Premium subs). I also wanted to use a free model when possible, either from OpenRouter, NVIDIA NIM, or even OpenCode Zen, and, of course, local models from Ollama/LM Studio. So I created ‘relay-ai’. It’s a small CLI that sits between your AI coding tools and whatever provider you actually want to use. You run relay-ai claude, pick your provider, pick your model, and it handles the rest. No editing settings files, no conflicting env vars, no complex CLI flags. Everything is wizard-based. Here’s what it actually does: Connects Claude Code, Claude Desktop, and the Codex CLI to providers like Groq, Mistral, DeepSeek, OpenRouter, Nvidia, or any OpenAI/Anthropic-compatible endpoint you configure Local model support via Ollama or LM Studio Use Codex App features such as Remote Control with any model Runs a local proxy that translates formats so Claude Code always speaks Anthropic protocol, even when the backend isn’t Anthropic Lets you save favorite models and switch between them mid-session with Claude Code’s /model command (up to 20 favorites) - session context preserved fully Stores your API keys in the OS keychain (macOS Keychain, Windows Credential Manager, Linux Secret Service), not in plaintext config files Also supports Google Vertex AI via gcloud credentials and OpenCode Zen/Go if you have an OpenCode key Built for agents: it has built-in Skill (–ai flag) to allow agents to use the claude -p or codex exec commands with any model for certain actions It’s cross-platform, (should) work on macOS, Windows, and Linux. I tested mostly on Mac OS. Install it with: npm update -g @jacobbd/relay-ai Then run relay-ai providers add to configure your first provider and relay-ai claude to launch. Source and docs are on GitHub. Happy to answer questions. https://github.com/jacob-bd/relay-ai submitted by /u/KobyStam

Originally posted by u/KobyStam on r/ArtificialInteligence