model is not supported when using Codex - Codex
Quick fix
Disable cc-switch proxy takeover to avoid writing unsupported model IDs to Codex, preventing official subscription bans or request rejections.
Symptom
Section titled “Symptom”{
"type":"error",
"status":400,
"error":{
"type":"invalid_request_error",
"message":"The '62cc400ee35e43808b1688fcbc9c3e88' model is not supported when using Codex with a ChatGPT account."
}
}When using the 'Log in with ChatGPT account' mode in Codex, cc-switch may write unsupported model IDs to the Codex configuration file. Codex strictly checks outgoing model names (e.g., requiring Claude models to start with claude-*). If a non-officially supported model ID is detected, the request is rejected. Additionally, to prevent official subscription accounts from being banned, cc-switch's proxy takeover feature currently explicitly does not support hot-swapping for official subscriptions.
Disable cc-switch proxy takeover. Normal switching between official subscriptions and third-party providers works fine; proxy takeover is only for hot-swapping in CLI and is currently unsupported for official subscriptions to prevent bans.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 2 real issues
- How to use cc-switch in Codex without logging in with an official account?
- Do not enable proxy takeover. Normal switching between official subscriptions and third-party providers works fine; proxy takeover is only for hot-swapping in CLI.
- What if I get this error even when using a third-party provider that natively supports OpenAI Responses API?
- This is caused by Codex checking the outgoing model name. Currently, you must wait for cc-switch to update to support model ID mapping, or use tools like codexplusplus to mask the model name.
Related problems
Section titled “Related problems”This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.