Repository navigation
Description
Summary
The unified ChatGPT desktop application on macOS appears to malfunction when a custom model provider is selected globally in ~/.codex/config.toml.
With OpenRouter configured as the default provider, the application launches but only exposes ChatGPT Work and Codex. The normal ChatGPT Chat interface is missing, and there is no apparent way to log into or manage a ChatGPT account.
Removing the global model and model_provider settings immediately restores the normal ChatGPT experience.
This suggests that the unified desktop application's ChatGPT functionality is improperly affected by Codex's custom model provider configuration.
Environment
- Application: Unified ChatGPT desktop application
- Bundle identifier:
com.openai.codex - Application version:
26.1016.61520 - Hardware: MacBook Pro, M2 Max (Apple Silicon)
- macOS: Issue observed on macOS 15.7.4 and persisted after upgrading to macOS 27.0.1
- Custom provider: OpenRouter
- Configured model:
deepseek/deepseek-v4.1-flash
Steps to reproduce
-
Configure a custom model provider in
~/.codex/config.toml:model = "deepseek/deepseek-v4.1-flash" model_provider = "openrouter" [model_providers.openrouter] name = "OpenRouter" base_url = "https://openrouter.ai/api/v1" env_key = "OPENROUTER_API_KEY" wire_api = "responses"
-
Set the
OPENROUTER_API_KEYenvironment variable. -
Launch the unified ChatGPT desktop application.
-
Observe that the application only offers ChatGPT Work and Codex in its mode selector.
-
Open the settings menu. It displays OpenRouter as the provider/account label rather than the expected ChatGPT account experience.
-
Quit the application.
-
Remove only these two lines from
~/.codex/config.toml:model = "deepseek/deepseek-v4.1-flash" model_provider = "openrouter"
-
Relaunch ChatGPT.
-
Observe that the normal ChatGPT experience returns.
Actual behavior
When the custom provider is selected globally:
- The normal ChatGPT Chat mode is missing.
- Only ChatGPT Work and Codex are available.
- ChatGPT account login and account settings are not accessible through the expected UI.
- The settings menu displays
OpenRouterat the top. - The application does not display an obvious error explaining the missing functionality.
The application otherwise launches successfully.
Expected behavior
The unified desktop application should continue to expose the normal ChatGPT Chat interface and account authentication regardless of the default model provider configured for Codex.
A custom Codex provider should not disable or replace ChatGPT account functionality.
If the custom provider is incompatible with ChatGPT-specific functionality, the application should isolate that configuration to Codex or present an actionable error rather than silently removing UI features.
Workaround
Remove the global model and model_provider settings:
# Remove these:
# model = "deepseek/deepseek-v4.1-flash"
# model_provider = "openrouter"The [model_providers.openrouter] definition can remain in the configuration.
After removing the two global settings and relaunching, the normal ChatGPT interface returns.
No application reinstall or other configuration changes were necessary for this workaround.
Additional troubleshooting performed
Before identifying the configuration issue, I attempted the following without success:
- Completely uninstalled and reinstalled the desktop application using the official OpenAI installer.
- Removed legacy ChatGPT application data and preferences.
- Disabled WireGuard.
- Uninstalled a network filtering application (Victory Shield).
- Rebooted macOS.
- Upgraded the operating system from macOS 15.7.4 to macOS 27.0.1.
None of these steps resolved the issue.
The ChatGPT web application worked correctly throughout.
The only confirmed successful change was removing the two global model/provider settings from ~/.codex/config.toml.
Suspected cause
The unified desktop application appears to use Codex's globally configured model provider when initializing some part of its ChatGPT experience.
When that provider is OpenRouter, the application may incorrectly enter a state in which ChatGPT-specific account and Chat functionality are unavailable.
This is a hypothesis based on the observed behavior, not a confirmed root cause.
It is also not yet established whether the issue affects all custom model providers or only certain provider configurations.
Impact
This is particularly confusing for users who previously configured Codex with a third-party model provider.
The resulting application appears partially functional but provides no indication that the custom provider configuration is responsible for the missing ChatGPT functionality.
Because the setting lives in ~/.codex/config.toml, reinstalling the desktop application does not necessarily resolve the problem.
The workaround is simple once identified, but the failure mode is extremely difficult to diagnose without knowing that the unified ChatGPT application reads the existing Codex configuration.
Attachments
Screenshots available showing:
- The mode selector containing only ChatGPT Work and Codex.
- The settings menu displaying OpenRouter as the account/provider label.
Related reports
- macOS desktop app automatically switches from ChatGPT to ChatGPT Work #48327
- https://community.openai.com/t/chat-mode-missing-in-the-new-chatgpt-macos-app-26-707-31428-web-has-chat-work-desktop-only-shows-work-codex/1386324
These reports describe similar missing-Chat-mode symptoms, although it is not established whether they share the same underlying cause.
Activity
github-actions commentedon Oct 22, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action