claude-opus-4.5 on azure unusable #3430

Closed
opened 2026-02-16 17:40:02 -05:00 by yindo · 7 comments
Owner

Originally created by @dogmatic69 on GitHub (Dec 9, 2025).

Originally assigned to: @rekram1-node on GitHub.

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

Originally created by @dogmatic69 on GitHub (Dec 9, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description Regardless of which azure I try, this is the result. (azure / cognitive services) <img width="979" height="259" alt="Image" src="https://github.com/user-attachments/assets/aa428fae-eca7-483f-b38b-940043a1d87d" /> ### 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
yindo added the bug label 2026-02-16 17:40:02 -05:00
yindo closed this issue 2026-02-16 17:40:03 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 9, 2025):

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

  • #4474: Add support for Anthropic models in Azure AI Foundry (feature request for Claude models on Azure)
  • #5012: DeepSeek model on Azure: "This model is not supported by Responses API" error (similar Azure provider errors with specific models)
  • #5211: Cant use Azure OpenAI (Azure provider configuration and model usage issues)
  • #4136: Setting up opencode with azure ai foundry (openai) project issue (Azure integration configuration problems)
  • #4374: File system operations fail on windows with azure provider (Azure provider issues on Windows)

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

@github-actions[bot] commented on GitHub (Dec 9, 2025): This issue might be a duplicate of existing issues. Please check: - #4474: Add support for Anthropic models in Azure AI Foundry (feature request for Claude models on Azure) - #5012: DeepSeek model on Azure: "This model is not supported by Responses API" error (similar Azure provider errors with specific models) - #5211: Cant use Azure OpenAI (Azure provider configuration and model usage issues) - #4136: Setting up opencode with azure ai foundry (openai) project issue (Azure integration configuration problems) - #4374: File system operations fail on windows with azure provider (Azure provider issues on Windows) Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Dec 9, 2025):

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

@rekram1-node commented on GitHub (Dec 9, 2025): 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
Author
Owner

@rekram1-node commented on GitHub (Dec 9, 2025):

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.

https://github.com/vercel/ai/pull/10266

@rekram1-node commented on GitHub (Dec 9, 2025): 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. https://github.com/vercel/ai/pull/10266
Author
Owner

@tsuzaki430 commented on GitHub (Dec 17, 2025):

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

@tsuzaki430 commented on GitHub (Dec 17, 2025): 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](https://github.com/vercel/ai/blob/main/examples/next-openai/agent/anthropic-microsoft-agent.ts)
Author
Owner

@rekram1-node commented on GitHub (Dec 17, 2025):

sweet ty

@rekram1-node commented on GitHub (Dec 17, 2025): sweet ty
Author
Owner

@brianyang commented on GitHub (Dec 17, 2025):

👓

@brianyang commented on GitHub (Dec 17, 2025): 👓
Author
Owner

@bluet commented on GitHub (Jan 13, 2026):

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 ?

@bluet commented on GitHub (Jan 13, 2026): 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 ?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3430