Contenox

Use your ChatGPT subscription for a coding agent

Updated

ChatGPT subscription

You can use your ChatGPT subscription for a coding agent by signing in with your ChatGPT account. Contenox uses your plan’s Codex allowance. You need that account, a browser and permission to sign in with a one-time device code. Codex is included across ChatGPT plans, including Free and Go. Usage limits vary by plan. OpenAI’s plan guide

Contenox#

1. Enable device code sign-in in ChatGPT#

Personal account. Sign in to ChatGPT in your browser. Open Settings and search for device. On the Security and login page, look under App security and turn on Enable device code sign-in for Codex, Excel, PowerPoint, and Word. Open ChatGPT security settings

Searching Settings for device opens Security and login. The device code switch is on, at the bottom of App security.

Look for the last switch under App security. Select the image to view it at full size.

Work or school account. Select your organization’s ChatGPT workspace. Ask its administrator to permit local Codex use for your role and enable device code sign-in in Workspace settings → Permissions & roles. The workspace controls whether members can use this method. OpenAI’s sign-in guide · Workspace permissions

Can’t use ChatGPT sign-in? On the Contenox welcome screen, select Use another provider. Under More providers → OpenAI, you can use an OpenAI API key with its own API billing. Other options include Anthropic, Gemini, and local models through Ollama. OpenAI key setup · Choose another provider · Set up Ollama

2. Confirm the code in your browser#

  1. Open Contenox and select Sign in with ChatGPT. If you have used Contenox before, open Backends → Providers → ChatGPT subscription (Codex) first.
  2. Contenox displays a one-time code and opens the sign-in page in your browser. If the browser stays closed, select the address under Sign in in your browser in Contenox.
  3. Sign in on the OpenAI page with the account and workspace from step 1. Copy the code from Enter this code in Contenox, enter it in the browser and confirm access. Use the code from the sign-in you just started.
  4. Return to Contenox. Waiting for confirmation… changes to Selecting a default model… on first run. If a Default model list appears, choose a chat model and select Save and continue.
  5. In Contenox Scratchpad, check the Model chip and give the agent a task, such as drafting a short checklist for a website launch. The Quickstart shows how to save the result to a file and start work in your own project.
Contenox shows the OpenAI sign-in link, the code field with a Copy control, and Waiting for confirmation. The sample code is hidden.
Keep this Contenox window open while you confirm in the browser. In the older German layout, the corresponding buttons are „Code kopieren“ and „Anmeldeseite öffnen“.

If sign-in gets stuck#

What you see What to do
The browser opens but has no field for the code Check the account and workspace shown in the browser. Enable device code sign-in as described above. Return to Contenox, cancel the pending attempt and start a fresh one.
The browser rejects the code or Contenox shows Sign-in expired Start sign-in again and use the newly displayed code on the page Contenox opens.
Contenox keeps waiting Finish the approval in the browser, then return to the same Contenox window. Opening the sign-in page alone leaves the request pending.
No chat models found yet Select Check again. If the list stays empty, verify that the signed-in account can use Codex in that workspace. A workspace administrator can check access for your role.
A model reports a usage limit Check the reset time for your plan or select a different connected provider in Model. Codex usage and limits

There are no API key, URL or billing fields in this sign-in flow. For an OpenAI developer-platform key, choose the separate OpenAI provider. OpenAI API key setup

Use your ChatGPT subscription with your agent#

Agent Supported? How Note
Claude Code No Claude Code runs Claude models only, through Anthropic, Amazon Bedrock, Google Cloud’s Agent Platform (Vertex AI) or Microsoft Foundry. Anthropic doesn’t support routing it to other models.
Codex Yes On desktop choose Continue to sign in. In the IDE choose Sign in with ChatGPT. In a terminal run codex login. For a local folder, choose Codex in the app or open the extension in your editor. Cloud tasks require ChatGPT and workspace access.
OpenCode ChatGPT Plus or Pro /connect → OpenAI → Sign in with ChatGPT Finish sign-in in the browser.
Contenox Yes Backends → Providers → ChatGPT subscription (Codex) One-time code in your browser.

Which ChatGPT plans include it?#

Contenox uses Codex Local access, which OpenAI includes across ChatGPT plans, including Free and Go. Model choices and usage limits vary by plan. A managed workspace can restrict local access or device-code sign-in. Codex Cloud has separate eligibility and is optional for this setup. OpenAI’s plan and workspace guide

OpenAI manages API keys and API billing separately from ChatGPT sign-in. OpenAI billing guide

Codex on desktop and in your editor#

To use OpenAI’s desktop app, open ChatGPT, choose Continue to sign in, then open a project folder and choose Codex → New chat. In the Codex IDE extension, select Sign in with ChatGPT and complete the browser step. OpenAI desktop quickstart · OpenAI sign-in guide

Codex CLI#

Install it. Windows PowerShell:

powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"

macOS or Linux:

curl -fsSL https://chatgpt.com/codex/install.sh | sh

npm install -g @openai/codex works on all three. Then sign in:

codex login

Finish the sign-in in your browser and run codex in your project folder. On a machine without a browser, or over SSH, use codex login --device-auth and enter the one-time code on the page it shows.

Codex keeps the sign-in in ~/.codex/auth.json or in your system’s credential store. Treat that file like a password.

OpenCode#

In the OpenCode terminal, enter /connect, choose OpenAI → Sign in with ChatGPT, and complete the browser sign-in. Select a model with /models. OpenCode documents this route for ChatGPT Plus and Pro. Its own subscription, OpenCode Go, is a separate option. OpenCode install options · OpenCode’s ChatGPT instructions

Does it share limits with ChatGPT?#

Yes. Codex and ChatGPT Work share usage limits. The windows and model allowances depend on your plan. Check the remaining allowance and reset time for your account in the usage dashboard. OpenAI plan details

What happens when I hit the limit?#

OpenAI lets a task that is already running finish its current turn, within fair use. After that, new requests fail until the limit resets. Your options:

  • Wait for the reset.
  • Buy credits, if your plan allows it. OpenAI offers this on Plus and Pro, and on Business, Edu and Enterprise workspaces with flexible pricing.
  • Switch to an API key for the rest of the day, billed per token: OpenAI API key, or another provider such as Anthropic.

Limits differ by plan and change over time. Check the Codex pricing page for the current rules.

Subscription or API key?#

A subscription is the simpler choice if you already pay for ChatGPT and work alone. An API key fits better when you need predictable access during long sessions, share an account across a team, or run agents unattended, because you pay for what you use instead of waiting for a reset. The trade-offs for Codex in detail: Codex API key vs subscription.