codex - 💡(How to fix) Fix Codex IDE extension prompts “add credits” even though credits are available [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#18234Fetched 2026-04-17 08:31:04
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Timeline (top)
labeled ×3commented ×1

The Codex VS Code extension is telling me I’ve hit my usage limit and inviting me to add credits, but the linked usage page shows that I still have credits available.

This appears to be a billing/limit handoff bug: the extension recognizes that my included weekly limit is exhausted, but does not fall through to using my available credits.

Root Cause

The Codex VS Code extension is telling me I’ve hit my usage limit and inviting me to add credits, but the linked usage page shows that I still have credits available.

This appears to be a billing/limit handoff bug: the extension recognizes that my included weekly limit is exhausted, but does not fall through to using my available credits.

RAW_BUFFERClick to expand / collapse

What version of the IDE extension are you using?

26.415.20818

What subscription do you have?

Plus

Which IDE are you using?

VS Code

What platform is your computer?

Windows 11 Home

What issue are you seeing?

Title Codex IDE extension prompts “add credits” even though credits are available and usage page confirms remaining balance

Body

Summary

The Codex VS Code extension is telling me I’ve hit my usage limit and inviting me to add credits, but the linked usage page shows that I still have credits available.

This appears to be a billing/limit handoff bug: the extension recognizes that my included weekly limit is exhausted, but does not fall through to using my available credits.

Environment

  • IDE: VS Code
  • OS: Windows 11 Home
  • Codex plugin version: 26.415.20818

What I’m seeing

In Codex, /status shows:

  • 5h limit: 100% left
  • 7d limit: 0% left

The extension then prompts me to add credits.

However, clicking the provided link opens the Codex usage page, which shows:

  • Credits remaining: 3,336
  • Use credits to send messages beyond your plan limit

So the account clearly has credits available, but the extension still behaves as though I need to add more.

What steps can reproduce the bug?

  1. Use Codex in the VS Code extension until the weekly included limit is exhausted.

  2. Confirm /status shows something like:

    • 5h limit: 100% left
    • 7d limit: 0% left
  3. Attempt to continue using Codex.

  4. Observe that the extension prompts to add credits.

  5. Click the provided link to the Codex usage page.

  6. Observe that the usage page shows available credits remaining.

What is the expected behavior?

Once the included weekly plan limit is exhausted, Codex should continue working by consuming available credits already on the account.

Actual behavior

The IDE extension prompts me to add credits and links to the credits page, but the credits page confirms that credits are already available.

Additional information

I also saw some instability around restoring a recent chat session in the plugin, although that session later reappeared. I’m not sure whether the session-restore issue is related to this billing/limit issue, but it may be worth checking.

I can provide screenshots of:

  • the /status output
  • the “add credits” prompt
  • the usage page showing 3,336 credits remaining

extent analysis

TL;DR

The Codex VS Code extension may not be correctly handling the transition from the included weekly limit to using available credits, prompting to add credits despite a remaining balance.

Guidance

  • Verify that the extension is correctly configured to use available credits once the weekly limit is exhausted by checking the extension's settings or documentation.
  • Check for any updates to the Codex VS Code extension, as this issue may be resolved in a later version.
  • Test the extension's behavior with a different account or a new chat session to isolate if the issue is specific to the current account or session.
  • Consider providing the mentioned screenshots to the support team for further investigation, especially if the issue persists after checking the above points.

Example

No code snippet is provided as the issue seems related to the extension's configuration or internal logic rather than a coding error.

Notes

The issue might be specific to the version of the Codex VS Code extension (26.415.20818) or the interaction with the Windows 11 Home environment. The mention of instability around restoring a recent chat session could be related but requires further investigation.

Recommendation

Apply workaround: Check for updates to the Codex VS Code extension and verify the extension's configuration to ensure it is set to use available credits once the weekly limit is exhausted. This approach is chosen because it directly addresses the potential misconfiguration or outdated version without requiring additional credits purchase.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Codex IDE extension prompts “add credits” even though credits are available [1 comments, 2 participants]