Quick setup
Quick setup
Add this line at the very beginning of config.toml.
openai_base_url = "https://codex-api-shop.space/codex"- 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://codex-api-shop.space/codex"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://codex-api-shop.space/codex"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.
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://codex-api-shop.space/codex/v1
API Key: YOUR_API_KEYClaude
Enable developer mode in the Claude for Windows app and it starts working through our gateway.
Gateway base URL: https://codex-api-shop.space/codex/v1Connection steps
Enable developer mode in the Claude for Windows app and it starts working through our gateway.
Open the Claude for Windows app. If you are already signed in, sign out first and stop on the sign-in screen — do not press “Sign in”.
Open the “Help” menu in the top-left corner (or the three-line button), then “Troubleshooting” and “Enable Developer mode”.
Help → Troubleshooting → Enable Developer modeOnce developer mode is on, a “Developer” item appears in the top menu. Click “Developer” → “Configure third-party inference”.
Developer → Configure third-party inferencePaste the gateway address and your API key, then click “Apply locally”. A key issued for the Claude server (Kiro Claude group) is required.
Gateway base URL: https://codex-api-shop.space/codex/v1Gateway API key: sk-...Apply locallyHow to restore the default connection
Open “Developer” → “Configure third-party inference” again, restore the previous field values and click “Apply locally”.
Available models
claude-opus-5, claude-sonnet-5 and claude-haiku-4-5. The exact list depends on your key.