From d322c49fc5f4ce105e91c3f7c6de5f4231b8d70d Mon Sep 17 00:00:00 2001 From: smakosh Date: Sun, 7 Jun 2026 18:20:10 +0100 Subject: [PATCH 1/2] feat(llmgateway): add MiniMax M3 and Qwen3.7 Plus Add two new text models from the LLM Gateway catalog (https://api.llmgateway.io/v1/models), each as an llmgateway entry extending a canonical provider model: - minimax-m3 -> minimax/MiniMax-M3 - qwen3.7-plus -> alibaba/qwen3.7-plus Co-Authored-By: Claude Opus 4.8 (1M context) --- providers/alibaba/models/qwen3.7-plus.toml | 23 +++++++++++++++++++ providers/llmgateway/models/minimax-m3.toml | 2 ++ providers/llmgateway/models/qwen3.7-plus.toml | 2 ++ providers/minimax/models/MiniMax-M3.toml | 22 ++++++++++++++++++ 4 files changed, 49 insertions(+) create mode 100644 providers/alibaba/models/qwen3.7-plus.toml create mode 100644 providers/llmgateway/models/minimax-m3.toml create mode 100644 providers/llmgateway/models/qwen3.7-plus.toml create mode 100644 providers/minimax/models/MiniMax-M3.toml diff --git a/providers/alibaba/models/qwen3.7-plus.toml b/providers/alibaba/models/qwen3.7-plus.toml new file mode 100644 index 000000000..172eacc37 --- /dev/null +++ b/providers/alibaba/models/qwen3.7-plus.toml @@ -0,0 +1,23 @@ +name = "Qwen3.7 Plus" +family = "qwen" +release_date = "2026-06-07" +last_updated = "2026-06-07" +attachment = true +reasoning = true +temperature = true +tool_call = true +open_weights = false + +[cost] +input = 0.40 +output = 1.60 +cache_read = 0.08 +cache_write = 0.50 + +[limit] +context = 1_000_000 +output = 65_536 + +[modalities] +input = ["text", "image"] +output = ["text"] diff --git a/providers/llmgateway/models/minimax-m3.toml b/providers/llmgateway/models/minimax-m3.toml new file mode 100644 index 000000000..683f533e8 --- /dev/null +++ b/providers/llmgateway/models/minimax-m3.toml @@ -0,0 +1,2 @@ +[extends] +from = "minimax/MiniMax-M3" diff --git a/providers/llmgateway/models/qwen3.7-plus.toml b/providers/llmgateway/models/qwen3.7-plus.toml new file mode 100644 index 000000000..f084cc305 --- /dev/null +++ b/providers/llmgateway/models/qwen3.7-plus.toml @@ -0,0 +1,2 @@ +[extends] +from = "alibaba/qwen3.7-plus" diff --git a/providers/minimax/models/MiniMax-M3.toml b/providers/minimax/models/MiniMax-M3.toml new file mode 100644 index 000000000..222a3ca63 --- /dev/null +++ b/providers/minimax/models/MiniMax-M3.toml @@ -0,0 +1,22 @@ +name = "MiniMax M3" +family = "minimax" +release_date = "2026-06-07" +last_updated = "2026-06-07" +attachment = true +reasoning = true +temperature = true +tool_call = true +open_weights = true + +[cost] +input = 0.60 +output = 2.40 +cache_read = 0.12 + +[limit] +context = 1_048_576 +output = 131_072 + +[modalities] +input = ["text", "image"] +output = ["text"] From 257a4fd79c39c99e93c59fe162fd2a354d6a9d2d Mon Sep 17 00:00:00 2001 From: smakosh Date: Sun, 7 Jun 2026 18:29:09 +0100 Subject: [PATCH 2/2] fix(llmgateway): use base_model inheritance for MiniMax M3 and Qwen3.7 Plus Upstream renamed the inheritance keyword from [extends].from to base_model. Switch both new llmgateway entries to base_model so they inherit the shared canonical metadata and only override llmgateway cost. Co-Authored-By: Claude Opus 4.8 (1M context) --- providers/llmgateway/models/minimax-m3.toml | 8 ++++++-- providers/llmgateway/models/qwen3.7-plus.toml | 9 +++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/providers/llmgateway/models/minimax-m3.toml b/providers/llmgateway/models/minimax-m3.toml index 683f533e8..d3841b436 100644 --- a/providers/llmgateway/models/minimax-m3.toml +++ b/providers/llmgateway/models/minimax-m3.toml @@ -1,2 +1,6 @@ -[extends] -from = "minimax/MiniMax-M3" +base_model = "minimax/MiniMax-M3" + +[cost] +input = 0.6 +output = 2.4 +cache_read = 0.12 diff --git a/providers/llmgateway/models/qwen3.7-plus.toml b/providers/llmgateway/models/qwen3.7-plus.toml index f084cc305..a485b47a5 100644 --- a/providers/llmgateway/models/qwen3.7-plus.toml +++ b/providers/llmgateway/models/qwen3.7-plus.toml @@ -1,2 +1,7 @@ -[extends] -from = "alibaba/qwen3.7-plus" +base_model = "alibaba/qwen3.7-plus" + +[cost] +input = 0.4 +output = 1.6 +cache_read = 0.08 +cache_write = 0.5