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..476d8872b3 --- /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 = "adaptive"|"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..aae1705672 --- /dev/null +++ b/providers/sahabatmobile/models/mimo-v2.5.toml @@ -0,0 +1,18 @@ +# 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" + +[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..75d3e219d5 --- /dev/null +++ b/providers/sahabatmobile/provider.toml @@ -0,0 +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"