codex icon indicating copy to clipboard operation
codex copied to clipboard

Pro: purchased credits consumed while weekly allowance simultaneously dropped 19% → 2% (`codex exec`, v0.159.2)

Open GrandStudes opened this issue 2 months ago • 7 comments

Summary

I am on ChatGPT Pro and use Codex CLI programmatically through codex exec from a Python application.

On 2026-10-01, I observed what appears to be a billing / usage-metering error: my included weekly Pro allowance and my separately purchased credit balance were both being consumed during the same period.

Recorded values:

Metric Earlier Later
Weekly included allowance remaining 19% 2%
Purchased credit balance ~62,500 59,845
Purchased credits deducted ~2,655

I stopped all Codex activity after confirming this behavior in order to prevent further unexpected credit consumption.

The Usage dashboard attributes the purchased-credit deductions to Service: Exec, which matches my use of codex exec.

Environment

  • Subscription: ChatGPT Pro
  • Codex CLI: v0.159.2
  • Model: GPT-5.6-Terra
  • Reasoning effort: xhigh
  • Invocation: codex exec, launched programmatically from a Python application
  • Billing context: ChatGPT Pro account with separately purchased ChatGPT/Codex usage credits
  • Date observed: 2026-10-01

Evidence

I recorded two states:

Earlier state

  • Weekly included allowance: 19% remaining
  • Purchased credits: approximately 62,500
  • Usage dashboard already showed purchased-credit deductions under Service: Exec

Later state

CLI /status reported:

  • Account: Pro
  • Codex: v0.159.2
  • Model: GPT-5.6-Terra (reasoning xhigh)
  • Weekly limit: 2% left
  • Credits: 59,845

During this same interval, the included weekly allowance fell by 17 percentage points while approximately 2,655 purchased credits were also deducted.

The issue is not that xhigh or a large workload consumes quota quickly. The issue is that two separate usage pools were decreasing simultaneously.

I have screenshots of:

  1. the Usage dashboard showing multiple Exec credit deductions while weekly allowance remained; and
  2. the CLI /status state showing 2% weekly allowance still remaining and 59,845 credits.

I have omitted account identifiers and session identifiers from this public report. I can provide timestamps/session details privately if maintainers need them for server-side reconciliation.

Why this appears inconsistent with documented behavior

OpenAI's current Help Center documentation says:

“Your plan's included usage is used first. After you hit plan limits, usage draws from your credit balance.”

Source: https://help.openai.com/en/articles/12642688-using-credits-for-flexible-usage-in-chatgpt-personal-plans

The same page describes credits as a pay-as-you-go add-on for usage beyond plan limits, and says that already-used credits can be reviewed for a verified billing correction.

The current Codex pricing / usage documentation is here: https://developers.openai.com/codex/pricing

Based on this, I expected purchased credits not to be charged while applicable included Pro usage was still available.

If there is another applicable limit bucket that can trigger paid-credit billing before the displayed weekly allowance reaches zero, please identify that bucket and explain why the weekly allowance continued to decrease at the same time.

Actual behavior

While continuing the same codex exec workload:

  1. Weekly included allowance was still available at 19% remaining.
  2. Purchased-credit transactions appeared under Exec.
  3. The weekly allowance continued decreasing.
  4. Purchased credits also continued decreasing.
  5. Later /status showed 2% weekly allowance still remaining and 59,845 credits.
  6. I stopped the workload to avoid further deductions.

So approximately 2,655 purchased credits were consumed before the displayed weekly allowance reached zero.

Expected behavior

One of the following would be expected:

  • applicable included Pro usage continues to be consumed until the relevant plan limit is reached, and only then purchased credits begin to be used; or
  • if a different limit bucket is actually responsible for switching to credits, that limit should be clearly exposed in /status / Usage and the billing transition should be auditable.

What should not happen without a clear explanation is for the displayed weekly included allowance and purchased credit balance to both decrease during the same usage period.

Related reports

This appears closely related to several existing reports:

  • #49528 — Weekly allowance shows 25% remaining while Work/Codex credits decrease and credit usage history is empty
    https://github.com/openai/codex/issues/49528

  • #41628 — Paid credits silently drawn down while 84% of weekly allowance remains
    https://github.com/openai/codex/issues/41628

  • #15959 — Codex CLI consumed top-up credits while weekly quota was still available
    https://github.com/openai/codex/issues/15959

  • #41220 — Abnormal Codex usage/quota depletion and usage-accounting inconsistencies — cross-report tracker
    https://github.com/openai/codex/issues/41220

  • #28382 — Add a toggle to prevent automatic use of purchased Codex credits
    https://github.com/openai/codex/issues/28382

I am not claiming that all of these reports have the same root cause, but the user-visible billing symptom is very similar.

Requested investigation and credit restoration

Please investigate the server-side billing / metering ledger for the affected Exec sessions and determine why purchased credits were selected while included weekly usage was still available and simultaneously decreasing.

I am specifically requesting:

  1. Restore the approximately 2,655 purchased credits deducted during the period in which the weekly allowance decreased from 19% remaining to 2% remaining, if those deductions were made while applicable included Pro usage was still available.
  2. Review the entire affected period and restore any additional purchased credits that were incorrectly deducted before the applicable included allowance was exhausted.
  3. Confirm whether this account was affected by the same or a related issue as #49528 / #41628 / #15959.
  4. Explain which exact limit is supposed to trigger purchased-credit billing for Pro, and why both balances decreased in parallel.
  5. Improve /status / Usage so that any limit responsible for switching to paid credits is clearly visible and auditable.
  6. Provide a way to disable automatic purchased-credit consumption, or require explicit confirmation before switching from included usage to paid credits.

I have also contacted OpenAI Support and requested a billing correction / credit restoration. A technical determination here would help reconcile the account and prevent additional unexpected charges.

Thanks.

GrandStudes avatar Oct 01 '26 04:10 GrandStudes

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

  • #49528

Powered by Codex Action

github-actions[bot] avatar Oct 01 '26 04:10 github-actions[bot]

Update: Support response vs. persisted Codex telemetry

I provided OpenAI Support with the exact session IDs, timestamps, concurrency details, screenshots, and sanitized Codex rollout telemetry from the affected executions.

The telemetry contains Codex rate_limits snapshots with:

  • plan_type: "pro"
  • limit_id: "codex"
  • window_minutes: 10080 (7 days)
  • used_percent
  • credits.balance

The snapshots show the seven-day Codex allowance below 100% while the purchased credit balance decreases during the same period.

Representative examples:

  • Session 01a0f4ee-8a2b-7212-91f9-5d6f1281af7d: weekly usage 85% → 88%, credits 60,962.18855 → 60,720.27930.
  • Session 01a0f4f9-9aab-7ec2-974a-a8c5b7588078: weekly usage 87% → 88%, credits 60,945.552525 → 60,715.529425.
  • Session 01a0f53b-8cde-7f60-a619-615e4ac290b7: weekly usage 97% → 98%, credits 60,122.25810 → 59,889.43600.

OpenAI's published documentation states:

"Your plan's included usage is used first. After you hit plan limits, usage draws from your credit balance."

https://help.openai.com/en/articles/12642688-using-credits-for-flexible-usage-in-chatgpt-personal-plans

Support has so far declined the requested credit restoration because they said they could not conclusively verify incorrect deductions.

The unresolved question is therefore:

Which exact plan limit was exhausted, with what value and reset time, when purchased-credit billing began in these sessions?

Support also suggested temporarily avoiding concurrent codex exec workloads while explicitly stating that concurrency had not been confirmed as the cause. I have not found documentation stating that Pro users may not run concurrent Codex executions, or that concurrency changes the billing order so that purchased credits are used before applicable included usage is exhausted.

I am still requesting restoration of the approximately 2,655 disputed credits, plus any additional credits the authoritative server-side ledger shows were deducted while applicable included Pro usage remained available.

Support case: 16129137.

A response from the Codex metering/billing engineering team identifying the exact billing trigger for these sessions would be very helpful.

GrandStudes avatar Oct 01 '26 07:10 GrandStudes

Update: Support now acknowledges the simultaneous changes, but still refuses a billing correction

I want to document the latest response from OpenAI Support in Case 16129137, because it makes the contradiction even clearer.

Support now explicitly says that the records I provided show the seven-day Codex usage meter and the purchased credit balance changing during overlapping time windows.

At the same time, Support says it has not completed an authoritative server-side ledger reconciliation that can identify which backend entitlement or billing event produced each credit debit.

Despite that, Support still refuses to restore the disputed credits.

This is an important distinction:

The problem is no longer a lack of evidence from the customer. The problem is that Support has not completed the backend reconciliation required to explain the billing.

I have already provided:

  • exact session IDs;
  • exact UTC timestamps;
  • timezone;
  • Codex CLI version;
  • source=exec / originator=codex_exec;
  • concurrency information;
  • screenshots;
  • weekly usage percentages;
  • purchased credit balances;
  • sanitized rollout telemetry containing Codex rate_limits snapshots.

Those snapshots include, in the same records:

  • plan_type: "pro"
  • limit_id: "codex"
  • window_minutes: 10080 (7 days)
  • used_percent
  • credits.balance

And they show the seven-day Codex allowance still below 100% while purchased credits are decreasing.

Representative examples already supplied to Support:

Session 01a0f4ee-8a2b-7212-91f9-5d6f1281af7d

  • weekly usage: 85% → 88% used
  • credits: 60,962.18855 → 60,720.27930

Approximately 241.90925 purchased credits were deducted while 12–15% of the weekly allowance remained.

Session 01a0f4f9-9aab-7ec2-974a-a8c5b7588078

  • weekly usage: 87% → 88% used
  • credits: 60,945.552525 → 60,715.529425

Session 01a0f53b-8cde-7f60-a619-615e4ac290b7

  • weekly usage: 97% → 98% used
  • credits: 60,122.25810 → 59,889.43600

So purchased credits were still decreasing while the seven-day allowance had 2–3% remaining.

OpenAI's own documentation states:

“Your plan's included usage is used first. After you hit plan limits, usage draws from your credit balance.”

https://help.openai.com/en/articles/12642688-using-credits-for-flexible-usage-in-chatgpt-personal-plans

That published rule is difficult to reconcile with the telemetry above.

Support's latest position is essentially:

  1. the supplied records do show the weekly meter and credit balance changing at the same time;
  2. Support does not have enough authoritative backend ledger detail to identify the exact billing trigger;
  3. no server-side reconciliation is documented as completed;
  4. nevertheless, no credit restoration is being applied;
  5. and the customer is being asked to reproduce the issue again.

That is not a satisfactory resolution of a billing dispute.

If Support lacks authoritative ledger detail, then the appropriate next step should be to escalate the existing sessions to the Codex billing/metering engineering team that has access to the authoritative ledger.

Asking the customer to intentionally reproduce the issue again, risking additional purchased credits, does not solve the stated problem. Another client-side session ID does not create the missing backend ledger access.

Concurrency is still not an explanation

Support again recommends avoiding multiple concurrent codex exec workloads, but explicitly says:

“This guidance does not mean that concurrent execution has been confirmed as the cause.”

So concurrency has not been established as the cause.

I am not aware of any published OpenAI rule that prohibits a ChatGPT Pro user from running multiple Codex executions concurrently.

I am also not aware of any documentation saying that concurrent executions change the billing order and allow purchased credits to be consumed before applicable included usage is exhausted.

If OpenAI believes concurrency changes the billing behavior, then OpenAI should publish and identify that rule.

What I am asking OpenAI to answer publicly and in Support

For at least one supplied session ID, please identify:

  1. which exact backend entitlement or limit was exhausted;
  2. its value at the time;
  3. its reset time;
  4. the timestamp at which it was exhausted;
  5. the billing rule that caused purchased-credit usage to begin while the seven-day Codex meter was still below 100%.

If the deductions were valid, this should be explainable from the authoritative server-side ledger.

If they were not valid, the approximately 2,655 disputed purchased credits should be restored, along with any additional credits the ledger shows were deducted while applicable included Pro usage remained available.

At this point, Support's response appears internally contradictory and inconsistent with OpenAI's published billing guidance.

I am documenting this publicly because the evidence already supplied shows the disputed behavior, while Support is declining correction without identifying the supposed exhausted limit and without completing the authoritative ledger reconciliation it says is necessary.

I am formally disputing these deductions and asking for escalation to the Codex metering/billing engineering team.

GrandStudes avatar Oct 01 '26 13:10 GrandStudes

New evidence: the same double-consumption occurred with only one Codex instance running

I have now reviewed an earlier part of the affected period, before the later multi-instance workload.

This is important because it rules out the suggestion that the disputed billing behavior requires concurrent codex exec instances.

At the time of the session below, I was running only a single application instance.

Single-instance session

Session:

01a0f22a-7f6e-7b50-b92f-46b3079f617a

Source: exec
Originator: codex_exec
CLI: 0.155.0

Time:

  • start: 2026-09-30 11:54:26 UTC
  • end: 2026-09-30 12:05:54 UTC

The persisted Codex rate_limits telemetry shows:

  • weekly usage remained at 67% used
  • purchased credit balance changed from 62,500 to 62,498.99305, then to 62,495.33035

So purchased credits began decreasing while approximately 33% of the seven-day Codex allowance was still available.

This is especially relevant because the two other application instances documented later in this issue did not begin until:

  • content-bot-29e: 2026-10-01 00:47:50 UTC
  • content-bot-35p: 2026-10-01 00:49:09 UTC

That is roughly 12 hours after the single-instance debit above.

Therefore, the observed credit deduction in this earlier session cannot be attributed to concurrency between those later instances. More importantly, I was in fact using only one instance at the time of this earlier debit.

This directly undermines the repeated Support workaround suggesting that I avoid concurrent codex exec workloads.

OpenAI's current documentation states:

“Your plan's included usage is used first. After you hit plan limits, usage draws from your credit balance.”

https://help.openai.com/en/articles/12642688-using-credits-for-flexible-usage-in-chatgpt-personal-plans

The same billing behavior therefore appears in both situations:

  1. single-instance usage, with the weekly meter at only 67% used;
  2. later multi-instance usage, with the weekly meter still below 100%.

The unresolved issue is not concurrency. The unresolved issue is that purchased credits were being consumed while included Pro usage still remained available.

I am now doing a deeper local analysis of the rollout files to correlate each credit-balance decrease with the exact local operation immediately preceding it (model turn, token-count event, tool call, skill invocation, subagent spawn, compaction/review activity, etc.). I will add those findings here when the analysis is complete.

Support case: 16129137.

I am still requesting authoritative server-side ledger reconciliation and restoration of the disputed credits if OpenAI cannot identify a valid exhausted entitlement that triggered paid-credit billing.

GrandStudes avatar Oct 01 '26 15:10 GrandStudes

Deeper rollout analysis: no special skill/subagent trigger; credit debits occur during ordinary model turns

I completed the deeper local correlation analysis mentioned in my previous update.

The analyzer processed the content-bot-20t rollout history for the affected period:

  • 73 Codex exec sessions
  • 693 rate-limit snapshots
  • 319 distinct decreases in credits.balance
  • 2,628.931925 credits of observed balance decrease across those snapshots

The operation immediately preceding each recorded credit decrease was:

  • 280 / 319: a normal tool output
  • 39 / 319: a normal assistant message

The 180-second lookback windows contained:

  • exec tool activity for 309 credit-decrease events
  • wait activity for 24
  • no special structural marker at all for any of the 319 events

Most importantly, the analysis found:

  • no skill invocation correlated with the credit drops
  • no subagent/spawn-agent marker
  • no multi-agent marker
  • no guardian/review marker
  • no compaction marker
  • no MCP marker

All 319 observed credit-decrease events were under:

  • model: gpt-5.6-terra
  • reasoning effort: xhigh

This does not prove which backend entitlement caused the charge; only OpenAI's server-side billing ledger can establish that. But it strongly suggests that the disputed purchased-credit consumption is not explained by a special skill, subagent, review workflow, compaction step, or other exceptional Codex feature. The balance decreases occur alongside ordinary model execution.

There are also concrete credit-decrease events with no recent tool call at all.

For example, in the original single-instance session:

01a0f22a-7f6e-7b50-b92f-46b3079f617a

the second recorded decrease was:

  • credits: 62,498.99305 → 62,495.33035
  • weekly usage: 67% → 67%
  • last local operation: ordinary assistant message
  • recent tools: none
  • recent skills: none
  • rate-limit reason: not reported

So the credit decrease cannot be attributed only to the exec tool itself.

The first decrease in the same session was:

  • credits: 62,500 → 62,498.99305
  • weekly usage: 67% → 67%
  • weekly window: 10,080 minutes
  • no skill marker
  • no special-agent/review/compaction marker

During the earlier period on 2026-09-30, when I was running only the single content-bot-20t instance, the analyzer identified 211 credit-decrease events totaling approximately 1,269.11205 credits, while the weekly Codex meter was still only in the 67%–82% used range.

This further weakens the repeated suggestion that concurrent Codex instances are relevant to the root cause.

The evidence now points to the ordinary Codex model-turn path itself being associated with the purchased-credit debits, while the visible seven-day included-usage meter remained below 100%.

I am doing one additional pass to expose every backend-supplied rate-limit field preserved in the local telemetry, including any secondary window, individual_limit, spend_control_reached, and rate_limit_reached_type values. That will help determine whether the client received any hidden entitlement state that could explain the switch to paid credits.

Support case: 16129137.

If OpenAI believes these deductions were correct, please identify the exact exhausted backend entitlement and reconcile it against these session timestamps. Otherwise the disputed purchased credits should be restored.

GrandStudes avatar Oct 01 '26 15:10 GrandStudes

Update: v2 telemetry analysis found no secondary/individual limit signal when credits were debited

I ran a second-pass analysis over the sanitized Codex rollout telemetry for content-bot-20t, specifically extracting every entitlement/rate-limit field exposed in the persisted RateLimitSnapshot alongside each purchased-credit balance decrease.

Results across the analyzed 72-hour window:

  • 73 sessions parsed
  • 693 rate-limit snapshots
  • 319 separate decreases of credits.balance
  • 2,628.931925 credits of observed balance decrease
  • all 319 debit events used limit_id = "codex"
  • all 319 were on gpt-5.6-terra with reasoning_effort = xhigh

Most importantly, for all 319 observed credit-debit events, the persisted Codex rate-limit snapshots contained:

  • secondary_used_percent = null
  • secondary_window_minutes = null
  • secondary_reset_unix = null
  • no individual_limit
  • no individual_used
  • individual_remaining_percent = null
  • spend_control_reached = null
  • empty rate_limit_reached_type

This does not prove that no additional backend-only entitlement exists. It does show that the Codex telemetry which reported the weekly allowance and purchased-credit balance at the same time did not report any secondary/individual exhausted limit or rate-limit-reached reason that would explain switching to purchased credits.

The earliest debit remains especially clear:

Session: 01a0f22a-7f6e-7b50-b92f-46b3079f617a

At 2026-09-30 12:01:45.204 UTC:

  • purchased credits: 62,500 → 62,498.99305
  • seven-day Codex usage: 67% → 67% used
  • window_minutes = 10080
  • limit_id = "codex"
  • secondary limit: not present
  • individual spend limit: not present
  • spend_control_reached = null
  • rate_limit_reached_type: not present

A second debit in the same session occurred at 12:05:54.383 UTC:

  • purchased credits: 62,498.99305 → 62,495.33035
  • weekly usage: still 67% → 67%
  • no secondary limit
  • no individual limit
  • no rate-limit-reached reason
  • no recent skill/tool marker; the last local operation was an ordinary assistant response

The operation correlation also found:

  • 280/319 debit snapshots immediately followed a normal tool output
  • 39/319 immediately followed an ordinary assistant message
  • no special structural markers were detected around any of the 319 debit events
  • no explicit skill/subagent/guardian/review/compaction trigger was identified by this analysis

So the evidence currently points away from a special skill, subagent, or concurrent-process feature being necessary to trigger the credit consumption. Purchased credits were being debited during ordinary Codex model turns while the persisted seven-day Codex allowance remained below 100%.

OpenAI's current documentation still says that included usage is consumed first and credits are used after plan limits are reached: https://help.openai.com/en/articles/12642688-using-credits-for-flexible-usage-in-chatgpt-personal-plans

The current Pro documentation likewise states: “Included usage is used first, followed by your credit balance.” https://help.openai.com/en/articles/9793128-about-chatgpt-pro-tiers

Therefore, the unresolved question for Support/engineering is now even more specific:

What exact backend entitlement was exhausted at the first debit timestamp, if the persisted Codex snapshot showed 67% weekly usage, no secondary limit, no individual limit, no spend-control state, and no rate-limit-reached reason?

If that entitlement exists only in an authoritative backend ledger and is intentionally not surfaced to Codex telemetry, Support should identify it from that ledger. If no such exhausted entitlement exists, the disputed credits should be restored.

Support case: 16129137.

GrandStudes avatar Oct 01 '26 15:10 GrandStudes

even though i had 100% usage for the week, today i noticed both my usage got used up and also 40000 credits got depleted!!how can that just go off in a day>???? i need explanation

I am not sure why we got the 60K odd credits and the so called resets if both are eaten away!

sriinnu avatar Oct 15 '26 19:10 sriinnu