Setup wizard

Connect your AI tool.

Pick a tool, your operating system and a model. The steps and snippets below update to match.

1Tool
2Operating system
3Instructions

Connect Codex App

The Codex desktop app shares config.toml with Codex CLI. Add the provider there and restart the app.

  1. The Codex desktop app is available for Windows and macOS. On Linux, use Codex CLI instead: it uses the same settings.
  • You can also add the provider in the app: Settings → Model Providers → Add → Gateway or custom provider. Enter the base URL https://cheaptokens.pw/v1 and CHEAPTOKENS_API_KEY as the API key environment variable, then turn on Set as current provider.
  • Codex only speaks the OpenAI Responses format, so it works with the models in the list on this page, not with every model.
  • Without a ChatGPT login, cloud tasks and some plugins are not available.
  • If the app can't find your key, the environment variable isn't visible to it. Set it again and restart the app.

Open the full Codex App guide →