Configure Codex App

Codex App reads the same local .codex configuration used by Codex CLI.

Codex App and Codex CLI share the same local configuration. Configure ~/.codex/config.toml and ~/.codex/auth.json once, then both tools can use GetToken.

Directory

macOS / Linux:

~/.codex

Windows:

%USERPROFILE%\.codex

config.toml

model_provider = "OpenAI"
model = "gpt-5.6-sol"
review_model = "gpt-5.6-sol"
model_reasoning_effort = "xhigh"
disable_response_storage = true
network_access = "enabled"
windows_wsl_setup_acknowledged = true
model_context_window = 1000000
model_auto_compact_token_limit = 900000

[model_providers.OpenAI]
name = "OpenAI"
base_url = "https://api.clawto.link"
wire_api = "responses"
requires_openai_auth = true

auth.json

{
  "OPENAI_API_KEY": "<your GetToken API Key>"
}

If GPT-5.6 is missing

macOS / Linux:

GETTOKEN_CODEX_MODEL='gpt-5.6-sol' GETTOKEN_CODEX_SET_DEFAULT_MODEL='1' bash -c "$(curl -fsSL 'https://yinziai-public-1257376750.youidian.com/scripts/codex-fix-gpt55-catalog.sh')"

Windows PowerShell:

$env:GETTOKEN_CODEX_MODEL='gpt-5.6-sol'; $env:GETTOKEN_CODEX_SET_DEFAULT_MODEL='1'; irm 'https://yinziai-public-1257376750.youidian.com/scripts/codex-fix-gpt55-catalog.ps1' | iex

Screenshot placeholder: Codex App model selector.

On this page