OpenOx / Tutorials
All tutorialsAPI keys
Tutorials/Codex/macOS
Codex/macOS/2 min read

Codex desktop

Set up the desktop app on your Mac with CC Switch.

Manual configuration on macOS

Back up ~/.codex/config.toml, then merge this provider configuration without deleting unrelated settings. Select an exact GPT model enabled for your OpenOx key. Use the app's API-key sign-in on your own computer; do not put a real key in this file, screenshots or a prompt. CC Switch is an optional way to manage the same local configuration.

model_provider = "openox"
model = "gpt-5.6-sol"

[model_providers.openox]
name = "OpenOx"
base_url = "https://api.openoxai.com/v1"
wire_api = "responses"
requires_openai_auth = true

Restart Codex, send a short prompt and verify a model reply and the corresponding OpenOx Usage entry. Opening the app alone does not prove that the connection works.

Codex Desktop API Integration Tutorial: Mac
enter openoxai.com register and log in

Codex desktop setup screenshot
Codex desktop setup screenshot


1. Prerequisites
Before you begin, prepare the following:
1Codex desktop app installed
2An OpenOx account
3An OpenOx API key:

An OpenOx API key generally looks like:
YOUR_OPENOX_API_KEY
2. Downloading the Codex Desktop App
Steps:
Download the macOS app from the official OpenAI Codex page: https://openai.com/codex/
macOS download

Choose the macOS build offered on the official page above.(532.2 MB)


3. Open the Codex Desktop App
After installation, open the Codex desktop app.
On first launch, you will usually see the login page. There are two common sign-in methods:
1Sign in with a ChatGPT account
2Sign in with an API key
Select:
Sign in with API key
Then enter the OpenOx API key you created.

Note:
●Do not include spaces when copying the API key
●Do not copy line breaks
●If pasting causes an error, first check for spaces before or after the key
●If you previously signed in with a personal ChatGPT account, sign out first
4. If a personal account is already signed in
If you have already logged into a ChatGPT account on Codex, please log out first, then sign in again using an API key.
Steps:

1Open the Codex desktop app
2Click the avatar or account area in the lower-left corner
3Click:
Sign out
4Return to the sign-in page
5Select:
API Key
6Enter the OpenOx API key provided by OpenOx
If it is your first time using Codex, there is no need to sign out. Simply select Sign in with API key.
5. Configure the OpenOx API endpoint
Edit the configuration file (Method 2)
Optional: configure the API endpoint manually in Codex settings.
Do not use a Windows package on macOS.

For optional profile management, use a macOS release from the CC Switch project.

(10.6 MB)

If this guide helped, please leave a like.
Codex desktop setup screenshot
Codex desktop setup screenshot
Codex desktop setup screenshot
Codex desktop setup screenshot
Codex desktop setup screenshot
Codex desktop setup screenshot
Codex desktop setup screenshot
Codex desktop setup screenshot
Codex desktop setup screenshot
Codex desktop setup screenshot
Codex desktop setup screenshot
Codex desktop setup screenshot
Codex desktop setup screenshot
Codex desktop setup screenshot
Codex desktop setup screenshot
Codex desktop setup screenshot
Browse all tutorials