From f30ddacb5c5afa4548d92eaadecba74f1db06265 Mon Sep 17 00:00:00 2001 From: sahabatmobile Date: Thu, 5 Nov 2026 09:55:11 +0700 Subject: [PATCH 1/7] Add SahabatMobile provider --- providers/sahabatmobile/logo.svg | 3 +++ providers/sahabatmobile/models/MiniMax-M3.toml | 17 +++++++++++++++++ providers/sahabatmobile/models/mimo-v2.5.toml | 17 +++++++++++++++++ providers/sahabatmobile/models/qwen3.8-max.toml | 17 +++++++++++++++++ providers/sahabatmobile/provider.toml | 5 +++++ 5 files changed, 59 insertions(+) create mode 100644 providers/sahabatmobile/logo.svg create mode 100644 providers/sahabatmobile/models/MiniMax-M3.toml create mode 100644 providers/sahabatmobile/models/mimo-v2.5.toml create mode 100644 providers/sahabatmobile/models/qwen3.8-max.toml create mode 100644 providers/sahabatmobile/provider.toml diff --git a/providers/sahabatmobile/logo.svg b/providers/sahabatmobile/logo.svg new file mode 100644 index 0000000000..8a4ae9c338 --- /dev/null +++ b/providers/sahabatmobile/logo.svg @@ -0,0 +1,3 @@ + + + diff --git a/providers/sahabatmobile/models/MiniMax-M3.toml b/providers/sahabatmobile/models/MiniMax-M3.toml new file mode 100644 index 0000000000..57095f0593 --- /dev/null +++ b/providers/sahabatmobile/models/MiniMax-M3.toml @@ -0,0 +1,17 @@ +# SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-05) +# Toggle: thinking.type = "enabled"|"disabled" (default disabled; proxied to upstream MiniMax API) +# https://platform.minimax.io/docs/guides/text-generation +schema = 2 +base_model = "minimax/MiniMax-M3" + +[capabilities] +reasoning = { supported = true, default = { type = "toggle", value = false }, toggle = true } + +[api.chat-completions] +compatibility = { reasoning_field = "reasoning_content" } + +[cost.text.input] +price = 0.30 + +[cost.text.output] +price = 1.20 diff --git a/providers/sahabatmobile/models/mimo-v2.5.toml b/providers/sahabatmobile/models/mimo-v2.5.toml new file mode 100644 index 0000000000..5e00583301 --- /dev/null +++ b/providers/sahabatmobile/models/mimo-v2.5.toml @@ -0,0 +1,17 @@ +# SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-05) +# Toggle: thinking.type = "enabled"|"disabled" (default enabled; proxied to upstream Xiaomi API) +# https://platform.xiaomimimo.com/static/docs/api/chat/openai-api.md +schema = 2 +base_model = "xiaomi/mimo-v2.5" + +[capabilities] +reasoning = { supported = true, default = { type = "toggle", value = true }, toggle = true } + +[api.chat-completions] +compatibility = { reasoning_field = "reasoning_content" } + +[cost.text.input] +price = 0.15 + +[cost.text.output] +price = 0.45 diff --git a/providers/sahabatmobile/models/qwen3.8-max.toml b/providers/sahabatmobile/models/qwen3.8-max.toml new file mode 100644 index 0000000000..420ec6a8f0 --- /dev/null +++ b/providers/sahabatmobile/models/qwen3.8-max.toml @@ -0,0 +1,17 @@ +# SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-05) +# Toggle: enable_thinking true|false; Effort: reasoning_effort = low|medium|xhigh; Budget: thinking_budget (0..262144, reasoning tokens, not combinable with reasoning_effort) +# Reasoning wire paths per upstream Qwen docs: https://docs.qwencloud.com/developer-guides/text-generation/thinking +schema = 2 +base_model = "alibaba/qwen3.8-max" + +[capabilities] +reasoning = { supported = true, default = { type = "effort", value = "xhigh" }, toggle = true, effort = ["low", "medium", "xhigh"], budget = { min = 0, max = 262_144 } } + +[api.chat-completions] +compatibility = { reasoning_field = "reasoning_content" } + +[cost.text.input] +price = 2.00 + +[cost.text.output] +price = 6.00 diff --git a/providers/sahabatmobile/provider.toml b/providers/sahabatmobile/provider.toml new file mode 100644 index 0000000000..353fa6380d --- /dev/null +++ b/providers/sahabatmobile/provider.toml @@ -0,0 +1,5 @@ +name = "SahabatMobile" +npm = "@ai-sdk/openai-compatible" +api = "https://www.sahabatmobile.com/api/v1" +env = ["SAHABAT_API_KEY"] +doc = "https://www.sahabatmobile.com/docs" From 860ac47c043da066680f268676899c1996d3053f Mon Sep 17 00:00:00 2001 From: sahabatmobile Date: Thu, 5 Nov 2026 10:00:29 +0700 Subject: [PATCH 2/7] Add opencodeai entry point, align MiniMax toggle wire values, cite served-model evidence --- providers/sahabatmobile/models/MiniMax-M3.toml | 2 +- providers/sahabatmobile/models/mimo-v2.5.toml | 1 + providers/sahabatmobile/provider.toml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/providers/sahabatmobile/models/MiniMax-M3.toml b/providers/sahabatmobile/models/MiniMax-M3.toml index 57095f0593..476d8872b3 100644 --- a/providers/sahabatmobile/models/MiniMax-M3.toml +++ b/providers/sahabatmobile/models/MiniMax-M3.toml @@ -1,5 +1,5 @@ # SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-05) -# Toggle: thinking.type = "enabled"|"disabled" (default disabled; proxied to upstream MiniMax API) +# Toggle: thinking.type = "adaptive"|"disabled" (default disabled; proxied to upstream MiniMax API) # https://platform.minimax.io/docs/guides/text-generation schema = 2 base_model = "minimax/MiniMax-M3" diff --git a/providers/sahabatmobile/models/mimo-v2.5.toml b/providers/sahabatmobile/models/mimo-v2.5.toml index 5e00583301..aae1705672 100644 --- a/providers/sahabatmobile/models/mimo-v2.5.toml +++ b/providers/sahabatmobile/models/mimo-v2.5.toml @@ -1,6 +1,7 @@ # SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-05) # Toggle: thinking.type = "enabled"|"disabled" (default enabled; proxied to upstream Xiaomi API) # https://platform.xiaomimimo.com/static/docs/api/chat/openai-api.md +# Served by SahabatMobile per first-party model list (MiMo Direct): https://www.sahabatmobile.com/docs (accessed 2026-11-05) schema = 2 base_model = "xiaomi/mimo-v2.5" diff --git a/providers/sahabatmobile/provider.toml b/providers/sahabatmobile/provider.toml index 353fa6380d..75d3e219d5 100644 --- a/providers/sahabatmobile/provider.toml +++ b/providers/sahabatmobile/provider.toml @@ -1,5 +1,6 @@ name = "SahabatMobile" npm = "@ai-sdk/openai-compatible" +opencodeai = "@opencode/ai/providers/openai-compatible" api = "https://www.sahabatmobile.com/api/v1" env = ["SAHABAT_API_KEY"] doc = "https://www.sahabatmobile.com/docs" From 182fcc78e5670e9e497491f0f17de4f70ab280b8 Mon Sep 17 00:00:00 2001 From: sahabatmobile Date: Sun, 15 Nov 2026 12:50:32 +0700 Subject: [PATCH 3/7] Add SahabatMobile model catalog expansion Adds 8 models served directly by the SahabatMobile API (OpenAI-compatible): - Claude Sonnet 5.5, Opus 4.6, Opus 4.8, Haiku 5.5 (Anthropic direct) - LongCat 2.5 Preview, LongCat 2.0 (LongCat direct provider) - MiMo v2.6 Pro and Flash (Xiaomi MiMo Direct) Retail pricing = official upstream price per model, sourced from SahabatMobile dashboard/packages (accessed 2026-11-15) with upstream docs citations in each file. Revalidated with bun run validate (exit 0). --- .../sahabatmobile/models/LongCat-2.0.toml | 20 ++++++++++++++++++ .../models/LongCat-2.5-Preview.toml | 21 +++++++++++++++++++ .../models/claude-haiku-5-5.toml | 19 +++++++++++++++++ .../sahabatmobile/models/claude-opus-4-6.toml | 19 +++++++++++++++++ .../sahabatmobile/models/claude-opus-4-8.toml | 19 +++++++++++++++++ .../models/claude-sonnet-5-5.toml | 19 +++++++++++++++++ .../sahabatmobile/models/mimo-v2.6-flash.toml | 20 ++++++++++++++++++ .../sahabatmobile/models/mimo-v2.6-pro.toml | 20 ++++++++++++++++++ 8 files changed, 157 insertions(+) create mode 100644 providers/sahabatmobile/models/LongCat-2.0.toml create mode 100644 providers/sahabatmobile/models/LongCat-2.5-Preview.toml create mode 100644 providers/sahabatmobile/models/claude-haiku-5-5.toml create mode 100644 providers/sahabatmobile/models/claude-opus-4-6.toml create mode 100644 providers/sahabatmobile/models/claude-opus-4-8.toml create mode 100644 providers/sahabatmobile/models/claude-sonnet-5-5.toml create mode 100644 providers/sahabatmobile/models/mimo-v2.6-flash.toml create mode 100644 providers/sahabatmobile/models/mimo-v2.6-pro.toml diff --git a/providers/sahabatmobile/models/LongCat-2.0.toml b/providers/sahabatmobile/models/LongCat-2.0.toml new file mode 100644 index 0000000000..15ff75be50 --- /dev/null +++ b/providers/sahabatmobile/models/LongCat-2.0.toml @@ -0,0 +1,20 @@ +# SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-15) +# Retail = official LongCat price; LongCat served as a direct provider (api.longcat.chat). +# Served via SahabatMobile's OpenAI-compatible API. +schema = 2 +base_model = "meituan/longcat-2.0" + +[capabilities] +reasoning = { supported = true, toggle = true } + +[limit] +context = 1_048_576 + +[api.chat-completions] +compatibility = { reasoning_field = "reasoning_content" } + +[cost.text.input] +price = 0.3 + +[cost.text.output] +price = 1.2 diff --git a/providers/sahabatmobile/models/LongCat-2.5-Preview.toml b/providers/sahabatmobile/models/LongCat-2.5-Preview.toml new file mode 100644 index 0000000000..0b44f3a36b --- /dev/null +++ b/providers/sahabatmobile/models/LongCat-2.5-Preview.toml @@ -0,0 +1,21 @@ +# SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-15) +# Retail = official LongCat price; LongCat served as a direct provider (api.longcat.chat). +# Served via SahabatMobile's OpenAI-compatible API. +schema = 2 +base_model = "meituan/longcat-2.5-preview" + +[capabilities] +reasoning = { supported = true, toggle = true } + +[limit] +context = 1_048_576 +output = 262_144 + +[api.chat-completions] +compatibility = { reasoning_field = "reasoning_content" } + +[cost.text.input] +price = 0.3 + +[cost.text.output] +price = 1.2 diff --git a/providers/sahabatmobile/models/claude-haiku-5-5.toml b/providers/sahabatmobile/models/claude-haiku-5-5.toml new file mode 100644 index 0000000000..14ed6165c3 --- /dev/null +++ b/providers/sahabatmobile/models/claude-haiku-5-5.toml @@ -0,0 +1,19 @@ +# SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-15) +# Retail = official Anthropic price; upstream pricing: https://platform.claude.com/docs/en/about-claude/pricing +# Served via SahabatMobile's OpenAI-compatible API over Anthropic direct. +schema = 2 +base_model = "anthropic/claude-haiku-5-5" + +[capabilities] +tools = { supported = true, choice = ["auto", "none", "required", "tool"] } +reasoning = { supported = true, toggle = true, effort = ["low", "medium", "high", "xhigh", "max"] } +structured_output = true + +[api.chat-completions] +compatibility = { reasoning_field = "reasoning_content" } + +[cost.text.input] +price = 0.1 + +[cost.text.output] +price = 0.5 diff --git a/providers/sahabatmobile/models/claude-opus-4-6.toml b/providers/sahabatmobile/models/claude-opus-4-6.toml new file mode 100644 index 0000000000..101dbd2b7d --- /dev/null +++ b/providers/sahabatmobile/models/claude-opus-4-6.toml @@ -0,0 +1,19 @@ +# SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-15) +# Retail = official Anthropic price; upstream pricing: https://platform.claude.com/docs/en/about-claude/pricing +# Served via SahabatMobile's OpenAI-compatible API over Anthropic direct. +schema = 2 +base_model = "anthropic/claude-opus-4-6" + +[capabilities] +tools = { supported = true, choice = ["auto", "none", "required", "tool"] } +reasoning = { supported = true, effort = ["low", "medium", "high", "max"], budget = { min = 1_024 } } +structured_output = true + +[api.chat-completions] +compatibility = { reasoning_field = "reasoning_content" } + +[cost.text.input] +price = 5 + +[cost.text.output] +price = 25 diff --git a/providers/sahabatmobile/models/claude-opus-4-8.toml b/providers/sahabatmobile/models/claude-opus-4-8.toml new file mode 100644 index 0000000000..3b3af4d662 --- /dev/null +++ b/providers/sahabatmobile/models/claude-opus-4-8.toml @@ -0,0 +1,19 @@ +# SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-15) +# Retail = official Anthropic price; upstream pricing: https://platform.claude.com/docs/en/about-claude/pricing +# Served via SahabatMobile's OpenAI-compatible API over Anthropic direct. +schema = 2 +base_model = "anthropic/claude-opus-4-8" + +[capabilities] +tools = { supported = true, choice = ["auto", "none", "required", "tool"] } +reasoning = { supported = true, effort = ["low", "medium", "high", "xhigh", "max"] } +structured_output = true + +[api.chat-completions] +compatibility = { reasoning_field = "reasoning_content" } + +[cost.text.input] +price = 5 + +[cost.text.output] +price = 25 diff --git a/providers/sahabatmobile/models/claude-sonnet-5-5.toml b/providers/sahabatmobile/models/claude-sonnet-5-5.toml new file mode 100644 index 0000000000..5b5fd45b58 --- /dev/null +++ b/providers/sahabatmobile/models/claude-sonnet-5-5.toml @@ -0,0 +1,19 @@ +# SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-15) +# Retail = official Anthropic price; upstream pricing: https://platform.claude.com/docs/en/about-claude/pricing +# Served via SahabatMobile's OpenAI-compatible API over Anthropic direct. +schema = 2 +base_model = "anthropic/claude-sonnet-5-5" + +[capabilities] +tools = { supported = true, choice = ["auto", "none"] } +reasoning = { supported = true, effort = ["low", "medium", "high", "xhigh", "max"] } +structured_output = true + +[api.chat-completions] +compatibility = { reasoning_field = "reasoning_content" } + +[cost.text.input] +price = 2 + +[cost.text.output] +price = 10 diff --git a/providers/sahabatmobile/models/mimo-v2.6-flash.toml b/providers/sahabatmobile/models/mimo-v2.6-flash.toml new file mode 100644 index 0000000000..f6f076590d --- /dev/null +++ b/providers/sahabatmobile/models/mimo-v2.6-flash.toml @@ -0,0 +1,20 @@ +# SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-15) +# Retail = official Xiaomi MiMo price; upstream pricing per Xiaomi MiMo API docs: +# https://platform.xiaomimimo.com (MiMo Direct) +# Served via SahabatMobile's OpenAI-compatible API over MiMo Direct. +schema = 2 +base_model = "xiaomi/mimo-v2.6-flash" + +[capabilities] +tools = { supported = true, strict = true, choice = ["auto"] } +reasoning = { supported = true, default = { type = "toggle", value = true }, toggle = true } +structured_output = true + +[api.chat-completions] +compatibility = { reasoning_field = "reasoning_content" } + +[cost.text.input] +price = 0.14 + +[cost.text.output] +price = 0.28 diff --git a/providers/sahabatmobile/models/mimo-v2.6-pro.toml b/providers/sahabatmobile/models/mimo-v2.6-pro.toml new file mode 100644 index 0000000000..db960c55c7 --- /dev/null +++ b/providers/sahabatmobile/models/mimo-v2.6-pro.toml @@ -0,0 +1,20 @@ +# SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-15) +# Retail = official Xiaomi MiMo price; upstream pricing per Xiaomi MiMo API docs: +# https://platform.xiaomimimo.com (MiMo Direct) +# Served via SahabatMobile's OpenAI-compatible API over MiMo Direct. +schema = 2 +base_model = "xiaomi/mimo-v2.6-pro" + +[capabilities] +tools = { supported = true, strict = true, choice = ["auto"] } +reasoning = { supported = true, default = { type = "toggle", value = true }, toggle = true } +structured_output = true + +[api.chat-completions] +compatibility = { reasoning_field = "reasoning_content" } + +[cost.text.input] +price = 0.435 + +[cost.text.output] +price = 0.87 From 2f8b313adedc1ba39bebf4b2ac3f7e9b0b5917e3 Mon Sep 17 00:00:00 2001 From: sahabatmobile Date: Mon, 16 Nov 2026 17:31:11 +0000 Subject: [PATCH 4/7] Address review: document mimo-v2.5 alias serving & official price, haiku tiered cost overrides, toggle wire comments, host capability deltas --- providers/sahabatmobile/models/LongCat-2.0.toml | 4 +++- .../sahabatmobile/models/LongCat-2.5-Preview.toml | 3 ++- providers/sahabatmobile/models/MiniMax-M3.toml | 4 ++++ .../sahabatmobile/models/claude-haiku-5-5.toml | 13 ++++++++++++- .../sahabatmobile/models/claude-sonnet-5-5.toml | 1 - providers/sahabatmobile/models/mimo-v2.5.toml | 13 ++++++++----- providers/sahabatmobile/models/mimo-v2.6-flash.toml | 2 ++ providers/sahabatmobile/models/mimo-v2.6-pro.toml | 2 ++ 8 files changed, 33 insertions(+), 9 deletions(-) diff --git a/providers/sahabatmobile/models/LongCat-2.0.toml b/providers/sahabatmobile/models/LongCat-2.0.toml index 15ff75be50..f676aea250 100644 --- a/providers/sahabatmobile/models/LongCat-2.0.toml +++ b/providers/sahabatmobile/models/LongCat-2.0.toml @@ -1,4 +1,5 @@ # SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-15) +# Toggle: thinking.type = enabled|disabled # Retail = official LongCat price; LongCat served as a direct provider (api.longcat.chat). # Served via SahabatMobile's OpenAI-compatible API. schema = 2 @@ -6,12 +7,13 @@ base_model = "meituan/longcat-2.0" [capabilities] reasoning = { supported = true, toggle = true } +temperature = false [limit] context = 1_048_576 [api.chat-completions] -compatibility = { reasoning_field = "reasoning_content" } +compatibility = { reasoning_field = "reasoning_content", max_tokens_field = "max_tokens" } [cost.text.input] price = 0.3 diff --git a/providers/sahabatmobile/models/LongCat-2.5-Preview.toml b/providers/sahabatmobile/models/LongCat-2.5-Preview.toml index 0b44f3a36b..698b401399 100644 --- a/providers/sahabatmobile/models/LongCat-2.5-Preview.toml +++ b/providers/sahabatmobile/models/LongCat-2.5-Preview.toml @@ -1,4 +1,5 @@ # SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-15) +# Toggle: thinking.type = enabled|disabled # Retail = official LongCat price; LongCat served as a direct provider (api.longcat.chat). # Served via SahabatMobile's OpenAI-compatible API. schema = 2 @@ -12,7 +13,7 @@ context = 1_048_576 output = 262_144 [api.chat-completions] -compatibility = { reasoning_field = "reasoning_content" } +compatibility = { reasoning_field = "reasoning_content", max_tokens_field = "max_tokens" } [cost.text.input] price = 0.3 diff --git a/providers/sahabatmobile/models/MiniMax-M3.toml b/providers/sahabatmobile/models/MiniMax-M3.toml index 476d8872b3..57676de767 100644 --- a/providers/sahabatmobile/models/MiniMax-M3.toml +++ b/providers/sahabatmobile/models/MiniMax-M3.toml @@ -7,6 +7,10 @@ base_model = "minimax/MiniMax-M3" [capabilities] reasoning = { supported = true, default = { type = "toggle", value = false }, toggle = true } +[limit] +context = 1_000_000 +output = 524_288 + [api.chat-completions] compatibility = { reasoning_field = "reasoning_content" } diff --git a/providers/sahabatmobile/models/claude-haiku-5-5.toml b/providers/sahabatmobile/models/claude-haiku-5-5.toml index 14ed6165c3..eb8ae39196 100644 --- a/providers/sahabatmobile/models/claude-haiku-5-5.toml +++ b/providers/sahabatmobile/models/claude-haiku-5-5.toml @@ -1,5 +1,8 @@ # SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-15) -# Retail = official Anthropic price; upstream pricing: https://platform.claude.com/docs/en/about-claude/pricing +# Retail = official Anthropic price, tiered by prompt length: prompts over 100,000 tokens bill at the higher tier (overrides below). +# upstream pricing: https://platform.claude.com/docs/en/about-claude/pricing +# Toggle: thinking.type = adaptive|disabled (default adaptive; disabled accepted at effort <= high, rejected at xhigh/max) +# https://platform.claude.com/docs/en/about-claude/effort # Served via SahabatMobile's OpenAI-compatible API over Anthropic direct. schema = 2 base_model = "anthropic/claude-haiku-5-5" @@ -15,5 +18,13 @@ compatibility = { reasoning_field = "reasoning_content" } [cost.text.input] price = 0.1 +[[cost.text.input.overrides]] +when = { context = { gt = 100_000 } } +price = 0.5 + [cost.text.output] price = 0.5 + +[[cost.text.output.overrides]] +when = { context = { gt = 100_000 } } +price = 2.5 diff --git a/providers/sahabatmobile/models/claude-sonnet-5-5.toml b/providers/sahabatmobile/models/claude-sonnet-5-5.toml index 5b5fd45b58..db1463bd63 100644 --- a/providers/sahabatmobile/models/claude-sonnet-5-5.toml +++ b/providers/sahabatmobile/models/claude-sonnet-5-5.toml @@ -5,7 +5,6 @@ schema = 2 base_model = "anthropic/claude-sonnet-5-5" [capabilities] -tools = { supported = true, choice = ["auto", "none"] } reasoning = { supported = true, effort = ["low", "medium", "high", "xhigh", "max"] } structured_output = true diff --git a/providers/sahabatmobile/models/mimo-v2.5.toml b/providers/sahabatmobile/models/mimo-v2.5.toml index aae1705672..e892c6930a 100644 --- a/providers/sahabatmobile/models/mimo-v2.5.toml +++ b/providers/sahabatmobile/models/mimo-v2.5.toml @@ -1,7 +1,10 @@ -# SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-05) -# Toggle: thinking.type = "enabled"|"disabled" (default enabled; proxied to upstream Xiaomi API) +# SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/admin/pricing (accessed 2026-11-16) +# Retail = official Xiaomi price; the V2.5 series is priced the same as V2.6: https://mimo.mi.com/static/docs/news/latest/v2-6.md +# Serving: Xiaomi retired the mimo-v2.5 upstream ID on 2026-10-21 (400 "Unsupported model"), but SahabatMobile's +# gateway aliases mimo-v2.5 -> mimo-v2.6-flash (ai.model_redirects in config/ai.php), so requests stay callable +# and are served by mimo-v2.6-flash over MiMo Direct (own master key), billed under the called slug. +# Toggle: thinking.type = "enabled"|"disabled" (default enabled) # https://platform.xiaomimimo.com/static/docs/api/chat/openai-api.md -# Served by SahabatMobile per first-party model list (MiMo Direct): https://www.sahabatmobile.com/docs (accessed 2026-11-05) schema = 2 base_model = "xiaomi/mimo-v2.5" @@ -12,7 +15,7 @@ reasoning = { supported = true, default = { type = "toggle", value = true }, tog compatibility = { reasoning_field = "reasoning_content" } [cost.text.input] -price = 0.15 +price = 0.14 [cost.text.output] -price = 0.45 +price = 0.28 diff --git a/providers/sahabatmobile/models/mimo-v2.6-flash.toml b/providers/sahabatmobile/models/mimo-v2.6-flash.toml index f6f076590d..678ba44901 100644 --- a/providers/sahabatmobile/models/mimo-v2.6-flash.toml +++ b/providers/sahabatmobile/models/mimo-v2.6-flash.toml @@ -1,4 +1,5 @@ # SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-15) +# Toggle: thinking.type = "enabled"|"disabled" (default enabled) # Retail = official Xiaomi MiMo price; upstream pricing per Xiaomi MiMo API docs: # https://platform.xiaomimimo.com (MiMo Direct) # Served via SahabatMobile's OpenAI-compatible API over MiMo Direct. @@ -9,6 +10,7 @@ base_model = "xiaomi/mimo-v2.6-flash" tools = { supported = true, strict = true, choice = ["auto"] } reasoning = { supported = true, default = { type = "toggle", value = true }, toggle = true } structured_output = true +top_k = false [api.chat-completions] compatibility = { reasoning_field = "reasoning_content" } diff --git a/providers/sahabatmobile/models/mimo-v2.6-pro.toml b/providers/sahabatmobile/models/mimo-v2.6-pro.toml index db960c55c7..6ef4ad8426 100644 --- a/providers/sahabatmobile/models/mimo-v2.6-pro.toml +++ b/providers/sahabatmobile/models/mimo-v2.6-pro.toml @@ -1,4 +1,5 @@ # SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-15) +# Toggle: thinking.type = "enabled"|"disabled" (default enabled) # Retail = official Xiaomi MiMo price; upstream pricing per Xiaomi MiMo API docs: # https://platform.xiaomimimo.com (MiMo Direct) # Served via SahabatMobile's OpenAI-compatible API over MiMo Direct. @@ -9,6 +10,7 @@ base_model = "xiaomi/mimo-v2.6-pro" tools = { supported = true, strict = true, choice = ["auto"] } reasoning = { supported = true, default = { type = "toggle", value = true }, toggle = true } structured_output = true +top_k = false [api.chat-completions] compatibility = { reasoning_field = "reasoning_content" } From 4cb29c8eab3dc830b9806cac5791db5f5d49ae71 Mon Sep 17 00:00:00 2001 From: sahabatmobile Date: Mon, 16 Nov 2026 18:10:47 +0000 Subject: [PATCH 5/7] Cite official vendor pricing sources in headers, add MiniMax-M3 512K tier overrides --- providers/sahabatmobile/models/LongCat-2.0.toml | 5 ++--- .../sahabatmobile/models/LongCat-2.5-Preview.toml | 5 ++--- providers/sahabatmobile/models/MiniMax-M3.toml | 10 +++++++++- providers/sahabatmobile/models/claude-haiku-5-5.toml | 5 ++--- providers/sahabatmobile/models/claude-opus-4-6.toml | 3 +-- providers/sahabatmobile/models/claude-opus-4-8.toml | 3 +-- providers/sahabatmobile/models/claude-sonnet-5-5.toml | 3 +-- providers/sahabatmobile/models/mimo-v2.5.toml | 3 +-- providers/sahabatmobile/models/mimo-v2.6-flash.toml | 5 ++--- providers/sahabatmobile/models/mimo-v2.6-pro.toml | 5 ++--- providers/sahabatmobile/models/qwen3.8-max.toml | 2 +- 11 files changed, 24 insertions(+), 25 deletions(-) diff --git a/providers/sahabatmobile/models/LongCat-2.0.toml b/providers/sahabatmobile/models/LongCat-2.0.toml index f676aea250..bf1aac2efd 100644 --- a/providers/sahabatmobile/models/LongCat-2.0.toml +++ b/providers/sahabatmobile/models/LongCat-2.0.toml @@ -1,7 +1,6 @@ -# SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-15) +# Price (USD/MTok) = official LongCat price (limited-time discounted rate): https://longcat.chat/platform/docs/pricing/longcat-2.0 # Toggle: thinking.type = enabled|disabled -# Retail = official LongCat price; LongCat served as a direct provider (api.longcat.chat). -# Served via SahabatMobile's OpenAI-compatible API. +# LongCat served as a direct provider (api.longcat.chat), via SahabatMobile's OpenAI-compatible API. schema = 2 base_model = "meituan/longcat-2.0" diff --git a/providers/sahabatmobile/models/LongCat-2.5-Preview.toml b/providers/sahabatmobile/models/LongCat-2.5-Preview.toml index 698b401399..d5ef274efa 100644 --- a/providers/sahabatmobile/models/LongCat-2.5-Preview.toml +++ b/providers/sahabatmobile/models/LongCat-2.5-Preview.toml @@ -1,7 +1,6 @@ -# SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-15) +# Price (USD/MTok) = official LongCat price (limited-time discounted rate): https://longcat.chat/platform/docs/pricing/longcat-2.5 # Toggle: thinking.type = enabled|disabled -# Retail = official LongCat price; LongCat served as a direct provider (api.longcat.chat). -# Served via SahabatMobile's OpenAI-compatible API. +# LongCat served as a direct provider (api.longcat.chat), via SahabatMobile's OpenAI-compatible API. schema = 2 base_model = "meituan/longcat-2.5-preview" diff --git a/providers/sahabatmobile/models/MiniMax-M3.toml b/providers/sahabatmobile/models/MiniMax-M3.toml index 57676de767..fcb0c442c5 100644 --- a/providers/sahabatmobile/models/MiniMax-M3.toml +++ b/providers/sahabatmobile/models/MiniMax-M3.toml @@ -1,4 +1,4 @@ -# SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-05) +# Price (USD/MTok) = official MiniMax price; source: https://platform.minimax.io/docs/pricing/overview#models/text # Toggle: thinking.type = "adaptive"|"disabled" (default disabled; proxied to upstream MiniMax API) # https://platform.minimax.io/docs/guides/text-generation schema = 2 @@ -17,5 +17,13 @@ compatibility = { reasoning_field = "reasoning_content" } [cost.text.input] price = 0.30 +[[cost.text.input.overrides]] +when = { context = { gt = 512_000 } } +price = 0.60 + [cost.text.output] price = 1.20 + +[[cost.text.output.overrides]] +when = { context = { gt = 512_000 } } +price = 2.40 diff --git a/providers/sahabatmobile/models/claude-haiku-5-5.toml b/providers/sahabatmobile/models/claude-haiku-5-5.toml index eb8ae39196..12e76f4756 100644 --- a/providers/sahabatmobile/models/claude-haiku-5-5.toml +++ b/providers/sahabatmobile/models/claude-haiku-5-5.toml @@ -1,6 +1,5 @@ -# SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-15) -# Retail = official Anthropic price, tiered by prompt length: prompts over 100,000 tokens bill at the higher tier (overrides below). -# upstream pricing: https://platform.claude.com/docs/en/about-claude/pricing +# Price (USD/MTok) = official Anthropic price, tiered by prompt length: prompts over 100,000 tokens bill at the higher tier (overrides below). +# source: https://platform.claude.com/docs/en/about-claude/pricing # Toggle: thinking.type = adaptive|disabled (default adaptive; disabled accepted at effort <= high, rejected at xhigh/max) # https://platform.claude.com/docs/en/about-claude/effort # Served via SahabatMobile's OpenAI-compatible API over Anthropic direct. diff --git a/providers/sahabatmobile/models/claude-opus-4-6.toml b/providers/sahabatmobile/models/claude-opus-4-6.toml index 101dbd2b7d..a0a2dd3da2 100644 --- a/providers/sahabatmobile/models/claude-opus-4-6.toml +++ b/providers/sahabatmobile/models/claude-opus-4-6.toml @@ -1,5 +1,4 @@ -# SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-15) -# Retail = official Anthropic price; upstream pricing: https://platform.claude.com/docs/en/about-claude/pricing +# Price (USD/MTok) = official Anthropic price; source: https://platform.claude.com/docs/en/about-claude/pricing # Served via SahabatMobile's OpenAI-compatible API over Anthropic direct. schema = 2 base_model = "anthropic/claude-opus-4-6" diff --git a/providers/sahabatmobile/models/claude-opus-4-8.toml b/providers/sahabatmobile/models/claude-opus-4-8.toml index 3b3af4d662..8f07874c70 100644 --- a/providers/sahabatmobile/models/claude-opus-4-8.toml +++ b/providers/sahabatmobile/models/claude-opus-4-8.toml @@ -1,5 +1,4 @@ -# SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-15) -# Retail = official Anthropic price; upstream pricing: https://platform.claude.com/docs/en/about-claude/pricing +# Price (USD/MTok) = official Anthropic price; source: https://platform.claude.com/docs/en/about-claude/pricing # Served via SahabatMobile's OpenAI-compatible API over Anthropic direct. schema = 2 base_model = "anthropic/claude-opus-4-8" diff --git a/providers/sahabatmobile/models/claude-sonnet-5-5.toml b/providers/sahabatmobile/models/claude-sonnet-5-5.toml index db1463bd63..b3c7bf2a0d 100644 --- a/providers/sahabatmobile/models/claude-sonnet-5-5.toml +++ b/providers/sahabatmobile/models/claude-sonnet-5-5.toml @@ -1,5 +1,4 @@ -# SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-15) -# Retail = official Anthropic price; upstream pricing: https://platform.claude.com/docs/en/about-claude/pricing +# Price (USD/MTok) = official Anthropic price; source: https://platform.claude.com/docs/en/about-claude/pricing # Served via SahabatMobile's OpenAI-compatible API over Anthropic direct. schema = 2 base_model = "anthropic/claude-sonnet-5-5" diff --git a/providers/sahabatmobile/models/mimo-v2.5.toml b/providers/sahabatmobile/models/mimo-v2.5.toml index e892c6930a..14c2ef3568 100644 --- a/providers/sahabatmobile/models/mimo-v2.5.toml +++ b/providers/sahabatmobile/models/mimo-v2.5.toml @@ -1,5 +1,4 @@ -# SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/admin/pricing (accessed 2026-11-16) -# Retail = official Xiaomi price; the V2.5 series is priced the same as V2.6: https://mimo.mi.com/static/docs/news/latest/v2-6.md +# Price (USD/MTok) = official Xiaomi price; the V2.5 series is priced the same as V2.6: https://mimo.mi.com/static/docs/news/latest/v2-6.md # Serving: Xiaomi retired the mimo-v2.5 upstream ID on 2026-10-21 (400 "Unsupported model"), but SahabatMobile's # gateway aliases mimo-v2.5 -> mimo-v2.6-flash (ai.model_redirects in config/ai.php), so requests stay callable # and are served by mimo-v2.6-flash over MiMo Direct (own master key), billed under the called slug. diff --git a/providers/sahabatmobile/models/mimo-v2.6-flash.toml b/providers/sahabatmobile/models/mimo-v2.6-flash.toml index 678ba44901..a05fcbd4e5 100644 --- a/providers/sahabatmobile/models/mimo-v2.6-flash.toml +++ b/providers/sahabatmobile/models/mimo-v2.6-flash.toml @@ -1,7 +1,6 @@ -# SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-15) +# Price (USD/MTok) = official Xiaomi MiMo price; upstream pricing per Xiaomi MiMo API docs: +# https://mimo.mi.com/static/docs/price/pay-as-you-go.md (MiMo Direct) # Toggle: thinking.type = "enabled"|"disabled" (default enabled) -# Retail = official Xiaomi MiMo price; upstream pricing per Xiaomi MiMo API docs: -# https://platform.xiaomimimo.com (MiMo Direct) # Served via SahabatMobile's OpenAI-compatible API over MiMo Direct. schema = 2 base_model = "xiaomi/mimo-v2.6-flash" diff --git a/providers/sahabatmobile/models/mimo-v2.6-pro.toml b/providers/sahabatmobile/models/mimo-v2.6-pro.toml index 6ef4ad8426..5197dea673 100644 --- a/providers/sahabatmobile/models/mimo-v2.6-pro.toml +++ b/providers/sahabatmobile/models/mimo-v2.6-pro.toml @@ -1,7 +1,6 @@ -# SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-15) +# Price (USD/MTok) = official Xiaomi MiMo price; upstream pricing per Xiaomi MiMo API docs: +# https://mimo.mi.com/static/docs/price/pay-as-you-go.md (MiMo Direct) # Toggle: thinking.type = "enabled"|"disabled" (default enabled) -# Retail = official Xiaomi MiMo price; upstream pricing per Xiaomi MiMo API docs: -# https://platform.xiaomimimo.com (MiMo Direct) # Served via SahabatMobile's OpenAI-compatible API over MiMo Direct. schema = 2 base_model = "xiaomi/mimo-v2.6-pro" diff --git a/providers/sahabatmobile/models/qwen3.8-max.toml b/providers/sahabatmobile/models/qwen3.8-max.toml index 420ec6a8f0..f26973b722 100644 --- a/providers/sahabatmobile/models/qwen3.8-max.toml +++ b/providers/sahabatmobile/models/qwen3.8-max.toml @@ -1,4 +1,4 @@ -# SahabatMobile retail pricing (USD/MTok); source: https://www.sahabatmobile.com/dashboard/packages (accessed 2026-11-05) +# Price (USD/MTok) = official Alibaba Qwen price (qwen3.8-max, international): https://www.alibabacloud.com/help/en/model-studio/model-pricing (accessed 2026-11-16) # Toggle: enable_thinking true|false; Effort: reasoning_effort = low|medium|xhigh; Budget: thinking_budget (0..262144, reasoning tokens, not combinable with reasoning_effort) # Reasoning wire paths per upstream Qwen docs: https://docs.qwencloud.com/developer-guides/text-generation/thinking schema = 2 From 4e168051a5cb5d24388aacf71061735e3fcd1485 Mon Sep 17 00:00:00 2001 From: sahabatmobile Date: Mon, 16 Nov 2026 18:51:34 +0000 Subject: [PATCH 6/7] Repoint mimo-v2.5 base_model to the serving model xiaomi/mimo-v2.6-flash, keep slug and display name --- providers/sahabatmobile/models/mimo-v2.5.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/providers/sahabatmobile/models/mimo-v2.5.toml b/providers/sahabatmobile/models/mimo-v2.5.toml index 14c2ef3568..dfd6e2300d 100644 --- a/providers/sahabatmobile/models/mimo-v2.5.toml +++ b/providers/sahabatmobile/models/mimo-v2.5.toml @@ -5,10 +5,12 @@ # Toggle: thinking.type = "enabled"|"disabled" (default enabled) # https://platform.xiaomimimo.com/static/docs/api/chat/openai-api.md schema = 2 -base_model = "xiaomi/mimo-v2.5" +base_model = "xiaomi/mimo-v2.6-flash" +name = "MiMo V2.5" [capabilities] reasoning = { supported = true, default = { type = "toggle", value = true }, toggle = true } +top_k = false [api.chat-completions] compatibility = { reasoning_field = "reasoning_content" } From 48ded5b931c73dae3f1f188056a33516c65357aa Mon Sep 17 00:00:00 2001 From: sahabatmobile Date: Mon, 16 Nov 2026 19:03:16 +0000 Subject: [PATCH 7/7] Match mimo-v2.5 capability deltas to its serving sibling mimo-v2.6-flash --- providers/sahabatmobile/models/mimo-v2.5.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/providers/sahabatmobile/models/mimo-v2.5.toml b/providers/sahabatmobile/models/mimo-v2.5.toml index dfd6e2300d..4a2fafb3d7 100644 --- a/providers/sahabatmobile/models/mimo-v2.5.toml +++ b/providers/sahabatmobile/models/mimo-v2.5.toml @@ -9,7 +9,9 @@ base_model = "xiaomi/mimo-v2.6-flash" name = "MiMo V2.5" [capabilities] +tools = { supported = true, strict = true, choice = ["auto"] } reasoning = { supported = true, default = { type = "toggle", value = true }, toggle = true } +structured_output = true top_k = false [api.chat-completions]