The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
add grok 4.6 (#84661)
rob-maron3e09adb109dc
diff --git a/agent/model_metadata.py b/agent/model_metadata.pyindex 45baf18f3c3..3792661cdbe 100644--- a/agent/model_metadata.py+++ b/agent/model_metadata.py@@ -506,6 +506,7 @@ DEFAULT_CONTEXT_LENGTHS = {"grok-2-vision": 8192, # grok-2-vision, -1212, -latest"grok-4-fast": 2000000, # grok-4-fast-(non-)reasoning, also matches -reasoning"grok-4.20": 2000000, # grok-4.20-0309-(non-)reasoning, -multi-agent-0309+ "grok-4.6": 500000, # grok-4.6 — 500K context (OpenRouter / docs.x.ai)"grok-4.5": 500000, # grok-4.5, grok-4.5-latest — 500K context per docs.x.ai"grok-4.3": 1000000, # grok-4.3, grok-4.3-latest — 1M context per docs.x.ai"grok-4": 256000, # grok-4, grok-4-0709@@ -580,6 +581,8 @@ _GROK_EFFORT_CAPABLE_PREFIXES = (# "none" ("This model does not support `reasoning_effort` value `none`"),# unlike grok-4.3. models.dev agrees: effort values [low, medium, high]."grok-4.5",+ # grok-4.6: drop-in successor of grok-4.5 (same effort dial).+ "grok-4.6",)diff --git a/agent/reasoning_timeouts.py b/agent/reasoning_timeouts.pyindex a0b32e925ac..486acad1939 100644--- a/agent/reasoning_timeouts.py+++ b/agent/reasoning_timeouts.py@@ -123,6 +123,7 @@ _REASONING_STALE_TIMEOUT_FLOORS: tuple[tuple[str, int], ...] = (("grok-4-fast-reasoning", 300),("grok-4.20-reasoning", 300),("grok-4.5", 300),+ ("grok-4.6", 300),("grok-4-fast-non-reasoning", 180),)diff --git a/hermes_cli/models.py b/hermes_cli/models.pyindex 3a809c5f1a6..cc44fc44a3b 100644--- a/hermes_cli/models.py+++ b/hermes_cli/models.py@@ -69,7 +69,7 @@ OPENROUTER_MODELS: list[tuple[str, str]] = [("google/gemini-3.1-pro-preview", ""),("google/gemini-3.6-flash", ""),# xAI- ("x-ai/grok-4.5", ""),+ ("x-ai/grok-4.6", ""),# DeepSeek("deepseek/deepseek-v4-pro", ""),("deepseek/deepseek-v4-flash", ""),@@ -241,7 +241,7 @@ _PROVIDER_MODELS: dict[str, list[str]] = {"google/gemini-3.1-pro-preview","google/gemini-3.6-flash",# xAI- "x-ai/grok-4.5",+ "x-ai/grok-4.6",# DeepSeek"deepseek/deepseek-v4-pro","deepseek/deepseek-v4-flash",diff --git a/tests/agent/test_reasoning_stale_timeout_floor.py b/tests/agent/test_reasoning_stale_timeout_floor.pyindex 2f1372ded41..716c614dbe8 100644--- a/tests/agent/test_reasoning_stale_timeout_floor.py+++ b/tests/agent/test_reasoning_stale_timeout_floor.py@@ -83,6 +83,7 @@ import pytest("x-ai/grok-4-fast-reasoning", 300.0),("x-ai/grok-4.20-reasoning", 300.0),("x-ai/grok-4.5", 300.0),+ ("x-ai/grok-4.6", 300.0),("x-ai/grok-4-fast-non-reasoning", 180.0),])def test_reasoning_stale_timeout_floor_positive_cases(model, expected):diff --git a/website/static/api/model-catalog.json b/website/static/api/model-catalog.jsonindex 946ea073cbe..aa012e18a96 100644--- a/website/static/api/model-catalog.json+++ b/website/static/api/model-catalog.json@@ -1,6 +1,6 @@{"version": 1,- "updated_at": "2026-08-03T22:03:15Z",+ "updated_at": "2026-08-12T17:23:25Z","metadata": {"source": "hermes-agent repo","docs": "https://hermes-agent.nousresearch.com/docs/reference/model-catalog"@@ -85,7 +85,7 @@"description": ""},{- "id": "x-ai/grok-4.5",+ "id": "x-ai/grok-4.6","description": ""},{@@ -226,7 +226,7 @@"id": "google/gemini-3.6-flash"},{- "id": "x-ai/grok-4.5"+ "id": "x-ai/grok-4.6"},{"id": "deepseek/deepseek-v4-pro"