Agenticum · Thoughts · 6 min read

How to start with OpenAI Codex in the UAE and Saudi Arabia: plans, setup and first steps

Codex comes with ChatGPT plans, including Free, but what you can do with it depends on your plan and where you run it. Below are setup instructions for each interface, USD prices converted to dirhams and riyals, and details of OpenAI's UAE data residency.

Nikolay Zuykov · Agenticum · 1 November 2026

What Codex is in November 2026 and where it runs

Codex is OpenAI's coding agent, and it is included in ChatGPT plans. You can use it in the ChatGPT desktop app, on the web, in the terminal through the Codex CLI, in a code editor through the IDE extension, and in Codex Cloud for remote work. If a guide you are reading still names GPT-5.5, it is out of date: OpenAI retired GPT-5.5 from Codex with ChatGPT sign-in on 14 October 2026.

SurfaceWhat it doesSign-inPlan notes
Desktop app (macOS, Windows, Linux)Reads and edits files in a folder you openChatGPT or API keyFree and Go get GPT-6 Luna at Standard speed only, subject to rollout
WebStarts Codex Cloud tasks from the browserChatGPTIncluded in Plus
CLIRuns the agent in your terminal, in scripts and in CIChatGPT or API keyIncluded in Plus; with an API key, billed at API pricing
IDE extensionCodex panel inside VS Code, Cursor, Windsurf; separate integrations for JetBrains and XcodeChatGPT or API keyIncluded in Plus; with an API key, billed at API pricing
Codex CloudWorks on your GitHub repositories in a prepared environment, then you commit or open a pull requestChatGPT onlyNo cloud features with an API key

Which plan you need: Free, Go, Plus, Pro, Business, Enterprise or an API key

AED and SAR figures below are conversions of OpenAI's USD prices at the fixed pegs (3.6725 and 3.75).

PlanUSD / monthAEDSARWhat you get
Free$000GPT-6 Luna at Standard speed in the desktop app, subject to rollout
Go$829.3830.00Same model access as Free, for lightweight coding tasks
Plus$2073.4575.00Codex on the web, in the CLI, in the IDE extension and on iOS
Pro$100 / $200 / $500367.25 / 734.50 / 1,836.25375 / 750 / 1,875No five-hour limit for now; Ultrafast mode on the $500 tier
Business (annual, 2+ users)$20 per user73.4575.00No training on your business data by default
Business (monthly)$25 per user91.8193.75As above, billed monthly
Enterprise & EduNot listed hereData retention and data residency controls; Ultrafast on eligible plans
API keyAPI pricingLocal use only; no cloud features such as GitHub code review or Slack

How usage works: for Plus and Standard Business, OpenAI publishes estimated local messages per five-hour window. GPT-6.1 Sol gives roughly 15 to 160 local messages per five hours and GPT-6 Luna roughly 350 to 3,000. OpenAI says these are estimates, not fixed caps. Local messages and cloud chats draw from the same allowance, and weekly limits may also apply. Fast mode uses your included usage at 2.5 times the Standard rate. Plus and Pro users who reach their limit can buy extra credits instead of upgrading.

Steps: use Codex in the ChatGPT desktop app

  1. Download and install the ChatGPT desktop app for macOS, Windows or Linux.
  2. Sign in with your ChatGPT account. An API key also works for local work.
  3. Start a chat, create a project or open a folder. Codex can read and modify files in the folder you choose.
  4. Select Codex from the ChatGPT dropdown.
  5. Send a first task. Example only: Explain what this project does and list the commands that run its tests.

Steps: install and run the Codex CLI

  1. Install on macOS or Linux with the standalone script. Running it again updates the CLI.
    curl -fsSL https://chatgpt.com/codex/install.sh | sh
    OpenAI's CLI page also lists separate Windows and npm install options. Copy the command for your system from that page.
  2. Make a Git checkpoint. OpenAI recommends one before and after each task so you can revert changes.
    git add -A && git commit -m "checkpoint before codex"
  3. Open your project directory and start Codex:
    codex
  4. On first launch, choose Sign in with ChatGPT.
  5. Type your first prompt, let Codex work, then commit a second checkpoint.

Useful next commands:

Steps: Codex in VS Code, Cursor, Windsurf, JetBrains and Xcode

  1. In VS Code, Cursor or Windsurf, install the Codex extension. In JetBrains IDEs or Xcode, use that IDE's own Codex integration.
  2. In VS Code, Cursor or Windsurf, choose the Codex icon. If you cannot see it, open the Command Palette and run Codex: Open Codex Sidebar.
  3. Sign in with ChatGPT or an API key.
  4. Describe your task in the panel.
  5. For remote work, use Codex Cloud. It requires ChatGPT sign-in.

Steps: run tasks in Codex Cloud with GitHub

  1. On the web or in the desktop app, choose Work in > Cloud and open Select environment.
  2. Choose your GitHub repositories and select Get started. Connect GitHub if prompted.
  3. Codex inspects the repositories, installs dependencies and tools, and tests the workflow.
  4. Review the setup and test results, save, and select Publish. Wait for Environment published; tasks cannot start from an unpublished environment.
  5. Start a task. When it finishes, review the changes and test results, ask for follow-ups, then commit or open a pull request.

For reviews inside GitHub, tag @Codex in a pull request or turn on automatic reviews for the repository. This counts as Code Review usage and is not available with API-key sign-in.

Stay in control: sandbox, approvals and AGENTS.md

By default, Codex runs with network access turned off. Locally it works inside an OS-enforced sandbox that usually limits it to the current workspace.

Codex reads AGENTS.md files before it does any work, so put project rules there. By default, Codex loads up to 32 KiB of combined AGENTS.md content, so keep these instructions concise. Example only:

# AGENTS.md
- Run the test suite before proposing a commit.
- Do not edit files under /config/production.

UAE and Saudi Arabia: availability and data residency

Both the United Arab Emirates and Saudi Arabia are on OpenAI's list of supported countries. OpenAI says access from countries outside that list may get an account blocked or suspended.

For data location, the two countries differ:

Checklist before you rely on UAE residency for Codex work:

Sources