you can run Grok 4.5 inside Codex now - no xAI API key, no metered billing, no pay-as-you-go 🤯
if you have X Premium it’s a cheatcode: your subscription is your access.
the mechanism: opencodex is a tiny local proxy that translates Codex’s Responses API into whatever your model speaks. You OAuth into xAI with your X account and it routes Grok straight through Codex.
the subscription you already pay for becomes the credential.
how to set up (3 min):
- install bun, then: npm install -g @bitkyc08/opencodex
- ocx login xai - sign in with your X account, OAuth handles the rest
- ocx init to inject into Codex, then ocx start
- run it: codex -m “xai/grok-4.5” “your prompt”
that’s the full setup.
and the timing’s perfect: Grok 4.5 just got a lot better.
Video