Skip to content

claude-opus-4.5 on azure unusable #5294

Closed

Description

@dogmatic69

Description

Regardless of which azure I try, this is the result. (azure / cognitive services)

Image

OpenCode version

1.0.138

Steps to reproduce

  • /models -> select claude-opus-4.5
  • write prompt -> instant error.

Screenshot and/or share link

No response

Operating System

windows 11 / WSL2

Terminal

vscode built in

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Dec 9, 2025
  2. github-actions commented on Dec 9, 2025

    @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.

  3. rekram1-node commented on Dec 9, 2025

    @rekram1-node
    Collaborator

    Our azure stuff need a pass for sure lemme see, there may be a simple fix on ur end you can do for time being

  4. removed
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Dec 9, 2025
  5. self-assigned this
    on Dec 9, 2025
  6. rekram1-node commented on Dec 9, 2025

    @rekram1-node
    Collaborator

    Okay there is an issue in the ai sdk, they have an open pr to fix once it has been addressed we can fix easily here too.

    vercel/ai#10266

  7. tsuzaki430 commented on Dec 17, 2025

    @tsuzaki430

    Hello, I’m the author of vercel/ai#10266.

    I haven’t used opencode myself, but I have run the Anthropic Claude API in a Microsoft Foundry (Azure) environment using AI SDK.
    An example of that setup can be found in vercel/ai#10400.

    As you can see from the sample code at the URL below, it uses @ai-sdk/anthropic rather than @ai-sdk/azure, and the endpoint is configured via baseURL.
    I hope this is helpful.

    https://github.com/vercel/ai/blob/main/examples/next-openai/agent/anthropic-microsoft-agent.ts

  8. rekram1-node commented on Dec 17, 2025

    @rekram1-node
    Collaborator

    sweet ty

  9. brianyang commented on Dec 18, 2025

    @brianyang

    👓

  10. bluet commented on Jan 13, 2026

    @bluet
    Contributor

    I'm having the same issue with OpenCode 1.1.16 , is that something we need to fix in opencode, or need to wait for vercel/ai ?

  11. wzhliang commented on Mar 6, 2026

    @wzhliang

    is this working now with the latest everything?

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