Share via

Are Anthropic models deployed via Azure AI Foundry officially supported with third-party tools such as HAI or Cline?

S, Keerthi Malini 40 Reputation points
2025-12-15T17:54:03.64+00:00

I have deployed an Anthropic model (Claude) using Azure AI Foundry. The deployment is successful and accessible from the Azure portal.

I am trying to use this deployment with HAI / Cline (VS Code extension) by configuring the provider as OpenAI-compatible, using:

•	Endpoint URL from Azure AI Foundry

•	API key generated from the Foundry resource

•	Model ID / deployment name

However, when making requests from HAI / Cline, the requests consistently fail with a 404 error.

What I have tried:

  • Provider type: OpenAI-compatible
  • Endpoint: Azure AI Foundry endpoint
  • API Key: Foundry-generated key
  • Model ID: Claude deployment name
  • Public networking enabled

Despite this, the tool returns 404 – Not Found, while the model appears healthy in Azure.

image

User's image

url : https://foundary-test-eastus-dev-01.services.ai.azure.com/anthropic/v1/messages

Foundry Tools
Foundry Tools

Formerly known as Azure AI Services or Azure Cognitive Services is a unified collection of prebuilt AI capabilities within the Microsoft Foundry platform


Answer accepted by question author and recommended by moderator

  1. Gowtham CP 7,955 Reputation points Volunteer Moderator
    2025-12-16T08:33:28.48+00:00

    Hi S, Keerthi Malini ,

    Thanks for the question.

    Anthropic (Claude) models deployed via Azure AI Foundry are not officially supported with third-party tools like HAI or Cline using a generic “OpenAI-compatible” configuration.

    1. Why you see 404 errors HAI / Cline expect standard OpenAI REST paths when configured as OpenAI-compatible (for example /v1/chat/completions). However, Claude deployments in Azure AI Foundry know how to respond only to Foundry-specific inference APIs (for example /anthropic/v1/messages). Since the request path does not match what the tool sends, Azure returns 404 – Resource not found.

    2. Deployment health vs tool compatibility Seeing the model as “healthy” in the Azure portal only confirms that the deployment works with Foundry-supported SDKs and APIs. It does not imply compatibility with third-party OpenAI-style clients.

    3. What is supported today Claude models in Azure AI Foundry are supported via:

    Azure AI Foundry SDKs and REST APIs

    Foundry / Azure-provided samples and tooling

    Third-party tools like HAI or Cline require explicit support for Azure AI Foundry endpoints; using them as plain OpenAI-compatible providers is not supported at this time.

    References: https://learn.microsoft.com/azure/ai-foundry/foundry-models/how-to/use-foundry-models-claude https://learn.microsoft.com/azure/ai-foundry/openai/reference

    I hope this clarifies the behavior. If this answers your question, please accept it to close the thread.

    0 comments No comments

Answer accepted by question author

  1. GD-2997 75 Reputation points
    2025-12-16T21:53:08.95+00:00

    While technically the correct answer to the question - the OP will want to use the Anthropic API provider in external tools. This is likely because the OpenAI standard API will not support things like Anthropic's caching. But the Azure Foundry API endpoints appear fully compliant with Anthropic's API and do not do anything crazy Foundry specific.

    Another gotcha: the base URL is expected with the /anthropic route at the end.

    See the screenshot below for a working config example:

    Screenshot 2025-12-16 at 22.43.53

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.