Skip to content
Python

Novita: recommended GLM-5.2 row, key page link, brand mark

Rohit C Prasad5c3f4d71bf95
diff --git a/coworker/providers/matrix.py b/coworker/providers/matrix.py
index 9ee9b3b0..961cb860 100644
--- a/coworker/providers/matrix.py
+++ b/coworker/providers/matrix.py
@@ -237,6 +237,10 @@ MATRIX: dict[str, ModelEntry] = {
"atlascloud:zai-org/glm-5.2": ModelEntry(
"GLM-5.2 · via Atlas Cloud", _AGENTIC, 1_048_576
),
+ # Novita fronts open-weight models under each lab's namespace. Id and window from
+ # api.novita.ai/openai/v1/models (keyless, read 2026-10-25: `context_size` 1,048,576,
+ # `features` lists function-calling).
+ "novita:zai-org/glm-5.2": ModelEntry("GLM-5.2 · via Novita", _AGENTIC, 1_048_576),
# -- resellers (their model namespaces, verbatim) -----------------------------
"together:thinkingmachines/Inkling": ModelEntry("Inkling · via Together"),
# Together windows below are the `context_length` values its /v1/models catalog
diff --git a/coworker/providers/registry.py b/coworker/providers/registry.py
index 92363699..42800e5e 100644
--- a/coworker/providers/registry.py
+++ b/coworker/providers/registry.py
@@ -304,7 +304,7 @@ def _compat(
title: str,
*,
base_url: str,
- recommended_model: Optional[str] = None,
+ recommended_model: str,
env_key: str,
endpoint_help: str = "",
) -> ProviderDescriptor:
@@ -713,6 +713,7 @@ DESCRIPTORS: list[ProviderDescriptor] = [
"novita",
"Novita AI",
base_url="https://api.novita.ai/openai/v1",
+ recommended_model="zai-org/glm-5.2",
env_key="NOVITA_API_KEY",
endpoint_help="Prefilled with Novita's OpenAI-compatible endpoint; keep it unless you use a regional or proxy variant.",
),
diff --git a/surfaces/gui/src/providers/ProviderSetup.tsx b/surfaces/gui/src/providers/ProviderSetup.tsx
index 43f8cebf..1252b9da 100644
--- a/surfaces/gui/src/providers/ProviderSetup.tsx
+++ b/surfaces/gui/src/providers/ProviderSetup.tsx
@@ -47,7 +47,7 @@ export const KEY_HELP: Record<string, { url: string; label: string; labelKey?: s
kimi: { url: "https://platform.moonshot.ai/console/api-keys", label: "platform.moonshot.ai" },
deepseek: { url: "https://platform.deepseek.com/api_keys", label: "platform.deepseek.com" },
mistral: { url: "https://console.mistral.ai/api-keys", label: "console.mistral.ai" },
- novita: { url: "https://novita.ai/", label: "novita.ai" },
+ novita: { url: "https://novita.ai/settings/key-management", label: "novita.ai" },
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" },
diff --git a/surfaces/gui/src/providers/logos.ts b/surfaces/gui/src/providers/logos.ts
index 20c33fd0..db653cd3 100644
--- a/surfaces/gui/src/providers/logos.ts
+++ b/surfaces/gui/src/providers/logos.ts
@@ -23,6 +23,7 @@ import together from "./logos/together.svg";
import nvidia from "./logos/nvidia.svg";
import sambanova from "./logos/sambanova.svg";
import atlascloud from "./logos/atlascloud.svg";
+import novita from "./logos/novita.svg";
import zai from "./logos/zai.svg";
import kimi from "./logos/kimi.svg";
import deepseek from "./logos/deepseek.svg";
@@ -58,6 +59,7 @@ export const PROVIDER_LOGOS: Record<string, string> = {
nvidia,
sambanova,
atlascloud,
+ novita,
zai,
kimi,
deepseek,
@@ -74,7 +76,6 @@ export const PROVIDER_ORDER = [
"ark",
"ark-agent-plan-cn",
"meta",
- "novita",
"ollama",
"llamacpp",
"vllm",
@@ -96,6 +97,7 @@ export const PROVIDER_ORDER = [
"nvidia",
"sambanova",
"atlascloud",
+ "novita",
];
export function providerRank(name: string): number {
diff --git a/surfaces/gui/src/providers/logos/novita.svg b/surfaces/gui/src/providers/logos/novita.svg
new file mode 100644
index 00000000..0658ce0f
--- /dev/null
+++ b/surfaces/gui/src/providers/logos/novita.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>Novita AI</title><path clip-rule="evenodd" d="M9.167 4.17v5.665L0 19.003h9.167v-5.666l5.666 5.666H24L9.167 4.17z" fill="#23D57C" fill-rule="evenodd"></path></svg>
\ No newline at end of file
diff --git a/tests/test_providers.py b/tests/test_providers.py
index 1f5f597a..8459bd35 100644
--- a/tests/test_providers.py
+++ b/tests/test_providers.py
@@ -575,7 +575,8 @@ def test_reseller_descriptors_and_matrix_stay_in_lockstep():
from coworker.providers.registry import get_descriptor
for name in (
- "together", "fireworks", "openrouter", "nebius", "orcarouter", "sambanova"
+ "together", "fireworks", "openrouter", "nebius", "orcarouter", "sambanova",
+ "novita",
):
d = get_descriptor(name)
assert d is not None and d.needs_key