{"slug": "fix-this-model-is-not-supported-when-using-x-openai-internal-codex-responses", "title": "Fix: This model is not supported when using X-OpenAI-Internal-Codex-Responses-Lite", "summary": "A developer discovered a workaround for a bug in Codex Desktop where requests fail with the error 'This model is not supported when using X-OpenAI-Internal-Codex-Responses-Lite.' The issue occurs after updating Codex Desktop on Windows 11, while ChatGPT web and desktop apps work normally. The temporary fix involves editing the local cache file 'model_cache.json' to set 'use_responses_lite' to false, though Codex automatically reverts this change on subsequent requests.", "body_md": "Language:English / 中文\n\nStatus:Temporary Workaround (Not an Official Fix)\n\nAfter updating Codex Desktop, every request immediately failed with the following error:\n\n```\nThis model is not supported when using X-OpenAI-Internal-Codex-Responses-Lite.\n```\n\nThe issue only occurred in **Codex Desktop**.\n\nThe ChatGPT desktop/web app continued to work normally.\n\n- Windows 11\n- Codex Desktop\n- GPT-5.5\n- ChatGPT Plus\n\n- GPT-5.5 Medium ❌\n- GPT-5.5 High ❌\n- Every prompt failed immediately\n- ChatGPT worked normally\n- Restarting Codex did not help\n- Reinstalling Codex did not help\n\nAfter checking the following GitHub issues:\n\n- #30224\n- #30406\n\nI found that modifying the local cache file:\n\n```\n%USERPROFILE%\\.codex\\model_cache.json\n```\n\nfrom\n\n```\n\"use_responses_lite\": true\n```\n\nto\n\n```\n\"use_responses_lite\": false\n```\n\nallowed Codex Desktop to work again.\n\nHowever, after sending a new request, Codex automatically rewrote\n`model_cache.json`\n\nand restored\n\n```\n\"use_responses_lite\": true\n```\n\nThis means that manually editing the file is **not** a permanent solution.\n\nBased on the observed behavior, `model_cache.json`\n\nappears to be a **runtime capability cache** rather than a user configuration file.\n\nIt seems that Codex regenerates this file whenever it refreshes model metadata from the server.\n\nBecause of this, manual changes are overwritten automatically.\n\nThis is an observation rather than an officially confirmed implementation.\n\n- Close Codex Desktop completely.\n- Open\n\n```\n%USERPROFILE%\\.codex\\model_cache.json\n```\n\n- Change\n\n```\n\"use_responses_lite\": true\n```\n\nto\n\n```\n\"use_responses_lite\": false\n```\n\n- Save the file.\n\nIf Codex keeps overwriting the file, you may temporarily mark it as **Read-only**.\n\nThis is only a temporary workaround.\n\nSince the file is regenerated automatically, future updates may overwrite it again.\n\nOnce OpenAI fixes the issue, this workaround should no longer be necessary.\n\n- GitHub Issue #30224\n- GitHub Issue #30406\n\n更新 Codex Desktop 后，无论发送什么 Prompt，都会立即报错：\n\n```\nThis model is not supported when using X-OpenAI-Internal-Codex-Responses-Lite.\n```\n\n该问题仅发生在 **Codex Desktop** 中。\n\nChatGPT（网页端/桌面端）可以正常使用。\n\n- Windows 11\n- Codex Desktop\n- GPT-5.5\n- ChatGPT Plus\n\n- GPT-5.5 Medium ❌\n- GPT-5.5 High ❌\n- 所有请求立即失败\n- ChatGPT 正常\n- 重启 Codex 无效\n- 重装 Codex 无效\n\n查阅 GitHub Issue：\n\n- #30224\n- #30406\n\n发现修改本地文件：\n\n```\n%USERPROFILE%\\.codex\\model_cache.json\n```\n\n将\n\n```\n\"use_responses_lite\": true\n```\n\n修改为：\n\n```\n\"use_responses_lite\": false\n```\n\n之后 Codex 可以恢复正常。\n\n但是发送下一条消息后，Codex 又会自动把：\n\n```\n\"use_responses_lite\": false\n```\n\n恢复成：\n\n```\n\"use_responses_lite\": true\n```\n\n说明：\n\n`model_cache.json`\n\n**不是用户配置文件（Configuration）**，\n\n而是 Codex 自动维护的运行时缓存。\n\n根据目前观察到的行为来看，\n\n`model_cache.json`\n\n更像是一个 **模型能力缓存（Capability Cache）**。\n\nCodex 会根据服务器返回的模型元数据自动重新生成这个文件，因此：\n\n- 手动修改能够立即生效；\n- 但后续会被自动覆盖。\n\n目前这只是根据现象作出的分析，并非 OpenAI 官方确认的实现细节。\n\n关闭 Codex。\n\n打开：\n\n```\n%USERPROFILE%\\.codex\\model_cache.json\n```\n\n将：\n\n```\n\"use_responses_lite\": true\n```\n\n改成：\n\n```\n\"use_responses_lite\": false\n```\n\n保存即可。\n\n如果 Codex 反复覆盖，可以暂时将该文件设置为 **只读**。\n\n该方案只是临时绕过（Workaround），并不是官方修复。\n\n由于 `model_cache.json`\n\n会自动生成，因此未来版本可能重新覆盖，也可能官方修复后无需再进行此修改。\n\n- GitHub Issue #30224\n- GitHub Issue #30406", "url": "https://wpnews.pro/news/fix-this-model-is-not-supported-when-using-x-openai-internal-codex-responses", "canonical_source": "https://gist.github.com/xjx954/533e744eebb52147991b1b00cc14ff14", "published_at": "2026-06-29 02:13:32+00:00", "updated_at": "2026-06-29 02:26:49.179268+00:00", "lang": "en", "topics": ["developer-tools", "large-language-models", "ai-tools"], "entities": ["OpenAI", "Codex Desktop", "ChatGPT", "Windows 11", "GPT-5.5", "ChatGPT Plus", "GitHub"], "alternates": {"html": "https://wpnews.pro/news/fix-this-model-is-not-supported-when-using-x-openai-internal-codex-responses", "markdown": "https://wpnews.pro/news/fix-this-model-is-not-supported-when-using-x-openai-internal-codex-responses.md", "text": "https://wpnews.pro/news/fix-this-model-is-not-supported-when-using-x-openai-internal-codex-responses.txt", "jsonld": "https://wpnews.pro/news/fix-this-model-is-not-supported-when-using-x-openai-internal-codex-responses.jsonld"}}