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.
ZCode
The provider is added by hand: address, key and three GLM models.
https://codex-api-shop.space/codex/v1Connection steps
Five steps; only the ZCode settings change.
Settings → Models → Custom Provider. This section is for manually added providers; official ones never show up here.
ZCode creates an empty provider card — we fill it in on the next steps.
Our gateway address. It is OpenAI-compatible: no extra ports, proxies or VPN required.
https://codex-api-shop.space/codex/v1Copy the sk-… key from the account area — the same key works for Codex, Claude Desktop and the rest.
API Key: sk-…List the models one per line — copy the whole list if you like.
Model listglm-5.3 glm-5.2 glm-5.3-flash
Save the provider and pick the model you need from the model list.
If the model does not answer
The address is pasted whole, including /codex/v1; the key has no stray spaces and is active in the account area; the model is in Model list.
One key
The key works with any OpenAI-compatible client: Codex, Cursor, VS Code, OpenCode, ZCode and DeepSeek Harness — only the endpoint differs.
DeepSeek Harness
The provider is added by hand: address, key and three DeepSeek models.
https://codex-api-shop.space/codex/v1Connection steps
Five steps: the DeepSeek Harness settings only.
Add provider lives in the Models section, next to the list of providers you already have.
Give the provider a clear name (for example, keydex) — that is how it appears in the model list.
Our gateway address: OpenAI-compatible (api: openai-completions), no VPN or proxy needed.
https://codex-api-shop.space/codex/v1The sk-… key is in the account area; an active key is ready to use right away.
API Key: sk-…Copy the whole list or type the models in one by one.
Model listdeepseek-v4-pro deepseek-v4-flash deepseek-v4.1-flash
Check the connection
Save the settings and ask the chosen model anything: if the answer arrives, the provider is set up correctly.