Skip to content

Issue: OAuth + claude-opus-4-5 returns HTTP 500 #6637

Closed as not planned
Closed as not planned

Description

@sucruf111

Description

I was using Opencode with my Claude Max Subscription (OAuth) for a few days now and getting Internal Server Errors when its doing some work.

ERROR service=llm providerID=anthropic modelID=claude-opus-4-5 agent=build
error={
"name": "AI_APICallError",
"url": "https://api.anthropic.com/v1/messages",
"statusCode": 500
}

Notes:

  • OAuth authentication succeeds
  • Error occurs when making LLM request
  • Same issue with fresh session after /clear
  • Sonnet models may work (untested)

OpenCode version

Version 1.0.218

Steps to reproduce

  1. Authenticate via OAuth (/connect anthropic)
  2. Set model to claude-opus-4-5
  3. Send any prompt
  4. Receive "Internal Server Error"

Screenshot and/or share link

Image

Operating System

macOS 26.1 (25B78)

Terminal

Opencode TUI

Activity

  1. github-actions commented on Jan 2, 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. rekram1-node commented on Jan 2, 2026

    @rekram1-node
    Contributor

    Do u use the tui too? Can u try this in tui?

  3. sucruf111 commented on Jan 2, 2026

    @sucruf111
    Author

    Yes, this happened in the TUI.

  4. thdxr commented on Mar 25, 2026

    @thdxr
    Member

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

  5. removed
    bugSomething isn't working
    webRelates to opencode on web / desktop
    on May 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions