GetToken Docs

GetToken Documentation

Learn Codex step by step, from core concepts and installation to GetToken API access, tool configuration, and troubleshooting.

View my API Key

Sign in, reveal your current GetToken API Key, then copy it into Codex or OpenCode.

Tool Configuration

Configure Codex App

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

Updated
Last verified
Maintained by
GetToken Documentation Team

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:

text
~/.codex

Windows:

text
%USERPROFILE%\.codex

config.toml

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

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

If GPT-5.6 is missing

macOS / Linux:

bash
GETTOKEN_CODEX_MODEL='gpt-5.6-sol' GETTOKEN_CODEX_SET_DEFAULT_MODEL='1' bash -c "$(curl -fsSL 'https://cdn.gettoken.dev/scripts/codex-fix-gpt55-catalog.sh')"

Windows PowerShell:

powershell
$env:GETTOKEN_CODEX_MODEL='gpt-5.6-sol'; $env:GETTOKEN_CODEX_SET_DEFAULT_MODEL='1'; irm 'https://cdn.gettoken.dev/scripts/codex-fix-gpt55-catalog.ps1' | iex

Screenshot placeholder: Codex App model selector.