From 74bf471580f5d869de176636655c4c71c9431af3 Mon Sep 17 00:00:00 2001 From: CodeAnimal Date: Mon, 8 Jun 2026 17:21:36 +0100 Subject: [PATCH 1/3] Add DeepSeek-V4-Pro to Azure provider --- providers/azure/models/deepseek-v4-pro.toml | 23 +++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 providers/azure/models/deepseek-v4-pro.toml diff --git a/providers/azure/models/deepseek-v4-pro.toml b/providers/azure/models/deepseek-v4-pro.toml new file mode 100644 index 000000000..e30d3be86 --- /dev/null +++ b/providers/azure/models/deepseek-v4-pro.toml @@ -0,0 +1,23 @@ +name = "DeepSeek-V4-Pro" +family = "deepseek" +release_date = "2026-04-28" +last_updated = "2026-04-28" +attachment = false +reasoning = true +temperature = true +knowledge = "2025-05" +tool_call = true +structured_output = true +open_weights = true + +[cost] +input = 0.19 +output = 0.51 + +[limit] +context = 1_000_000 +output = 128_000 + +[modalities] +input = ["text"] +output = ["text"] From b821602bbd97128ca7a7733016d21b2e13ec12f6 Mon Sep 17 00:00:00 2001 From: CodeAnimal Date: Mon, 8 Jun 2026 17:21:48 +0100 Subject: [PATCH 2/3] Add DeepSeek-V4-Flash to Azure provider --- providers/azure/models/deepseek-v4-flash.toml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 providers/azure/models/deepseek-v4-flash.toml diff --git a/providers/azure/models/deepseek-v4-flash.toml b/providers/azure/models/deepseek-v4-flash.toml new file mode 100644 index 000000000..45122d7fe --- /dev/null +++ b/providers/azure/models/deepseek-v4-flash.toml @@ -0,0 +1,23 @@ +name = "DeepSeek-V4-Flash" +family = "deepseek-flash" +release_date = "2026-04-28" +last_updated = "2026-04-28" +attachment = false +reasoning = true +temperature = true +knowledge = "2025-05" +tool_call = true +structured_output = true +open_weights = true + +[cost] +input = 1.74 +output = 3.48 + +[limit] +context = 1_000_000 +output = 128_000 + +[modalities] +input = ["text"] +output = ["text"] From f83b8ea4a14527f9134156461d966b1c1ade9d8e Mon Sep 17 00:00:00 2001 From: CodeAnimal Date: Tue, 9 Jun 2026 09:53:54 +0100 Subject: [PATCH 3/3] Introduce base_model and other corrections based on feedback --- providers/azure/models/deepseek-v4-flash.toml | 23 +++++-------------- providers/azure/models/deepseek-v4-pro.toml | 23 +++++-------------- 2 files changed, 12 insertions(+), 34 deletions(-) diff --git a/providers/azure/models/deepseek-v4-flash.toml b/providers/azure/models/deepseek-v4-flash.toml index 45122d7fe..0ca4c6a8f 100644 --- a/providers/azure/models/deepseek-v4-flash.toml +++ b/providers/azure/models/deepseek-v4-flash.toml @@ -1,23 +1,12 @@ +base_model = "deepseek/deepseek-v4-flash" name = "DeepSeek-V4-Flash" -family = "deepseek-flash" -release_date = "2026-04-28" -last_updated = "2026-04-28" -attachment = false -reasoning = true -temperature = true -knowledge = "2025-05" -tool_call = true -structured_output = true -open_weights = true +tool_call = false [cost] input = 1.74 output = 3.48 -[limit] -context = 1_000_000 -output = 128_000 - -[modalities] -input = ["text"] -output = ["text"] +[provider] +shape = "completions" +npm = "@ai-sdk/openai-compatible" +api = "https://${AZURE_RESOURCE_NAME}.services.ai.azure.com/models" diff --git a/providers/azure/models/deepseek-v4-pro.toml b/providers/azure/models/deepseek-v4-pro.toml index e30d3be86..1ce549451 100644 --- a/providers/azure/models/deepseek-v4-pro.toml +++ b/providers/azure/models/deepseek-v4-pro.toml @@ -1,23 +1,12 @@ +base_model = "deepseek/deepseek-v4-pro" name = "DeepSeek-V4-Pro" -family = "deepseek" -release_date = "2026-04-28" -last_updated = "2026-04-28" -attachment = false -reasoning = true -temperature = true -knowledge = "2025-05" -tool_call = true -structured_output = true -open_weights = true +tool_call = false [cost] input = 0.19 output = 0.51 -[limit] -context = 1_000_000 -output = 128_000 - -[modalities] -input = ["text"] -output = ["text"] +[provider] +shape = "completions" +npm = "@ai-sdk/openai-compatible" +api = "https://${AZURE_RESOURCE_NAME}.services.ai.azure.com/models"