sequeira33 shared this post · Aug 10
ZeroTokensAI

Codex + OmniRoute = FREE Unlimited AI Tokens (Setup in 7 Minutes)

Stop burning credits in Codex CLI. In this video I connect OpenAI Codex to OmniRoute — a free, open-source, MIT-licensed local AI gateway that pools 290+ providers and 90+ free tiers behind one endpoint — and get it running end to end in about 7 minutes.

OmniRoute runs on your own machine (localhost:20128), auto-falls back when a provider hits its quota, and stacks RTK + Caveman compression to cut token usage dramatically. Point Codex at one base URL and you get Claude, GPT, Gemini, Kimi, GLM, DeepSeek and hundreds more through a single config.

⚠️ Honest disclaimer: "unlimited" is shorthand for pooled free tiers (~1.4–1.5B tokens/month by OmniRoute's own pool-deduped count), not infinite tokens. Some providers restrict gateway use in their terms — check each provider's ToS before you route production work through it. This is an educational walkthrough of an open-source tool, not a way to bypass anyone's billing.

⏱️ CHAPTERS 00:00 — Why Codex eats your credits 00:45 — What OmniRoute actually is (290 providers, one endpoint) 01:30 — Install: npm i -g omniroute 02:20 — First run + the dashboard tour 03:10 — Connecting your first FREE providers 04:15 — Pointing Codex CLI at OmniRoute (config.toml) 05:20 — Testing it: model "auto" and auto-fallback in action 06:10 — Combos, routing strategies & token compression 06:50 — Costs, limits and what to watch out for

🔗 LINKS OmniRoute (GitHub): https://github.com/diegosouzapw/OmniRoute OmniRoute site: https://omniroute.online OpenAI Codex CLI: https://github.com/openai/codex

💬 Which provider combo are you running? Drop it in the comments — I'm collecting the best free-tier stacks for a follow-up video.

👍 Like + subscribe for more AI coding workflow videos.

#Codex #OmniRoute #AICoding #OpenSource #DeveloperTools

1.5K