Skip to content

Support OpenAI subscriptions #74

Closed

Description

@steipete

Currently we support Anthropic or API.

Eventually I would like to support OpenAl subscriptions as well.
Investigate https://github.com/numman-ali/opencode-openai-codex-auth

Problem is that likely requires hacks.

Activity

  1. added
    enhancement
    on Jan 1, 2026
  2. rsaisankalp commented on Jan 2, 2026

    @rsaisankalp

    It will be super useful

  3. thewilloftheshadow commented on Jan 2, 2026

    @thewilloftheshadow
    Member

    Definitely interested and gonna +1 this one, I'm pretty much solely a ChatGPT + Codex user at this point bc it just works, and so I'd love for my clawdis to use that as well

  4. ben-vargas commented on Jan 2, 2026

    @ben-vargas

    Yeah, point an agent at the opencode plugin, or my https://github.com/ben-vargas/ai-sdk-provider-chatgpt-oauth repo or CLIProxyAPI and simply ask it to add OAuth support and I'm sure it will get it done.

    It involves exchanging tokens with appropriate headers, using codex specific backend API which OpenAI uses for codex, and including the full system prompt codex CLI uses - those combined and ChatGPT Sub use is definitely possible.

  5. ben-vargas commented on Jan 3, 2026

    @ben-vargas

    Another option if you don't want to bake in the spoofing/workaround might be to use the new configurable proxy support of pi for custom models and CLIProxyAPI.

    Example config working in pi... https://x.com/benvargas/status/2007307565370425434

  6. steipete commented on Jan 7, 2026

    @steipete
    ContributorAuthor

    This works now.

  7. added a commit that references this issue on Feb 4, 2026
  8. added a commit that references this issue on Feb 22, 2026
  9. locked as resolved and limited conversation to collaborators on Mar 8, 2026
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

    enhancement

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions