Codex desktop app

The Codex desktop app is OpenAI’s AI coding tool. It lets you explore code, edit files, and work on project tasks through conversation in a graphical interface.

Install the Codex desktop app

Already installed? Skip to Connection settings. For manual setup, preserve the file's other settings and merge only the required fields.

Install the Codex desktop app first. CC Switch is an optional configuration tool. Already installed? Skip to Connection settings.

CLIENT
Codex desktop app

Download the official client for your operating system.

Download Codex desktop app

Loading...

HELPER
CC Switch desktop app

Manage Codex configurations and quickly switch API keys and Base URLs.

Download CC Switch desktop app

Loading...

Before you begin, get your API key and Base URL from the console. For Codex, use the OpenAI-compatible URL https://nusi.si/v1. Configure both values together.

  1. 1
    Open API keys in the dashboard

    Create a key if this is your first time. If you already have an active key, open its edit panel directly.

  2. 2
    Choose the Codex desktop app

    In the key creation dialog or editor, choose Codex desktop app and complete setup through CC Switch.

  3. 3
    Allow CC Switch to open and verify the setup

    The first time you configure it, if the browser asks to use ccswitch:// an external app, allow it. If no dialog appears, the system has remembered your permission; wait for CC Switch to open. Follow its setup instructions, then check that the NUSI configuration appears and its Base URL matches the current endpoint in the console.

    NUSI and Base URL selected under OpenAI Codex in CC Switch
    Confirm that the NUSI configuration is selected and its Base URL matches the current dashboard endpoint.
For manual setup, connect Codex through config.tomlUse this or CC Switch
WINDOWS%USERPROFILE%\.codex\config.toml
MACOS / LINUX~/.codex/config.toml

Create or edit config.toml, replacing the model ID with a currently available value from the console. Save the API key in the environment variable OPENAI_API_KEY. Do not write it into the configuration file:

config.toml
model = "YOUR_MODEL_ID"
model_provider = "nusi"

[model_providers.nusi]
name = "NUSI"
base_url = "https://nusi.si/v1"
wire_api = "responses"
env_key = "OPENAI_API_KEY"

Choose a model and get started

Copy a currently available model ID from the console's catalog and select it in your tool or provider settings. Do not use example placeholders such as YOUR_MODEL_ID or other placeholder values. Codex requires a model that supports Responses; Claude Code requires a Claude model that supports Anthropic Messages.

After saving your configuration, restart the tool and run the minimal test below.

Complete your first test

  1. 1
    Restart the Codex desktop app

    Fully quit and reopen the Codex desktop app.

  2. 2
    Open a test folder

    Open a readable test project. On the first run, Codex may ask for permission to access the folder or run a command. Review each request before you approve it.

First test prompt
Do not modify any code yet. Read the current project structure first, then identify the entry file and main directories.
If Codex can read the folder and reply, Codex, your API key, CC Switch, and the NUSI connection are working together. “Operation not permitted” means macOS has not granted Codex or your terminal access to the project files. Enable Files and Folders or Full Disk Access, then retry.

After testing, open the console's Usage to check the model, usage, and request outcome by time. If the tool replies but no matching record appears, check whether it is still using the previous provider.

Troubleshoot common failures

IssueWhat to do
Still using the old address after switching

Fully quit the Codex desktop app, check that NUSI is selected in CC Switch, then reopen Codex.

401, 403, or an invalid key error

Check the key's status in the console. If it was deleted, has expired, or may have been exposed, create a new key and update your configuration.

Can't read project files

Check Files and Folders or Full Disk Access in system settings, then retry in the same test folder.

NUSI Setup Guides · Updated regularly ·