Skip to content

Automatic use API key once chatGPT account limits exceeded #2992

Open

Description

@anfedoro

What feature would you like to see?

Hello
Could you please add configuration to continue a workflow smoothly using API key once chatGPT account limits exceeded? Very convenient and do not break action in the middle of code change.

Thanks in advance

Are you interested in implementing this feature?

No response

Additional information

No response

Activity

  1. added
    enhancement
    on Aug 31, 2025
  2. anfedoro commented on Sep 2, 2025

    @anfedoro
    Author

    Probably closely related: #2733

    Not really. Using IDE extension you do not see an option to have both login and API. You have to log off before you see an option to connect using API KEY.
    If you login and reach your limits, you have manually logoff and force to use the KEY. Result - broken workflow and lost context.
    My expectation is that the agent continue workflow after login limit exhausted using the KEY.

  3. Sotiris-Bekiaris commented on Sep 2, 2025

    @Sotiris-Bekiaris

    Result - broken workflow and lost context.

    This is so true. Losing context also means higher token usage, which leads to hitting limits faster, spending more, and getting worse results.

    I’ve lost context before due to an authentication error right in the middle of a feature, and I had to log out and log back in.

    Lack of history is another known issue, and it should definitely be taken into consideration when switching from subscription to API key.

  4. jeffscottward commented on Sep 6, 2025

    @jeffscottward

    Probably closely related: #2733

    Not really. Using IDE extension you do not see an option to have both login and API. You have to log off before you see an option to connect using API KEY.
    If you login and reach your limits, you have manually logoff and force to use the KEY. Result - broken workflow and lost context.
    My expectation is that the agent continue workflow after login limit exhausted using the KEY.

    I don't even see that. Where do you see you can even put in any API credentials in the first place? It's only a ChatGPT login no? I'm not talking about the CLI only. I'm talking about the VS code extension. Like in the extensions side bar. And it looks like a ChatGPT UI.

  5. added
    auth
    on Feb 8, 2026
  6. wbdb commented on Mar 18, 2026

    @wbdb

    @etraut-openai @charley-oai Any update on this in light of the Responses API changes?
    #3942 (comment)

    From a company perspective, maintaining separate credit balances (API vs. in-app credits) adds unnecessary friction. Unifying or simplifying this would make it much easier to continue using OpenAI products without interruption.

    It would be especially helpful to allow users to provide an API key directly in the Codex app (or via config.toml). That way, when users hit limits (e.g., 5h or weekly caps), they can seamlessly continue working via the API.

    Also worth noting: both credits and API balances expire after a year, so aligning these systems would reduce confusion and overhead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    authenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions