Skip to content
Python

SambaNova: three served rows, key link, brand mark, tail of the gallery

Rohit C Prasade81daae2bee9
diff --git a/coworker/providers/matrix.py b/coworker/providers/matrix.py
index 244b6301..973bf382 100644
--- a/coworker/providers/matrix.py
+++ b/coworker/providers/matrix.py
@@ -217,24 +217,18 @@ MATRIX: dict[str, ModelEntry] = {
"Mistral Large · Mistral", _AGENTIC, 128_000
),
# -- SambaNova ---------------------------------------------------------------
- # OpenAI-compatible API (verified against api.sambanova.ai/v1/models 2026-07-30).
+ # SambaCloud's OpenAI-compatible API; ids and windows are the `context_length` values
+ # api.sambanova.ai/v1/models reports (keyless, read 2026-10-25). The two 128k rows are
+ # the production tier on docs.sambanova.ai/docs/en/models/sambacloud-models; MiniMax
+ # M3.1 Flash is what the catalogue serves today in place of the M2.7/M3 previews.
"sambanova:Meta-Llama-3.3-70B-Instruct": ModelEntry(
"Llama 3.3 70B · SambaNova", _AGENTIC, 131_072
),
"sambanova:DeepSeek-V3.1": ModelEntry(
"DeepSeek V3.1 · SambaNova", _AGENTIC, 131_072
),
- "sambanova:DeepSeek-V3.2": ModelEntry(
- "DeepSeek V3.2 · SambaNova", _AGENTIC, 32_768
- ),
- "sambanova:MiniMax-M2.7": ModelEntry(
- "MiniMax M2.7 · SambaNova", _AGENTIC, 196_608
- ),
- "sambanova:gemma-4-31B-it": ModelEntry(
- "Gemma 4 31B · SambaNova", _AGENTIC, 131_072
- ),
- "sambanova:gpt-oss-120b": ModelEntry(
- "GPT-OSS 120B · SambaNova", _AGENTIC, 131_072
+ "sambanova:MiniMax-M3.1-Flash": ModelEntry(
+ "MiniMax M3.1 Flash · SambaNova", _AGENTIC, 1_048_576
),
# -- resellers (their model namespaces, verbatim) -----------------------------
"together:thinkingmachines/Inkling": ModelEntry("Inkling · via Together"),
diff --git a/surfaces/gui/src/providers/ProviderSetup.tsx b/surfaces/gui/src/providers/ProviderSetup.tsx
index 9920366b..8a2572d8 100644
--- a/surfaces/gui/src/providers/ProviderSetup.tsx
+++ b/surfaces/gui/src/providers/ProviderSetup.tsx
@@ -50,6 +50,7 @@ export const KEY_HELP: Record<string, { url: string; label: string; labelKey?: s
qwen: { url: "https://modelstudio.console.alibabacloud.com", label: "alibabacloud.com" },
minimax: { url: "https://platform.minimax.io", label: "platform.minimax.io" },
xai: { url: "https://console.x.ai", label: "console.x.ai" },
+ sambanova: { url: "https://cloud.sambanova.ai/apis", label: "cloud.sambanova.ai" },
};
export type Verify = { state: "idle" | "testing" | "ok" | "error"; msg?: string };
diff --git a/surfaces/gui/src/providers/logos.ts b/surfaces/gui/src/providers/logos.ts
index 972020a3..83d20170 100644
--- a/surfaces/gui/src/providers/logos.ts
+++ b/surfaces/gui/src/providers/logos.ts
@@ -21,6 +21,7 @@ import orcarouter from "./logos/orcarouter.svg";
import fireworks from "./logos/fireworks.svg";
import together from "./logos/together.svg";
import nvidia from "./logos/nvidia.svg";
+import sambanova from "./logos/sambanova.svg";
import zai from "./logos/zai.svg";
import kimi from "./logos/kimi.svg";
import deepseek from "./logos/deepseek.svg";
@@ -54,6 +55,7 @@ export const PROVIDER_LOGOS: Record<string, string> = {
together,
nebius,
nvidia,
+ sambanova,
zai,
kimi,
deepseek,
@@ -89,6 +91,7 @@ export const PROVIDER_ORDER = [
"nebius",
"orcarouter",
"nvidia",
+ "sambanova",
];
export function providerRank(name: string): number {
diff --git a/surfaces/gui/src/providers/logos/sambanova.svg b/surfaces/gui/src/providers/logos/sambanova.svg
new file mode 100644
index 00000000..fba90665
--- /dev/null
+++ b/surfaces/gui/src/providers/logos/sambanova.svg
@@ -0,0 +1 @@
+<svg height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>SambaNova</title><path d="M23 23h-1.223V8.028c0-3.118-2.568-5.806-5.744-5.806H8.027c-3.176 0-5.744 2.565-5.744 5.686 0 3.119 2.568 5.684 5.744 5.684h.794c1.346 0 2.445 1.1 2.445 2.444 0 1.346-1.1 2.446-2.445 2.446H1v-1.223h7.761c.671 0 1.223-.551 1.223-1.16 0-.67-.552-1.16-1.223-1.16h-.794C4.177 14.872 1 11.756 1 7.909 1 4.058 4.176 1 8.027 1h8.066C19.88 1 23 4.239 23 8.028V23z" fill="#EE7624"></path><path d="M8.884 12.672c1.71.06 3.361 1.588 3.361 3.422 0 1.833-1.528 3.421-3.421 3.421H1v1.223h7.761c2.568 0 4.705-2.077 4.705-4.644 0-.672-.123-1.283-.43-1.894-.245-.551-.67-1.1-1.099-1.528-.489-.429-1.039-.734-1.65-.977-.525-.175-1.048-.193-1.594-.212-.218-.008-.441-.016-.669-.034-.428 0-1.406-.245-1.956-.61a3.369 3.369 0 01-1.223-1.406c-.183-.489-.305-.977-.305-1.528A3.417 3.417 0 017.96 4.482h8.066c1.895 0 3.422 1.65 3.422 3.483v15.032h1.223V8.027c0-2.568-2.077-4.768-4.645-4.768h-8c-2.568 0-4.705 2.077-4.705 4.646 0 .67.123 1.282.43 1.894a4.45 4.45 0 001.099 1.528c.429.428 1.039.734 1.588.976.306.123.611.183.976.246.857.06 1.406.123 1.466.123h.003z" fill="#EE7624"></path><path d="M1 23h7.761v-.003c3.85 0 7.03-3.116 7.09-7.026 0-3.79-3.117-6.906-6.967-6.906H8.09c-.672 0-1.222-.552-1.222-1.16 0-.608.487-1.16 1.159-1.16h8.069c.608 0 1.159.611 1.159 1.283v14.97h1.223V8.024c0-1.345-1.1-2.505-2.445-2.505H7.967a2.451 2.451 0 00-2.445 2.445 2.45 2.45 0 002.445 2.445h.794c3.176 0 5.744 2.568 5.744 5.684s-2.568 5.684-5.744 5.684H1V23z" fill="#EE7624"></path></svg>
\ No newline at end of file
diff --git a/tests/test_providers.py b/tests/test_providers.py
index ea0e732d..344eeb78 100644
--- a/tests/test_providers.py
+++ b/tests/test_providers.py
@@ -572,7 +572,9 @@ def test_reseller_descriptors_and_matrix_stay_in_lockstep():
from coworker.providers.matrix import models_for_provider
from coworker.providers.registry import get_descriptor
- for name in ("together", "fireworks", "openrouter", "nebius", "orcarouter"):
+ for name in (
+ "together", "fireworks", "openrouter", "nebius", "orcarouter", "sambanova"
+ ):
d = get_descriptor(name)
assert d is not None and d.needs_key
curated = models_for_provider(name)