codex icon indicating copy to clipboard operation
codex copied to clipboard

[Bug] Codex Desktop blocks local Work with a custom API when ChatGPT quota is exhausted on another device

Open murumury opened this issue 3 weeks ago • 2 comments

Summary

When Codex Desktop is signed in with a ChatGPT account and a separately configured custom API/model provider is selected for local Work, the app can stop accepting messages as soon as that ChatGPT account's Codex allowance is exhausted on a different machine or in a cloud session.

The custom API remains available and has independent capacity, but the local Codex composer is blocked by the shared ChatGPT account's usage state.

Setup

  • Codex Desktop / ChatGPT local Work
  • Signed in to an OpenAI/ChatGPT account
  • A custom OpenAI-compatible API endpoint configured as the local model source, with credentials/quota independent from the ChatGPT subscription
  • The same ChatGPT account also used for Codex tasks on other machines and/or in the cloud
  • OS, desktop build, and exact provider configuration: not captured for this report

Steps to reproduce

  1. Sign in to the Codex Desktop app with a ChatGPT account.
  2. Configure and select a working custom API/model provider for a local Work task.
  3. Use the same ChatGPT account on another computer or in a cloud Codex session until the ChatGPT/Codex quota is exhausted.
  4. Return to the original desktop app and try sending a message in local Work while the custom provider is still available.

Actual behavior

The local app cannot send messages after the account-level usage limit is reached, despite the custom provider having usable quota. The limitation propagates from activity on another machine/cloud session, even though this local task is intended to use a separate inference endpoint.

Expected behavior

  • Exhausting the ChatGPT subscription allowance should block only requests that actually consume that allowance.
  • Local Work tasks routed to an independently authenticated custom provider should remain able to send messages.
  • Switching models or providers should recompute composer availability based on the effective provider and route, instead of retaining a global ChatGPT account quota lock.
  • The app can still show an informational account-quota warning without disabling independent custom API requests.

Why the cross-device scenario matters

A user may reserve their desktop for local Work with a paid custom model provider while consuming the ChatGPT subscription from a second machine or cloud task. Under the current behavior, unrelated activity elsewhere can unexpectedly disable the local workspace. This makes the custom provider an unreliable fallback, even when the API itself is healthy.

Related issues

  • #48816: Desktop composer gate appears to depend on ChatGPT auth identity and account usage, without checking the effective custom API route.
  • #48369: Send stays disabled after switching to a valid third-party provider, including in new tasks.
  • #47344: Reports a regression starting around desktop version 26.917.
  • #59175: Recent investigation of rate-limit recovery state.

This report highlights the cross-device / cloud-triggered exhaustion path and its effect on an independently provisioned local Work provider. Please merge or link it with an existing issue if it shares the same underlying fix.

murumury avatar Nov 04 '26 10:11 murumury

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #59175

Powered by Codex Action

github-actions[bot] avatar Nov 04 '26 10:11 github-actions[bot]

This fits what the code does. The desktop lock is computed from the signed-in account's usage response (rate_limit.allowed === false), not from local usage, so exhausting the quota on another device or in a cloud task flips it for this device too, and the local custom provider is blocked even though it never touched that quota. Analysis and a workaround that re-enables sending in the desktop app (macOS 26.1117.31558): https://doer.ee/blog/ai/codex-desktop-locked-after-chatgpt-quota-with-a-custom-provider

doer-ee avatar Nov 21 '26 18:11 doer-ee