Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions providers/sahabatmobile/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions providers/sahabatmobile/models/MiniMax-M3.toml
Original file line number Diff line number Diff line change
@@ -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
18 changes: 18 additions & 0 deletions providers/sahabatmobile/models/mimo-v2.5.toml
Original file line number Diff line number Diff line change
@@ -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
17 changes: 17 additions & 0 deletions providers/sahabatmobile/models/qwen3.8-max.toml
Original file line number Diff line number Diff line change
@@ -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
6 changes: 6 additions & 0 deletions providers/sahabatmobile/provider.toml
Original file line number Diff line number Diff line change
@@ -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"
Loading