james-6-23

    james-6-23/codex2api

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

    frontend
    2api
    codex
    Go
    2.3K stars
    429 forks
    2.3K GitHub watchers
    Updated Oct 27, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest today, with 49 contributors on GitHub.

    Use Cases & Benefits

    • Provides a long-running Codex API gateway with a unified OpenAI/Anthropic-compatible interface and a React/Vite admin dashboard for managing token pools and API operations.
    • Offers dynamic account scheduling, health scoring, rate-limit recovery, and usage tracking to optimize API key utilization and maintain high availability.
    • Use for deploying a scalable AI model gateway that manages multiple OpenAI and Anthropic API tokens with automatic failover and concurrency control.
    • Use for teams needing a centralized admin console to monitor usage, manage API keys, proxies, and prompt filtering with integrated image and video generation workflows.
    • Use for lightweight single-node deployments with SQLite and in-memory cache or full production stacks using PostgreSQL and Redis, supporting Docker and local development.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    No license detected

    No license file detected by GitHub: unless the project grants one elsewhere, the default is all rights reserved.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    • Warning: No license file detected by GitHub: unless the project grants one elsewhere, you generally have no permission to use, modify or distribute the code.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Turn a Codex account pool into an observable, schedulable, operations-ready OpenAI / Anthropic compatible gateway. Codex2API is not a thin forwarding proxy. It is a long-running Codex access hub: it exposes /v1/chat/completions, /v1/responses, /v1/messages, Images, Videos (Grok Imagine), and Models endpoints while managing Refresh Token / Access Token accounts, health scoring, dynamic concurrency, rate-limit recovery, usage tracking, and admin operations behind the scenes.

    Run it as a full PostgreSQL + Redis production stack or as a single-container SQLite + in-memory cache deployment. Point Codex CLI, Claude Code, the OpenAI SDK, or any compatible client at one Base URL, then manage accounts, proxies, API keys, prompt filtering, image workflows, and runtime settings from the built-in dashboard.

    The demo is only for trying the admin dashboard and basic UI flows. Do not upload real Refresh Tokens, Access Tokens, API keys, or any other sensitive data.

    Screenshots use demo data. The actual dashboard depends on your account pool, request logs, and runtime environment.

    Excerpt from the james-6-23/codex2api README on GitHub. © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Sep 7: +2Sep 13: +5

    +289 stars over 52 days across 7 snapshot days; best day +5 on Sep 13.

    Forks

    429+71

    Open issues

    53+23

    Compared with peers in Frontend

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    james-6-23/codex2api compared with Frontend repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    Leonxlnx/taste-skill110.7K+5.2K551 day ago
    heygen-com/hyperframes79.6K+4.1K45today
    DuarteSantos8/openGym19.7K+2.4K602 days ago
    remotion-dev/remotion71.1K+2.2K45today
    chthollyphile/folia-major11.7K+1.5K40today
    james-6-23/codex2api2.3K—40today
    Category median71.1K+2.4K45—

    Discover Repositories

    Search across tracked repositories by name or description