From 0ee98eda521cd6f0f0d9bd7420cb66a998b15a8a Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Wed, 2 Sep 2026 09:32:34 -0700 Subject: [PATCH] feat(models): add google/gemini-3.8-flash to nous + openrouter catalogs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Slots above gemini-3.7-flash (kept) in OPENROUTER_MODELS and _PROVIDER_MODELS["nous"]; openrouter plugin fallback_models bumped 3.7 -> 3.8; model-catalog.json regenerated. Verified live with test completions on both Nous Portal and OpenRouter (model echo + billed). Same 1,048,576 window / 65,536 output / pricing as 3.7-flash, so provider-agnostic metadata resolves via the existing gemini entries and both routes bill live (official_models_api) — no pricing snapshot needed. Scoped to the two named providers: vertex/gemini/kilocode/gmi curated lists, setup.py samples, and aux defaults untouched. --- hermes_cli/models.py | 2 ++ plugins/model-providers/openrouter/__init__.py | 2 +- website/static/api/model-catalog.json | 9 ++++++++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/hermes_cli/models.py b/hermes_cli/models.py index 020e81c5c6..fb8371983c 100644 --- a/hermes_cli/models.py +++ b/hermes_cli/models.py @@ -102,6 +102,7 @@ OPENROUTER_MODELS: list[tuple[str, str]] = [ ("openai/gpt-5.4-mini", ""), # Google ("google/gemini-3.1-pro-preview", ""), + ("google/gemini-3.8-flash", ""), ("google/gemini-3.7-flash", ""), # xAI ("x-ai/grok-4.6", ""), @@ -285,6 +286,7 @@ _PROVIDER_MODELS: dict[str, list[str]] = { "openai/gpt-5.4-mini", # Google "google/gemini-3.1-pro-preview", + "google/gemini-3.8-flash", "google/gemini-3.7-flash", # xAI "x-ai/grok-4.6", diff --git a/plugins/model-providers/openrouter/__init__.py b/plugins/model-providers/openrouter/__init__.py index 6a91d5258c..b5e6b60997 100644 --- a/plugins/model-providers/openrouter/__init__.py +++ b/plugins/model-providers/openrouter/__init__.py @@ -249,7 +249,7 @@ openrouter = OpenRouterProfile( "anthropic/claude-sonnet-4.6", "openai/gpt-5.4", "deepseek/deepseek-chat", - "google/gemini-3.7-flash", + "google/gemini-3.8-flash", "qwen/qwen3-plus", ), ) diff --git a/website/static/api/model-catalog.json b/website/static/api/model-catalog.json index df049f7a88..d131d55fbd 100644 --- a/website/static/api/model-catalog.json +++ b/website/static/api/model-catalog.json @@ -1,6 +1,6 @@ { "version": 1, - "updated_at": "2026-09-01T18:20:04Z", + "updated_at": "2026-09-02T16:31:43Z", "metadata": { "source": "hermes-agent repo", "docs": "https://hermes-agent.nousresearch.com/docs/reference/model-catalog" @@ -84,6 +84,10 @@ "id": "google/gemini-3.1-pro-preview", "description": "" }, + { + "id": "google/gemini-3.8-flash", + "description": "" + }, { "id": "google/gemini-3.7-flash", "description": "" @@ -261,6 +265,9 @@ { "id": "google/gemini-3.1-pro-preview" }, + { + "id": "google/gemini-3.8-flash" + }, { "id": "google/gemini-3.7-flash" },