# Codex Setup with UnifyLLM Desktop

Configure Codex with UnifyLLM Desktop. Follow the steps to activate your key and model, reopen the tool, check usage, and restore previous settings.

- Source: https://www.unifyllm.com/docs/integrations/codex/
- Language: en
- Updated: 2026-11-27

## How setup works

Choose Codex in the UnifyLLM Desktop sidebar and enter its key and model. Each tool keeps separate settings.

See the [illustrated configuration steps](https://www.unifyllm.com/docs/desktop/#configure).

## 1. Install and detect

- [Download Desktop](https://www.unifyllm.com/desktop/) — Windows x64 / macOS Apple Silicon / macOS Intel.
- Install Codex. The tool’s page in Desktop provides an Official download button.
- Return to Desktop and click Refresh. Resolve any installation or version warning before activating the configuration.

## 2. Prepare your key and model

You can change the prefilled model. Choose one supported by the tool and available to your key.

Create a key in the [console](https://www.unifyllm.top/keys) and copy a full model name available to it. Check your account credit, key quota, group, and model access.

## 3. Configure and activate

1. **Open the UnifyLLM card**: Choose Codex. Under My configurations, click Set up & activate or Edit on the UnifyLLM card.
2. **Enter the key and model**: Paste the API key and full model name. Keep advanced settings at their defaults for your first setup. Desktop handles the endpoint.
3. **Save & activate**: Save only keeps a draft. Test model is optional; it sends a short request and may use a small amount of credit.

## 4. Return to your tool

Activate the configuration, then quit and reopen Codex. You can use an API key without signing in first.

## Usage and troubleshooting

After sending a message, check the request, model, and cost in [usage logs](https://www.unifyllm.top/usage-logs/common).

- 401: check that the key is complete and active.
- Model not found or access denied: copy the full model name available to your key.
- Old settings remain active: check activation, quit and reopen the tool, and inspect project settings or environment overrides.

## Restore your previous configuration

Click Restore on the Original configuration card, then reopen the tool.

## Confirm the setup works

Use [billing and troubleshooting](https://www.unifyllm.com/docs/billing-troubleshooting/) for authentication, limits, timeouts, or cost questions.

- Check that Desktop marks the configuration active. Fully quit and reopen the coding tool and start a new session when required.
- Ask the tool to read and explain the project structure without changing files. Check whether reading succeeds, then reconcile the request in the console.
- If replies work but file reading or tool execution fails, inspect the tool’s error and permission message, then project settings. A short reply is not a complete workflow check.
