[LIVE] [sstpnk/codex-router] 1 endpoint(s)
ChatGPT
API Proxy/ChatGPT
2,121 characters
Status: [LIVE]
Endpoints found:
https://chatgpt.com/backend-api/codex`
Source: https://github.com/sstpnk/codex-router
# codex-router-proxy
Use **any OpenAI-compatible model endpoint** inside the Codex App and CLI.
`codex-router-proxy` is a small local proxy that speaks the **Responses API**
to Codex and translates every turn into plain **Chat Completions** calls against
an upstream you choose — your own self-hosted LLM, a company gateway, or any
provider that exposes `/v1/chat/completions`. One tiny Node.js process, zero
npm dependencies, no Python, no background service machinery.
It grew out of a need the upstream project answers with heavy machinery:
*"I just want my Codex to talk to my own endpoint."* If you want the full
multi-provider router — curated catalogs, OAuth routes, tray apps, quota cards —
use [duolahypercho/codex-router](https://github.com/duolahypercho/codex-router).
This repository is the distilled single-endpoint core of that idea.
> This is an independent community project. It is not affiliated with or
> endorsed by OpenAI, Anthropic, Moonshot AI, or any model provider.
---
## Contents
- [How it works](#how-it-works)
- [Requirements](#requirements)
- [Quick start](#quick-start)
- [Configuration](#configuration)
- [Images: the four vision modes](#images-the-four-vision-modes)
- [Request lifecycle](#request-lifecycle)
- [What the proxy guarantees](#what-the-proxy-guarantees)
- [Security model](#security-model)
- [Environment variables](#environment-variables)
- [Project structure](#project-structure)
- [Troubleshooting](#troubleshooting)
- [Credits](#credits)
---
## How it works
Codex always talks to what it believes is an OpenAI Responses API. The proxy
listens on loopback, accepts that traffic behind a secret capability path,
translates it to Chat Completions for your upstream, and translates the
response — including the full SSE token stream — back into Responses events
Codex understands.
```
┌─────────┐ Responses API ┌───────────────────────────────