Python
Add NVIDIA Nemotron 3 Ultra and 3.5 Lightning via OpenRouter to the model matrix (OPE-215)
Devika Verma2515b0b7416b
diff --git a/coworker/providers/matrix.py b/coworker/providers/matrix.pyindex aaee241c..de2e1086 100644--- a/coworker/providers/matrix.py+++ b/coworker/providers/matrix.py@@ -266,6 +266,18 @@ MATRIX: dict[str, ModelEntry] = {"openrouter:meta-llama/llama-4-maverick": ModelEntry("Llama 4 Maverick · via OpenRouter", _AGENTIC, 1_000_000),+ # NVIDIA Nemotron via OpenRouter (openrouter.ai/api/v1/models/<id>/endpoints, read+ # 2026-10-01). Paid endpoints only; the `:free` variants are left out on purpose (they+ # log and may train on inputs, and are capped at 1,000 requests/day). Text-only.+ # Ultra is sized for BaseTen, the host a pinned run uses (202,800); DeepInfra lists+ # 262,144 and Venice 256,000, but the matrix holds the pinned host's window so+ # compaction triggers inside the real one (OPE-215).+ "openrouter:nvidia/nemotron-3-ultra-550b-a55b": ModelEntry(+ "Nemotron 3 Ultra · via OpenRouter", _AGENTIC, 202_800+ ),+ "openrouter:nvidia/nemotron-3.5-lightning": ModelEntry(+ "Nemotron 3.5 Lightning · via OpenRouter", _AGENTIC, 262_144+ ),# Stealth/cloaked alpha (catalog-checked 2026-08-24: 1,048,576 ctx, tool calling).# These are temporary lab previews — expect the slug to vanish when the lab ships# the real model; keep it until OpenRouter retires it.diff --git a/tests/test_matrix_current_models.py b/tests/test_matrix_current_models.pyindex 930aada4..30f7c375 100644--- a/tests/test_matrix_current_models.py+++ b/tests/test_matrix_current_models.py@@ -50,6 +50,10 @@ REPO = Path(__file__).resolve().parents[1]("zai:glm-5.2", 1_000_000),("openrouter:z-ai/glm-5.2", 1_048_576),("fireworks:accounts/fireworks/models/glm-5p2", 1_040_000),+ # openrouter.ai models API, read 2026-10-01 (OPE-215). Ultra: the endpoint's own+ # context_length (202,800), not the model-level 262,144 the catalog shows.+ ("openrouter:nvidia/nemotron-3-ultra-550b-a55b", 202_800),+ ("openrouter:nvidia/nemotron-3.5-lightning", 262_144),],)def test_current_models_have_verified_windows(model, window):