diff --git a/providers/azure/models/claude-haiku-4-5.toml b/providers/azure/models/claude-haiku-4-5.toml index 0d5f43170..264a91885 100644 --- a/providers/azure/models/claude-haiku-4-5.toml +++ b/providers/azure/models/claude-haiku-4-5.toml @@ -25,4 +25,5 @@ input = ["text", "image", "pdf"] output = ["text"] [provider] -npm = "@ai-sdk/anthropic" \ No newline at end of file +npm = "@ai-sdk/anthropic" +api = "https://${AZURE_COGNITIVE_SERVICES_RESOURCE_NAME}.services.ai.azure.com/anthropic/v1" diff --git a/providers/azure/models/claude-opus-4-1.toml b/providers/azure/models/claude-opus-4-1.toml index eb236343f..76e951253 100644 --- a/providers/azure/models/claude-opus-4-1.toml +++ b/providers/azure/models/claude-opus-4-1.toml @@ -25,4 +25,5 @@ input = ["text", "image", "pdf"] output = ["text"] [provider] -npm = "@ai-sdk/anthropic" \ No newline at end of file +npm = "@ai-sdk/anthropic" +api = "https://${AZURE_COGNITIVE_SERVICES_RESOURCE_NAME}.services.ai.azure.com/anthropic/v1" diff --git a/providers/azure/models/claude-opus-4-5.toml b/providers/azure/models/claude-opus-4-5.toml index c9b68ee60..25319b37d 100644 --- a/providers/azure/models/claude-opus-4-5.toml +++ b/providers/azure/models/claude-opus-4-5.toml @@ -24,4 +24,5 @@ input = ["text", "image", "pdf"] output = ["text"] [provider] -npm = "@ai-sdk/anthropic" \ No newline at end of file +npm = "@ai-sdk/anthropic" +api = "https://${AZURE_COGNITIVE_SERVICES_RESOURCE_NAME}.services.ai.azure.com/anthropic/v1" diff --git a/providers/azure/models/claude-opus-4-6.toml b/providers/azure/models/claude-opus-4-6.toml index a2b35d540..1b8a77a2e 100644 --- a/providers/azure/models/claude-opus-4-6.toml +++ b/providers/azure/models/claude-opus-4-6.toml @@ -31,3 +31,4 @@ output = ["text"] [provider] npm = "@ai-sdk/anthropic" +api = "https://${AZURE_COGNITIVE_SERVICES_RESOURCE_NAME}.services.ai.azure.com/anthropic/v1" diff --git a/providers/azure/models/claude-sonnet-4-5.toml b/providers/azure/models/claude-sonnet-4-5.toml index ef38f0ae9..212e17bb2 100644 --- a/providers/azure/models/claude-sonnet-4-5.toml +++ b/providers/azure/models/claude-sonnet-4-5.toml @@ -25,4 +25,5 @@ input = ["text", "image", "pdf"] output = ["text"] [provider] -npm = "@ai-sdk/anthropic" \ No newline at end of file +npm = "@ai-sdk/anthropic" +api = "https://${AZURE_COGNITIVE_SERVICES_RESOURCE_NAME}.services.ai.azure.com/anthropic/v1"