Pixery

Codex / PixRoute

Codex runs through PixRoute, the Pixery gateway, instead of signing in to the shared ChatGPT account. Everyone has their own key, so usage is attributable and nobody's session knocks anyone else's out.

Looking up your PixRoute key…

Using the ChatGPT app? Quit it (Cmd+Q) and reopen — it reads the config at launch.

What it changes

The command rewrites ~/.codex/config.toml:

  • model becomes gpt-6-astra and model_provider becomes pixroute
  • a [model_providers.pixroute] table points Codex at https://pixroute.pixerylabs.net/v1, with your key in the Authorization header
  • any earlier PixRoute tables are dropped first, so running it a second time leaves you in the same place as the first
  • everything else in the file — your MCP servers, approval policy, theme — stays where it is
  • a timestamped config.toml.bak.* is kept beside it, and the file ends up chmod 600 because your key is now in it

The installer does this too

plugin-setup.sh sets PixRoute up as its last step. It asks for your Pixery address and looks the key up the same way this page does; pass the address as a second argument to skip the question:

curl -fsSL https://ai-server.pixerylabs.net/plugin-setup.sh | bash -s -- <your-pixery-key> you@pixerylabs.com

No key yet?

Ask for one, then come back here — the command above fills itself in once your address is on the list. In the meantime the block still works: paste your key over REPLACE_YOUR_API_KEY before running it.