Integrations
Codex CLI is OpenAI's coding agent for the terminal. Add DEVUP AI as a model provider in its config file, and Codex runs on DEVUP AI models, including DeepSeek-V4-Pro and gpt-5.3-codex.
npm install -g @openai/codex
codex --versionCodex reads the key from the environment variable named in env_key. Set it in the terminal where you run Codex:
PowerShell
$env:DEVUP_API_KEY = "YOUR_DEVUP_API_KEY"Bash
export DEVUP_API_KEY="YOUR_DEVUP_API_KEY"Put this in your Codex config file: %USERPROFILE%\.codex\config.toml on Windows, ~/.codex/config.toml on macOS and Linux.
model = "deepseek-ai/DeepSeek-V4-Pro"
model_provider = "devupai"
web_search = "disabled"
[model_providers.devupai]
name = "DEVUP AI"
base_url = "https://api.devupai.com/v1"
env_key = "DEVUP_API_KEY"
wire_api = "responses"| Setting | Value | What it does |
|---|---|---|
| model | deepseek-ai/DeepSeek-V4-Pro | The model for new sessions. Any DEVUP AI catalog ID works. |
| model_provider | devupai | Selects the provider defined below. |
| web_search | disabled | Runs Codex without its hosted web search tool. |
| base_url | https://api.devupai.com/v1 | The DEVUP AI API. |
| env_key | DEVUP_API_KEY | The environment variable that holds your key. |
| wire_api | responses | Codex talks to DEVUP AI through /v1/responses. |
On Windows, also add this table so Codex can run commands and edit files:
[windows]
sandbox = "elevated"codex exec --skip-git-repo-check "Reply with exactly: Salam DEVUP"It prints Salam DEVUP. --skip-git-repo-check lets Codex run outside a Git repository.
Start Codex in your project folder:
codexType /status to see the model and the provider:

Codex runs commands and edits files in the folder you start it in. For a one-off task:
codex exec --skip-git-repo-check --sandbox workspace-write "Create a file named hello.txt that contains exactly: Salam DEVUP. Then read the file back and tell me its content."In an interactive session, ask in plain words:

Change model in config.toml, or pass -m for one run:
codex exec --skip-git-repo-check -m openai/gpt-5.3-codex "Reply with exactly: Salam DEVUP"Use a catalog ID with tool calling, such as deepseek-ai/DeepSeek-V4-Pro or openai/gpt-5.3-codex. See Models.
Yes. Add a devupai provider to config.toml with base_url https://api.devupai.com/v1, env_key DEVUP_API_KEY and wire_api responses, then set model_provider to devupai.
Any DEVUP AI chat model with tool calling, such as deepseek-ai/DeepSeek-V4-Pro or openai/gpt-5.3-codex. Set model in config.toml, or pass -m for one run.
Every request from Codex is a regular DEVUP AI API call, metered in Algerian Dinar on your account.
Codex reads it from the environment variable named in env_key, DEVUP_API_KEY. The key is not written in config.toml.
Yes. With the workspace-write sandbox, Codex creates, reads and changes files in your project. On Windows, add the [windows] table from the configuration.
No. Codex uses your DEVUP AI key from DEVUP_API_KEY.