Download Windows Desktop, run the PowerShell setup, then restart the app completely.
1. Install Windows Desktop
Download and install Codex Desktop, complete the product sign-in, and launch the app once.
Download Windows installer2. Create an API key
Create the GlobalRouter API key you want to use for this setup run.
Create GlobalRouter API Key3. Configure 6 models and restart
Run this in Windows PowerShell and enter an API key every time; the script does not silently reuse an environment variable or a key from the previous configuration. It automatically configures 6 models and sets deepseek-v4-flash as the default. If you ran an older command, you can rerun the latest command directly; the script backs up the current config.toml and models.json and safely replaces the old 12-model catalog. Review the backup first if you maintain custom configuration. Quit Desktop completely, reopen it, and start a new conversation; existing conversations may retain their previous model.
PowerShell irm https://globalrouter.ai/codex-scripts/codex-globalrouter-setup.ps1 | iex