Skip to content

OpenAI does Not work when trying with Organization Subscription #7570

Closed

Description

@shoaibsharif

Description

Hi, I have trying to login with my Organization Pro subscription. this is what i get. Is this expected behavior?

Image

Plugins

none

OpenCode version

1.1.11

Steps to reproduce

  1. Go to opencode auth login
  2. connect openai pro/plus subscription
  3. complete authentication
  4. just type anything
  5. It throws error: "Usage not included in your plan"

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on Jan 10, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  2. plxzy commented on Jan 10, 2026

    @plxzy

    Same issue. For some reason opencode sees Business subscription as "x-codex-plan-type: free".

  3. fatihdogmus commented on Jan 10, 2026

    @fatihdogmus

    yeah same thing, the new auth flow does not work with bussiness plans

  4. hezhexi2002 commented on Jan 10, 2026

    @hezhexi2002

    Hi, I’m experiencing the same issue.
    When using a organization subscription, I’m unable to run models properly in opencode.

    Could you please share if there has been any update or workaround for this problem? I’d like to follow the latest progress.

    Thanks!

  5. OmerFarukOruc commented on Jan 10, 2026

    @OmerFarukOruc
    Image
  6. shariqriazz commented on Jan 10, 2026

    @shariqriazz

    having the same issue, hope its resolved soon

  7. rekram1-node commented on Jan 10, 2026

    @rekram1-node
    Collaborator

    merged PR that claims to fix, it lgtm but I can't test it myself, I tested pre-existing functionality and that still works so cutting a release

  8. OmerFarukOruc commented on Jan 10, 2026

    @OmerFarukOruc

    Let me try @rekram1-node
    Is it going to be fixed with v1.1.12?
    I guess, I need to wait for https://github.com/anomalyco/opencode/actions/runs/20879328107 to be completed first

  9. rekram1-node commented on Jan 10, 2026

    @rekram1-node
    Collaborator

    yeah it should be

  10. OmerFarukOruc commented on Jan 10, 2026

    @OmerFarukOruc
    Image
  11. rubencallewaert commented on Jan 10, 2026

    @rubencallewaert

    Can confirm, not yet fixed.

  12. fatihdogmus commented on Jan 10, 2026

    @fatihdogmus

    I updated the opencode, then did opencode auth logout and login again at now it seems to be working

  13. rubencallewaert commented on Jan 10, 2026

    @rubencallewaert

    I updated the opencode, then did opencode auth logout and login again at now it seems to be working

    Unfortunately this does not seem to be the case for me despite logging out and in multiple times.

  14. hank9999 commented on Jan 10, 2026

    @hank9999

    rekram1-node Hi, I analyzed the request, I found a header was missing in the opencode request. chatgpt-account-id
    If I add this manually, it's back to working immediately

    Update:
    I have known how to make it work now. It was fixed in 1.1.12, and need to run command to logout opencode auth logout to refresh account id in credential files! Thank you.

  15. hank9999 commented on Jan 10, 2026

    @hank9999

    I updated the opencode, then did opencode auth logout and login again at now it seems to be working

    Unfortunately this does not seem to be the case for me despite logging out and in multiple times.

    Did you try opencode auth logout?

  16. rekram1-node commented on Jan 10, 2026

    @rekram1-node
    Collaborator

    talked to others you should only need to reauth and it should work again and make sure you are on 1.1.12

  17. rubencallewaert commented on Jan 10, 2026

    @rubencallewaert

    I was on 1.1.12 and I did reauth multiple times, after logging out with opencode auth logout the difference is when I wanted to connect again I did it via the TUI, so in the TUI

    /connect
    

    This didn't work.

    Now I tried it again with but after opencode auth logout via the cli I also used opencode auth login, this worked. So there's definitely something still broken in the TUI.

  18. robin-liquidium commented on Jan 10, 2026

    @robin-liquidium

    I updated the opencode, then did opencode auth logout and login again at now it seems to be working

    this worked for me, thank you!

    1. update to the latest opencode version
    2. run opencode auth logout
    3. run opencode auth login
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions