litellm icon indicating copy to clipboard operation
litellm copied to clipboard

[Feature]: Anthropic Support on Azure AI Foundry

Open n3662 opened this issue 5 months ago • 3 comments

The Feature

Anthropic models are now available on Azure AI Foundry and it would be great if litellm supported it.

https://azure.microsoft.com/en-us/blog/introducing-anthropics-claude-models-in-microsoft-foundry-bringing-frontier-intelligence-to-azure/

Motivation, pitch

We want to expand our lineup of models offered from Azure.

LiteLLM is hiring a founding backend engineer, are you interested in joining us and shipping to all our users?

No

Twitter / LinkedIn details

No response

n3662 avatar Nov 19 '25 08:11 n3662

Currently, as a workaround, you could add an Anthropic model with the API key from Azure and change the base URL afterwards to: https://.services.ai.azure.com/anthropic/v1/messages

Which seems to work for me (from the GUI)

OhMyGuus avatar Nov 20 '25 16:11 OhMyGuus

It works in the proxy with this configuration for example

- model_name: claude-opus-4-1-20250805
  litellm_params:
    model: anthropic/claude-opus-4-1
    api_base: https://<project>.services.ai.azure.com/anthropic
    api_key: os.environ/AZURE_ANTHROPIC_API_KEY

r0mdau avatar Nov 21 '25 21:11 r0mdau

Thanks @OhMyGuus and @r0mdau . Got it working based on your suggestions, still be cool for the 1st party support though for ease of set up 😍

n3662 avatar Nov 22 '25 09:11 n3662