PandelisZ / grok-bypass
PublicRun Grok CLI against OpenAI GPT-5.5 via supported custom provider config
This project shows how to use Grok's command-line interface with OpenAI-compatible AI services instead of Grok's default backend. It provides two ways to connect: directly to OpenAI using an API key, or through a local bridge that uses the Codex CLI's authentication to access ChatGPT's AI models. The setup creates a separate configuration for Grok so it doesn't mix with any existing Grok login state, and the bridge acts as a local translator between Grok and the chosen AI service.
How It Works
You've seen Grok's text-based assistant and like how it looks, but you prefer using OpenAI's models or already have Codex access.
Someone shared a project that explains how to run Grok's interface with your preferred AI model instead of Grok's default.
You pick either OpenAI directly (if you have an API key) or the Codex bridge (if you use the Codex CLI), and follow the simple setup steps.
Point Grok at OpenAI's service using your existing API key
Start a local helper that uses your Codex login to connect to ChatGPT
With everything configured, you run a simple command and Grok starts up connected to your chosen AI service.
Grok's clean interface now works with OpenAI's models or your Codex access, exactly as if you were using a native OpenAI tool.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.