#66 · Primary category: AI Gateway & API Infrastructure

codex2api

2api codex

Codex2API 是一个基于 Go + Gin + React/Vite 的 Codex 反向代理与管理后台项目

Project last updated:08/28/26

GitHub Stars

2.0K

Forks

352

Contributors

47

License

Other

Why we included this project

Codex2API pools several Codex accounts behind one OpenAI-compatible API. It manages refresh and access tokens, scores each account by health, and routes requests to the healthiest ones, skipping accounts that are rate-limited or degraded. The service exposes chat completions, responses, messages, and image endpoints, so existing OpenAI SDK clients or tools like Claude Code can point at one base URL. A React dashboard covers account management, API keys, proxy pools, prompt filtering, and usage tracking, which gives small teams a clear view of how their Codex capacity is being used. You can run it as a full PostgreSQL and Redis stack in production, or as a single container with SQLite and in-memory caching for lighter setups.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category