Codex CLI

Set Codex CLI to use your CodexIn endpoint and prepaid API key.

Setup progress
Finish these once. After that, CodexIn works like a prepaid OpenAI-compatible endpoint.
x
Have usable credits
Create or select an API key
Copy the setup command
Send the first request
Sign in to personalize
Install in your tool
Pick the coding tool and operating system, then copy the exact command.
PowerShell writes config files into $HOME\.codex
Codex CLI
$dir = Join-Path $HOME ".codex"
New-Item -ItemType Directory -Force -Path $dir | Out-Null
$utf8NoBom = New-Object System.Text.UTF8Encoding $false
[System.IO.File]::WriteAllText((Join-Path $dir "config.toml"), @'
model = "gpt-5.5"
model_reasoning_effort = "xhigh"
openai_base_url = "https://api.codexin.lol/v1"
'@, $utf8NoBom)
[System.IO.File]::WriteAllText((Join-Path $dir "auth.json"), @'
{
  "auth_mode": "apikey",
  "OPENAI_API_KEY": "ci_live_YOUR_KEY_HERE",
  "tokens": null,
  "last_refresh": null
}
'@, $utf8NoBom)
Write-Host "CodexIn is ready. Files installed in $dir"
Best for users who already use Codex in a terminal.
Writes config.toml and auth.json into the standard Codex folder.
Discord