Quick setup
Quick setup
Add this line at the very beginning of config.toml.
openai_base_url = "https://vip.j3gb.com/"- Configure the OpenAI-compatible provider
- Save config.toml
- Fully restart Codex
Codex
Connect your key to Codex App, Codex CLI, or the Codex extension for VS Code.
Quick setup
Add this line at the very beginning of config.toml.
openai_base_url = "https://vip.j3gb.com/"Connection steps
The setup is identical across official Codex clients.
Open Windows File Explorer, paste the path below into the address bar, and press Enter.
%USERPROFILE%\.codex\config.tomlPaste this line at the very beginning of config.toml. If openai_base_url already exists, replace its value.
openai_base_url = "https://vip.j3gb.com/"Save your config.toml changes before restarting Codex.
The settings take effect only after the application starts again.
Close the application completely.
If Codex is still running, end the process.
The endpoint configuration takes effect on startup.
When Codex starts, choose API key sign-in: “Use another sign-in method” → enter your API key → “Continue”. Done: Codex will use the configured API.
Alternative connection
If config.toml is unavailable, set the endpoint in the environment before starting the client.
export OPENAI_BASE_URL=https://vip.j3gb.com/Restore defaults
Remove openai_base_url from config.toml or clear the environment variable, then restart Codex.
openai_base_url = ""Other IDEs and AI agents
Set the Base URL and your API key in the application's provider settings.
Base URL: https://vip.j3gb.com/v1
API Key: YOUR_API_KEY