Use your ChatGPT plan or an existing Codex CLI login to run Codex in T3 Code.
Connect during onboarding or in Settings → Providers (select your target environment first for remote machines). T3 Code manages the Codex runtime and signs you in via OpenAI.
- Manage shared usage and credits through Manage usage in T3 Code.
- Remote sign-in: If sign-in doesn't return automatically, paste the full
localhostredirect URL into the sign-in panel. - Speed options: Fast and Ultrafast speeds are not available through ChatGPT sharing—use an existing Codex login instead.
- Disconnecting stops running threads while preserving history.
Run codex login on the environment's machine, then add a Codex instance in Settings → Providers via Configure manually. See provider setup for installation details.
If provider status checks time out on a slower machine, set T3CODE_CODEX_PROBE_TIMEOUT_MS=60000 in the server environment and restart. See Provider check timeouts.
Add another ChatGPT account in Settings → Providers, or configure multiple CLI logins with a shadow home so work and personal accounts can continue the same threads:
mkdir -p ~/.codex_personal
CODEX_HOME=~/.codex_personal codex login| Instance | CODEX_HOME path | Shadow home path |
|---|---|---|
| Codex Work | ~/.codex |
(leave empty) |
| Codex Personal | ~/.codex |
~/.codex_personal |
- Both instances must share the same CODEX_HOME path. Keep the shadow directory fresh—don't copy your full Codex home into it.
- The shadow account needs file-based credential storage (
auth.json); see OpenAI's credential storage guide. - Use a separate CODEX_HOME path (no shadow home) if you want completely isolated sessions.
To switch accounts mid-thread, pick another compatible Codex instance sharing the same CODEX_HOME path from the model picker.
- Image generation: Supported when your Codex version, model, and account allow it. If disabled in Codex config, add
-c features.image_generation=trueto the instance's Launch arguments (applies to new sessions). - Async questions: Codex can ask a question while continuing to work; answer in the question panel (steers the active turn or starts a new one) or dismiss it without sending.
- App access approvals: Respond to external app access requests directly in chat (one-time, session, or permanent depending on the tool).
- MCP OAuth sign-in: Click Sign in on the thread notice, approve in your browser, and paste the final redirect URL into Finish sign-in (requires provider management permission).
- Daybreak: Models with cyber access programs show a Cyber Access option (
StandardorDaybreak, initialized fromdaybreak = trueinconfig.toml). - Usage limits: Limit stops display the exhausted window, reset time, and (on workspace plans) whether credits or spend limits need adjustment.
- Feedback to OpenAI: Send
/feedback <description>in an existing Codex thread to upload conversation and Codex logs to OpenAI.
Using your signed-in Chrome profile via OpenAI's Chrome extension requires a browser connection for the Codex thread. For remote environments, forward the remote page's port or use a reachable URL—T3 Code's built-in preview browser uses its own separate session.