Codexia is a Windows desktop app for using ChatGPT subscription accounts and third-party model channels from Codex in one place.
- Turn ChatGPT subscription accounts into a local API service.
- Connect third-party models through Responses API channels.
- Switch easily between subscription and third-party models from the Codex model picker.
- Integrate and manage an optional MCP service from the same desktop app.
- Quickly view and use available Bank Reset cards for subscription accounts.
- Estimate request costs from each model's input, cached-input, and output prices.
- Open
Codexia.exe. - Add a ChatGPT subscription account, a model channel, or both.
- Open Integration Mode and apply API mode.
- Start the API service from Services.
- Return to Codex and select a model.
API mode makes subscription and third-party models available together. Account mode connects Codex directly to one selected subscription account.
Sign in through the browser or import the account currently used by Codex. You can view quota and reset-credit status, refresh an account, enable or disable it, use an available reset credit, or remove the account.
Each Responses API channel supports the following settings:
- Channel name, API address, API key, and enabled state.
- Provider-supplied Codex
models.json; model IDs must be unique across channels. - WebSocket support. Leave it off when the provider supports HTTP only.
- Remote compaction adaptation. Keep it enabled unless the provider explicitly supports native Codex compaction.
- Optional balance lookup, public or encrypted request headers, and per-model input, cached-input, and output prices.
You can inspect the imported model catalog and test a channel before using it in Codex.
The Integration Mode page applies either API or account mode to Codex. API mode also lets you choose the recommended Base URL configuration or a custom Provider configuration before applying it.
The Services page starts, stops, and restarts the local API service and the optional MCP service powered by mcp-gateway-service. Configure the MCP service file path and address before starting it.
| Area | Available settings |
|---|---|
| General | Launch with Windows, window-close behavior, theme, and interface density. |
| API service | Listening address, port, access key, and automatic service start. |
| MCP service | Installation notice, automatic start, configuration file path, host, port, and HTTP path. |
| Accounts and quotas | Refresh interval, refresh timeout, account-selection policy, quota cooldown, quota display, and an optional third-party fallback model for auto review. |
| Logs and billing | Request-log retention, runtime-log retention, and billing currency. |
| Storage | Current data location and controls for clearing request or runtime logs. |
| Advanced network | Connection and idle timeouts, request timeout, shutdown grace period, HTTP and WebSocket limits, payload and buffer limits, and automatic HTTP fallback for HTTP-only models. Defaults are suitable for normal use. |
Some service settings take effect after the corresponding service is restarted.
Packaged application data is stored in data/ beside the app. Back up this directory before moving or replacing the application. Do not share it because it contains account and channel configuration.
This project is intended for personal local use. Use your own accounts and API keys, and follow each provider's terms.
Node.js 24 or newer is required.
npm install
npm run dev
npm run verifyCreate the Windows unpacked build with:
npm run pack:unpackedThe output is release/win-unpacked/Codexia.exe. It is not code-signed and does not include an installer.
MIT. See LICENSE.
