AI

AI One Hub

aionehub.net

Go to AI One

Setup Guides Quick Start for ChatGPT Codex

Quick Start for ChatGPT Codex

This guide covers Codex Desktop, Codex CLI, and the VS Code Codex extension using CCSwitch for a fast setup.

View full explainer
ChatGPT Codex setupUpdated: 2026-05-14Read time: 8 min

Intro

Use CCSwitch to finish a fast ChatGPT Codex setup.

Who this is for

  • Codex Desktop users
  • Codex CLI users
  • VS Code Codex extension users

Required tools

CCSwitch (download for your system)

Windows

https://github.com/farion1231/cc-switch/releases/download/v3.14.1/CC-Switch-v3.14.1-Windows.msi

macOS

https://github.com/farion1231/cc-switch/releases/download/v3.14.1/CC-Switch-v3.14.1-macOS.dmg

Codex CLI

npm install -g @openai/codex

Codex Desktop

https://openai.com/zh-Hans-CN/codex/

VSCode

https://vscode.download.prss.microsoft.com/dbazure/download/stable/10c8e557c8b9f9ed0a87f61f1c9a44bde731c409/VSCodeUserSetup-x64-1.117.0.exe

Notes

  • If you have used Codex before and want to preserve chat history, archive it first.
  • Use the default or codex token group when possible.

Steps

Step 1: Open CCSwitch and create a config

Download the correct CCSwitch version for your OS.

Open CCSwitch, choose Codex, and click the + button in the top-right corner.

Quick Start for ChatGPT Codex-Open CCSwitch and create a config

Step 2: Fill in provider details

Set the provider name to ai-one and leave the website field empty.

Quick Start for ChatGPT Codex-Fill in provider details

Step 3: Get your API key

Open https://ai-one.vip and copy your token from the token management panel.

Quick Start for ChatGPT Codex-Get your API key

Step 4: Enter the request URL and save

Paste the copied key into the API Key field.

Set the API request URL to https://ai-one.vip/v1 and save the config.

Quick Start for ChatGPT Codex-Enter the request URL and save

Step 5: Test connectivity

Use the connectivity test to confirm requests work.

Quick Start for ChatGPT Codex-Test connectivity

Step 6: Enable the config

Turn on the switch to enable this config.

Quick Start for ChatGPT Codex-Enable the config

Step 7: Sign out of old sessions

Open Codex and sign out first if you already logged in before.

Quick Start for ChatGPT Codex-Sign out of old sessions

Step 8: Restart and choose API key login

After restarting Codex, choose the API key login option.

Quick Start for ChatGPT Codex-Restart and choose API key login

Step 9: Paste the token and continue

Paste the token copied from ai-one.vip.

Quick Start for ChatGPT Codex-Paste the token and continue

Step 10: Archive and restore sessions

Archive old sessions first if needed.

After switching, restore old backups when necessary.

Quick Start for ChatGPT Codex-Archive and restore sessions
Quick Start for ChatGPT Codex-Archive and restore sessions

Summary

You can now use the selected model inside Codex for development and chat.