Only 258k context in codex - Codex
Quick fix
Once cc-switch maps a minimax model onto gpt-5.5, the hard-coded Codex and Claude Code context limits apply and the 1M context is lost.
Symptom
Section titled “Symptom”codex中只有258k上下文Only 258k context in codex
When you declare a 1M context for minimax or a similar model in cc-switch, the tool may map it onto a built-in model name such as gpt-5.5 for client compatibility. But Codex hard-codes a 258k context limit for gpt-5.5, and the newest Claude Code limits it to 200k and removed the 1M option, so the client truncates the context regardless. The cluster also mixes in a stack buffer overflow error when resizing the Windows terminal (unrelated to cc-switch) and questions from a macOS user about the preset screen.
Confirm the client limit: Codex and the newest Claude Code hard-code a context ceiling for specific models such as gpt-5.5, which declaring 1M in cc-switch alone cannot break through.
Claude Code users, downgrade: since older versions had a 1M context model option, try downgrading Claude Code Desktop to a version from before this problem.
Codex users, change the mapping or wait for an update: to use the native minimax 1M context, avoid model names the client hard-codes a limit for, or wait for Codex to lift the limit officially.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 3 real issues
- So because ccs mapped my model onto gpt-5.5, and gpt-5.5 itself only has 258k, I cannot use the native 1M context of minimax-m3?
- Yes. Codex hard-codes a 258k limit for gpt-5.5, which overrides the 1M context declared in cc-switch.
- Where does the minimax on the mac-os preset screen come from?
- It is one of the presets cc-switch provides, to help you connect the minimax API quickly.
- Launching the command line with the minimaxAPI, running a command and then resizing the terminal errors. Is that related to cc switch?
- Maintainers confirmed that terminal stack buffer overflow error is unrelated to cc-switch — it is a low-level problem in the system terminal or runtime environment.
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.