codex2api is an API proxy server for the Codex Responses API.
It accepts multiple client API formats and forwards requests through a unified Codex-compatible backend.
- OpenAI Chat Completions
- OpenAI Responses
- Anthropic Messages
- Gemini
- Account pool management
- Automatic token refresh
- SSE streaming support
- Abuse detection pipeline
- Admin panel
- Copy
config-server.example.jsontoconfig-server.json. - Fill in your real credentials and runtime settings.
- Start the server:
node server.mjsAGPL-3.0