GetToken Docs

Configure GetToken by topic

Short, focused guides for API Keys, base_url values, Codex App, Codex CLI, OpenCode, and CC Switch.

View my API Key

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

Tool Setup

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:

text
~/.codex

Windows:

text
%USERPROFILE%\.codex

config.toml

toml
model_provider = "OpenAI"
model = "gpt-5.5"
review_model = "gpt-5.5"
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.5 is missing

macOS / Linux:

bash
GETTOKEN_CODEX_MODEL='gpt-5.5' 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.5'; $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.